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