public static class Enumerations.AdministrativeGenderEnumFactory extends Object implements EnumFactory<Enumerations.AdministrativeGender>
| Constructor and Description |
|---|
AdministrativeGenderEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
Enumerations.AdministrativeGender |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<Enumerations.AdministrativeGender> |
fromType(Base code) |
String |
toCode(Enumerations.AdministrativeGender code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(Enumerations.AdministrativeGender code)
Get the XML/JSON representation for an enumerated value
|
public AdministrativeGenderEnumFactory()
public Enumerations.AdministrativeGender fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<Enumerations.AdministrativeGender>fromCode in interface IBaseEnumFactory<Enumerations.AdministrativeGender>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<Enumerations.AdministrativeGender> fromType(Base code) throws FHIRException
FHIRExceptionpublic String toCode(Enumerations.AdministrativeGender code)
EnumFactorytoCode in interface EnumFactory<Enumerations.AdministrativeGender>toCode in interface IBaseEnumFactory<Enumerations.AdministrativeGender>code - - the enumeration valuepublic String toSystem(Enumerations.AdministrativeGender code)
EnumFactorytoSystem in interface EnumFactory<Enumerations.AdministrativeGender>code - - the enumeration valueCopyright © 2014–2017 University Health Network. All rights reserved.