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