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