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