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