public static class AllergyIntolerance.AllergyIntoleranceCategoryEnumFactory extends Object implements EnumFactory<AllergyIntolerance.AllergyIntoleranceCategory>
| Constructor and Description |
|---|
AllergyIntoleranceCategoryEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
AllergyIntolerance.AllergyIntoleranceCategory |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<AllergyIntolerance.AllergyIntoleranceCategory> |
fromType(Base code) |
String |
toCode(AllergyIntolerance.AllergyIntoleranceCategory code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(AllergyIntolerance.AllergyIntoleranceCategory code)
Get the XML/JSON representation for an enumerated value
|
public AllergyIntoleranceCategoryEnumFactory()
public AllergyIntolerance.AllergyIntoleranceCategory fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<AllergyIntolerance.AllergyIntoleranceCategory>fromCode in interface IBaseEnumFactory<AllergyIntolerance.AllergyIntoleranceCategory>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<AllergyIntolerance.AllergyIntoleranceCategory> fromType(Base code) throws FHIRException
FHIRExceptionpublic String toCode(AllergyIntolerance.AllergyIntoleranceCategory code)
EnumFactorytoCode in interface EnumFactory<AllergyIntolerance.AllergyIntoleranceCategory>toCode in interface IBaseEnumFactory<AllergyIntolerance.AllergyIntoleranceCategory>code - - the enumeration valuepublic String toSystem(AllergyIntolerance.AllergyIntoleranceCategory code)
EnumFactorytoSystem in interface EnumFactory<AllergyIntolerance.AllergyIntoleranceCategory>code - - the enumeration valueCopyright © 2014–2017 University Health Network. All rights reserved.