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