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