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