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