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