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