Class TQuestionnaireItem

Unit

Declaration

type TQuestionnaireItem = class(TBackboneElement)

Description

A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.

Hierarchy

Overview

Methods

Public constructor Create; override;

Properties

Public property linkId : string read GetlinkId write SetlinkId;
Public property linkIdElement : Tstring read GetlinkIdElement write SetlinkIdElement;
Public property definition : string read Getdefinition write Setdefinition;
Public property definitionElement : Turi read GetdefinitionElement write SetdefinitionElement;
Public property code : TCodingArray read GetcodeArray;
Public property prefix : string read Getprefix write Setprefix;
Public property prefixElement : Tstring read GetprefixElement write SetprefixElement;
Public property text : string read Gettext write Settext;
Public property textElement : Tstring read GettextElement write SettextElement;
Public property type_ : string read Gettype_ write Settype_;
Public property type_Element : TQuestionnaireItemType read Gettype_Element write Settype_Element;
Public property enableWhen : TQuestionnaireEnableWhenArray read GetenableWhenArray;
Public property required : boolean read Getrequired write Setrequired;
Public property requiredElement : Tboolean read GetrequiredElement write SetrequiredElement;
Public property repeats : boolean read Getrepeats write Setrepeats;
Public property repeatsElement : Tboolean read GetrepeatsElement write SetrepeatsElement;
Public property readOnly : boolean read GetreadOnly write SetreadOnly;
Public property readOnlyElement : Tboolean read GetreadOnlyElement write SetreadOnlyElement;
Public property maxLength : integer read GetmaxLength write SetmaxLength;
Public property maxLengthElement : Tinteger read GetmaxLengthElement write SetmaxLengthElement;
Public property options : TReference read Getoptions write Setoptions;
Public property option : TQuestionnaireOptionArray read GetoptionArray;
Public property initial : TElement read Getinitial write Setinitial;
Public property item : TQuestionnaireItemArray read GetitemArray;

Description

Methods

Public constructor Create; override;
 

Properties

Public property linkId : string read GetlinkId write SetlinkId;

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Public property linkIdElement : Tstring read GetlinkIdElement write SetlinkIdElement;
 
Public property definition : string read Getdefinition write Setdefinition;

A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition:

* code (ElementDefinition.code) * type (ElementDefinition.type) * required (ElementDefinition.min) * repeats (ElementDefinition.max) * maxLength (ElementDefinition.maxLength) * options (ElementDefinition.binding)

Any information provided in these elements on a Questionnaire Item overrides the information from the definition.

Public property definitionElement : Turi read GetdefinitionElement write SetdefinitionElement;
 
Public property code : TCodingArray read GetcodeArray;

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Public property prefix : string read Getprefix write Setprefix;

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Public property prefixElement : Tstring read GetprefixElement write SetprefixElement;
 
Public property text : string read Gettext write Settext;

The name of a section, the text of a question or text content for a display item.

Public property textElement : Tstring read GettextElement write SettextElement;
 
Public property type_ : string read Gettype_ write Settype_;

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Public property type_Element : TQuestionnaireItemType read Gettype_Element write Settype_Element;
 
Public property enableWhen : TQuestionnaireEnableWhenArray read GetenableWhenArray;

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Public property required : boolean read Getrequired write Setrequired;

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Public property requiredElement : Tboolean read GetrequiredElement write SetrequiredElement;
 
Public property repeats : boolean read Getrepeats write Setrepeats;

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.

Public property repeatsElement : Tboolean read GetrepeatsElement write SetrepeatsElement;
 
Public property readOnly : boolean read GetreadOnly write SetreadOnly;

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Public property readOnlyElement : Tboolean read GetreadOnlyElement write SetreadOnlyElement;
 
Public property maxLength : integer read GetmaxLength write SetmaxLength;

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Public property maxLengthElement : Tinteger read GetmaxLengthElement write SetmaxLengthElement;
 
Public property options : TReference read Getoptions write Setoptions;

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Public property option : TQuestionnaireOptionArray read GetoptionArray;

One of the permitted answers for a "choice" or "open-choice" question.

Public property initial : TElement read Getinitial write Setinitial;

The value that should be defaulted when initially rendering the questionnaire for user input.

Public property item : TQuestionnaireItemArray read GetitemArray;

Text, questions and other groups to be nested beneath a question or group.


Generated by PasDoc 0.15.0.