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