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