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