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