public static enum Questionnaire.QuestionnaireItemType extends Enum<Questionnaire.QuestionnaireItemType>
| Enum Constant and Description |
|---|
ATTACHMENT
Question with binary content such as an image, PDF, etc.
|
BOOLEAN
Question with a yes/no answer (valueBoolean).
|
CHOICE
Question with a Coding drawn from a list of possible answers (specified in either the answerOption property, or via the valueset referenced in the answerValueSet property) as an answer (valueCoding).
|
DATE
Question with a date answer (valueDate).
|
DATETIME
Question with a date and time answer (valueDateTime).
|
DECIMAL
Question with is a real number answer (valueDecimal).
|
DISPLAY
Text for display that will not capture an answer or have child items.
|
GROUP
An item with no direct answer but should have at least one child item.
|
INTEGER
Question with an integer answer (valueInteger).
|
NULL
added to help the parsers with the generic types
|
OPENCHOICE
Answer is a Coding drawn from a list of possible answers (as with the choice type) or a free-text entry in a string (valueCoding or valueString).
|
QUANTITY
Question with a combination of a numeric value and unit, potentially with a comparator (<, >, etc.) as an answer.
|
QUESTION
An item that defines a specific answer to be captured, and which may have child items.
|
REFERENCE
Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference).
|
STRING
Question with a short (few words to short sentence) free-text entry answer (valueString).
|
TEXT
Question with a long (potentially multi-paragraph) free-text entry answer (valueString).
|
TIME
Question with a time (hour:minute:second) answer independent of date.
|
URL
Question with a URL (website, FTP site, etc.) answer (valueUri).
|
| Modifier and Type | Method and Description |
|---|---|
static Questionnaire.QuestionnaireItemType |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static Questionnaire.QuestionnaireItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Questionnaire.QuestionnaireItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Questionnaire.QuestionnaireItemType GROUP
public static final Questionnaire.QuestionnaireItemType DISPLAY
public static final Questionnaire.QuestionnaireItemType QUESTION
public static final Questionnaire.QuestionnaireItemType BOOLEAN
public static final Questionnaire.QuestionnaireItemType DECIMAL
public static final Questionnaire.QuestionnaireItemType INTEGER
public static final Questionnaire.QuestionnaireItemType DATE
public static final Questionnaire.QuestionnaireItemType DATETIME
public static final Questionnaire.QuestionnaireItemType TIME
public static final Questionnaire.QuestionnaireItemType STRING
public static final Questionnaire.QuestionnaireItemType TEXT
public static final Questionnaire.QuestionnaireItemType URL
public static final Questionnaire.QuestionnaireItemType CHOICE
public static final Questionnaire.QuestionnaireItemType OPENCHOICE
public static final Questionnaire.QuestionnaireItemType ATTACHMENT
public static final Questionnaire.QuestionnaireItemType REFERENCE
public static final Questionnaire.QuestionnaireItemType QUANTITY
public static final Questionnaire.QuestionnaireItemType NULL
public static Questionnaire.QuestionnaireItemType[] values()
for (Questionnaire.QuestionnaireItemType c : Questionnaire.QuestionnaireItemType.values()) System.out.println(c);
public static Questionnaire.QuestionnaireItemType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Questionnaire.QuestionnaireItemType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.