# text.div
Properties

This code system defines the following properties for its concepts

Code | URI | Type | Description
abstract | | boolean | True if an element is considered 'abstract' - that is the code is not for use as a real concept
status | http://hl7.org/fhir/concept-properties#status | code | A property that indicates the status of the concept. One of active, experimental, deprecated, or retired.
deprecationDate | http://hl7.org/fhir/concept-properties#deprecationDate | dateTime | The date at which a concept was deprecated. Concepts that are deprecated but not inactive can still be used, but their use is discouraged.

Concepts

This code system http://hl7.org/fhir/questionnaire-item-control defines the following codes:

Lvl | Code | Display | Definition | Deprecated | abstract | Status | Deprecation Date
1 | group | | UI controls relevant to organizing groups of questions | | true | |
2 | list | List | Questions within the group should be listed sequentially | | | |
2 | table | Vertical Answer Table | Questions within the group are rows in the table with possible answers as columns. Used for 'choice' questions. The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression. In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table. | | | |
2 | htable | Horizontal Answer Table | Questions within the group are columns in the table with possible answers as rows. Used for 'choice' questions. The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression. In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table. | | | |
2 | gtable | Group Table | Questions within the group are columns in the table with each group repetition as a row. Used for single-answer questions. | | | |
2 | grid | Group Grid | Child items of type='group' within the a 'grid' group are rows, and questions beneath the 'row' groups are organized as columns in the grid. The grid might be fully populated, but could be sparse. Questions may support different data types and/or different answer choices. | | | |
2 | header | Header | The group is to be continuously visible at the top of the questionnaire | | | |
2 | footer | Footer | The group is to be continuously visible at the bottom of the questionnaire | | | |
2 | page | Page | Indicates that the content within the group should appear as a logical "page" when rendering the form, such that all enabled items within the page are displayed at once, but items in subsequent groups are not displayed until the user indicates a desire to move to the 'next' group. (Header and footer items may still be displayed.) This designation may also influence pagination when printing questionnaires. If there are items at the same level as a 'page' group that are listed before the 'page' group, they will be treated as a separate page. Header and footer groups for a questionnaire will be rendered on all pages. | | | |
2 | tab-container | Tab Container | Indicates that the group represents a collection of tabs. All child items SHALL be of type 'group' and SHALL NOT declare any item controls themselves. Each child group represents one tab within the tab container, where the item.title is the label for the tab. | | | |
1 | display | | UI controls relevant to rendering questionnaire display items | | true | |
2 | inline | In-line | Display item is rendered as a paragraph in a sequential position between sibling items (default behavior) | | | |
2 | prompt | Prompt | Text is displayed immediately below or within the answer-entry area of the containing question item (typically as a guide for what to enter). **Deprecation Note** - Use the [[[http://hl7.org/fhir/StructureDefinition/entryFormat]]] extension instead. | Deprecated | | deprecated | 2019-10-03
2 | unit | Unit | Display item is rendered adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure. **Deprecation Note** - The display element of the [[[http://hl7.org/fhir/StructureDefinition/questionnaire-unit]]] should be used instead. | Deprecated | | deprecated | 2022-09-08
2 | lower | Lower-bound | Display item is rendered to the left of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'lower' bound. E.g. 'Strongly disagree' | | | |
2 | upper | Upper-bound | Display item is rendered to the right of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'upper' bound. E.g. 'Strongly agree' | | | |
2 | flyover | Fly-over | Display item is temporarily visible over top of an item if the mouse is positioned over top of the text for the containing item | | | |
2 | help | Help-Button | Display item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'help' for a question, group or the questionnaire as a whole (depending what the display item is nested within) | | | |
2 | legal | legal-Button | Display item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'legal' info for a question, group or the questionnaire as a whole (depending what the display item is nested within) | | | |
1 | question | | UI controls relevant to capturing question data | | true | |
2 | autocomplete | Auto-complete | A control which provides a list of potential matches based on text entered into a control. Used for large choice sets where text-matching is an appropriate discovery mechanism. | | | |
2 | drop-down | Drop down | A control where an item (or multiple items) can be selected from a list that is only displayed when the user is editing the field. This control is best used for small-to-medium sized lists of options that can reasonably be scanned and selected in a drop-down control. If the list of options is managed by ValueSet, the designer should be confident that the set of codes will both be fully available and appropriately sized. For larger lists, the autocomplete control is more appropriate. | | | |
2 | check-box | Check-box | A control where choices are listed with a box beside them. The box can be toggled to select or de-select a given choice. Multiple selections may be possible. Commonly useful for repeating items of type constrained by answerOption, answerValueset or answerExpression, however can also be used for boolean (if the checkbox is a 3-state control that allows 'unanswered' as a possibility). | | | |
2 | lookup | Lookup | A control where editing an item spawns a separate dialog box or screen permitting a user to navigate, filter or otherwise discover an appropriate match. Useful for large choice sets where text matching is not an appropriate discovery mechanism. Such screens must generally be tuned for the specific choice list structure. | | | |
2 | radio-button | Radio Button | A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others. Used for non-repeating items with 'closed' answerOption, answerValueset or answerExpression constraints. Can also be used for boolean so long as there is a button for 'unanswered' or it's possible to deselect all items. | | | |
2 | slider | Slider | A control where an axis is displayed between the high and low values and the control can be visually manipulated to select a value anywhere on the axis. | | | |
2 | spinner | Spinner | A control where a list of numeric or other ordered values can be scrolled through via arrows. | | | |
2 | text-box | Text Box | A control where a user can type in their answer freely. | | | |

# description
Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.

# property[].description
True if an element is considered 'abstract' - that is the code is not for use as a real concept

# property[].description
A property that indicates the status of the concept. One of active, experimental, deprecated, or retired.

# property[].description
The date at which a concept was deprecated. Concepts that are deprecated but not inactive can still be used, but their use is discouraged.

# concept[].definition
UI controls relevant to organizing groups of questions

# concept[].concept[].definition
Questions within the group should be listed sequentially

# concept[].concept[].definition
Questions within the group are rows in the table with possible answers as columns.  Used for 'choice' questions.  The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression.  In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table.

# concept[].concept[].definition
Questions within the group are columns in the table with possible answers as rows.  Used for 'choice' questions.  The questions within a group marked with this controlType SHALL provide an enumerated list of options and SHOULD refer to the same set of options, same value set or same expression.  In the case of a 'sparse' table where some options aren't available for some questions, the order of the answers in the table is not defined and some rendering tools may refuse to display the group as a table.

# concept[].concept[].definition
Questions within the group are columns in the table with each group repetition as a row.  Used for single-answer questions.

# concept[].concept[].definition
Child items of type='group' within the a 'grid' group are rows, and questions beneath the 'row' groups are organized as columns in the grid. The grid might be fully populated, but could be sparse. Questions may support different data types and/or different answer choices.

# concept[].concept[].definition
The group is to be continuously visible at the top of the questionnaire

# concept[].concept[].definition
The group is to be continuously visible at the bottom of the questionnaire

# concept[].concept[].definition
Indicates that the content within the group should appear as a logical "page" when rendering the form, such that all enabled items        within the page are displayed at once, but items in subsequent groups are not displayed until the user indicates a desire to move to the 'next' group.        (Header and footer items may still be displayed.) This designation may also influence pagination when printing questionnaires. If there are items at the same        level as a 'page' group that are listed before the 'page' group, they will be treated as a separate page.  Header and footer groups for a questionnaire will be rendered on all pages.

# concept[].concept[].definition
Indicates that the group represents a collection of tabs. All child items SHALL be of type 'group' and SHALL NOT declare any item controls themselves. Each child group represents one tab within the tab container, where the item.title is the label for the tab.

# concept[].definition
UI controls relevant to rendering questionnaire display items

# concept[].concept[].definition
Display item is rendered as a paragraph in a sequential position between sibling items (default behavior)

# concept[].concept[].definition
Text is displayed immediately below or within the answer-entry area of the containing question item (typically as a guide for what to enter).  **Deprecation Note** - Use the [[[http://hl7.org/fhir/StructureDefinition/entryFormat]]] extension instead.

# concept[].concept[].definition
Display item is rendered adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure.  **Deprecation Note** - The display element of the [[[http://hl7.org/fhir/StructureDefinition/questionnaire-unit]]] should be used instead.

# concept[].concept[].definition
Display item is rendered to the left of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'lower' bound.  E.g. 'Strongly disagree'

# concept[].concept[].definition
Display item is rendered to the right of the set of answer choices or a scaling control for the parent question item to indicate the meaning of the 'upper' bound.  E.g. 'Strongly agree'

# concept[].concept[].definition
Display item is temporarily visible over top of an item if the mouse is positioned over top of the text for the containing item

# concept[].concept[].definition
Display item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'help' for a question, group or the questionnaire as a whole (depending what the display item is nested within)

# concept[].concept[].definition
Display item is rendered in a dialog box or similar control if invoked by pushing a button or some other UI-appropriate action to request 'legal' info for a question, group or the questionnaire as a whole (depending what the display item is nested within)

# concept[].definition
UI controls relevant to capturing question data

# concept[].concept[].definition
A control which provides a list of potential matches based on text entered into a control.  Used for large choice sets where text-matching is an appropriate discovery mechanism.

# concept[].concept[].definition
A control where an item (or multiple items) can be selected from a list that is only displayed when the user is editing the field.  This control is best used for small-to-medium sized lists of options that can reasonably be scanned and selected in a drop-down control.  If the list of options is managed by ValueSet, the designer should be confident that the set of codes will both be fully available and appropriately sized.  For larger lists, the autocomplete control is more appropriate.

# concept[].concept[].definition
A control where choices are listed with a box beside them.  The box can be toggled to select or de-select a given choice.  Multiple selections may be possible.  Commonly useful for repeating items of type constrained by answerOption, answerValueset or answerExpression, however can also be used for boolean (if the checkbox is a 3-state control that allows 'unanswered' as a possibility).

# concept[].concept[].definition
A control where editing an item spawns a separate dialog box or screen permitting a user to navigate, filter or otherwise discover an appropriate match.  Useful for large choice sets where text matching is not an appropriate discovery mechanism.  Such screens must generally be tuned for the specific choice list structure.

# concept[].concept[].definition
A control where choices are listed with a button beside them.  The button can be toggled to select or de-select a given choice.  Selecting one item deselects all others.  Used for non-repeating items with 'closed' answerOption, answerValueset or answerExpression constraints.  Can also be used for boolean so long as there is a button for 'unanswered' or it's possible to deselect all items.

# concept[].concept[].definition
A control where an axis is displayed between the high and low values and the control can be visually manipulated to select a value anywhere on the axis.

# concept[].concept[].definition
A control where a list of numeric or other ordered values can be scrolled through via arrows.

# concept[].concept[].definition
A control where a user can type in their answer freely.