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