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