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