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