public static class ReferralRequest.ReferralCategoryEnumFactory extends Object implements EnumFactory<ReferralRequest.ReferralCategory>
| Constructor and Description |
|---|
ReferralCategoryEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
ReferralRequest.ReferralCategory |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<ReferralRequest.ReferralCategory> |
fromType(Base code) |
String |
toCode(ReferralRequest.ReferralCategory code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(ReferralRequest.ReferralCategory code)
Get the XML/JSON representation for an enumerated value
|
public ReferralCategoryEnumFactory()
public ReferralRequest.ReferralCategory fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<ReferralRequest.ReferralCategory>fromCode in interface IBaseEnumFactory<ReferralRequest.ReferralCategory>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<ReferralRequest.ReferralCategory> fromType(Base code) throws FHIRException
FHIRExceptionpublic String toCode(ReferralRequest.ReferralCategory code)
EnumFactorytoCode in interface EnumFactory<ReferralRequest.ReferralCategory>toCode in interface IBaseEnumFactory<ReferralRequest.ReferralCategory>code - - the enumeration valuepublic String toSystem(ReferralRequest.ReferralCategory code)
EnumFactorytoSystem in interface EnumFactory<ReferralRequest.ReferralCategory>code - - the enumeration valueCopyright © 2014–2017 University Health Network. All rights reserved.