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