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