public static class Specimen.SpecimenStatusEnumFactory extends Object implements EnumFactory<Specimen.SpecimenStatus>
| Constructor and Description |
|---|
SpecimenStatusEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
Specimen.SpecimenStatus |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<Specimen.SpecimenStatus> |
fromType(Base code) |
String |
toCode(Specimen.SpecimenStatus code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(Specimen.SpecimenStatus code)
Get the system URI for an enumerated value
|
public SpecimenStatusEnumFactory()
public Specimen.SpecimenStatus fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Specimen.SpecimenStatus>fromCode in interface EnumFactory<Specimen.SpecimenStatus>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<Specimen.SpecimenStatus> fromType(Base code) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String toCode(Specimen.SpecimenStatus code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Specimen.SpecimenStatus>toCode in interface EnumFactory<Specimen.SpecimenStatus>code - - the enumeration valuepublic String toSystem(Specimen.SpecimenStatus code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Specimen.SpecimenStatus>toSystem in interface EnumFactory<Specimen.SpecimenStatus>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.