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