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