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