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