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