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