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