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