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