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 system URI for an enumerated value
|
public ConsentStateEnumFactory()
public Consent.ConsentState fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Consent.ConsentState>fromCode in interface EnumFactory<Consent.ConsentState>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<Consent.ConsentState> fromType(Base code) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String toCode(Consent.ConsentState code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Consent.ConsentState>toCode in interface EnumFactory<Consent.ConsentState>code - - the enumeration valuepublic String toSystem(Consent.ConsentState code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Consent.ConsentState>toSystem in interface EnumFactory<Consent.ConsentState>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.