public static enum Questionnaire.QuestionnaireItemType extends Enum<Questionnaire.QuestionnaireItemType>
| Enum Constant and Description |
|---|
ATTACHMENT
Question with binary content such as a image, PDF, etc.
|
BOOLEAN
Question with a yes/no answer
|
CHOICE
Question with a Coding drawn from a list of options as an answer
|
DATE
Question with adate answer
|
DATETIME
Question with a date and time answer
|
DECIMAL
Question with is a real number answer
|
DISPLAY
Text for display that will not capture an answer or have descendants
|
GROUP
An item with no direct answer but which has descendant items that are questions
|
INSTANT
Question with a system timestamp answer
|
INTEGER
Question with an integer answer
|
NULL
added to help the parsers
|
OPENCHOICE
Answer is a Coding drawn from a list of options or a free-text entry captured as Coding.display
|
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 may have descendant items)
|
REFERENCE
Question with a reference to another resource (practitioner, organization, etc.) as an answer
|
STRING
Question with a short (few words to short sentence) free-text entry answer
|
TEXT
Question with a long (potentially multi-paragraph) free-text entry (still captured as a string) answer
|
TIME
Question with a time (hour/minute/second) answer independent of date.
|
URL
Question with a url (website, FTP site, etc.) answer
|
| 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 INSTANT
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–2018 University Health Network. All rights reserved.