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