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