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