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