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