FHIR General Extensions IG
0.1.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v0.1.0: Releases Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions

CodeSystem: Questionnaire Item UI Control Codes

Official URL: http://hl7.org/fhir/questionnaire-item-control Version: 0.1.0
Active as of 2023-03-04 Computable Name: QuestionnaireItemUIControlCodes
Other Identifiers: id: urn:oid:2.16.840.1.113883.4.642.4.932, id: urn:oid:2.16.840.1.113883.4.642.1.849 (use: OLD)

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

This Code system is referenced in the content logical definition of the following value sets:

Properties

This code system defines the following properties for its concepts

CodeURITypeDescription
abstractbooleanTrue if an element is considered 'abstract' - that is the code is not for use as a real concept
statushttp://hl7.org/fhir/concept-properties#statuscodeA property that indicates the status of the concept. One of active, experimental, deprecated, or retired.
deprecationDatehttp://hl7.org/fhir/concept-properties#deprecationDatedateTimeThe 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:

LvlCodeDisplayDefinitionDeprecatedabstractStatusDeprecation Date
1group UI controls relevant to organizing groups of questionstrue
2  list ListQuestions within the group should be listed sequentially
2  table Vertical Answer TableQuestions 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 TableQuestions 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 TableQuestions within the group are columns in the table with each group repetition as a row. Used for single-answer questions.
2  grid Group GridChild 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 HeaderThe group is to be continuously visible at the top of the questionnaire
2  footer FooterThe group is to be continuously visible at the bottom of the questionnaire
2  page PageIndicates 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 ContainerIndicates 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.
1display UI controls relevant to rendering questionnaire display itemstrue
2  inline In-lineDisplay item is rendered as a paragraph in a sequential position between sibling items (default behavior)
2  prompt PromptText 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 [entryFormat](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-entryFormat.html) extension instead.Deprecateddeprecated2019-10-03
2  unit UnitDisplay 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 [questionnaire-unit](https://build.fhir.org/ig/HL7/fhir-extensions/extensions-Questionnaire.html) should be used instead.Deprecateddeprecated2022-09-08
2  lower Lower-boundDisplay 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-boundDisplay 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-overDisplay 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-ButtonDisplay 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-ButtonDisplay 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)
1question UI controls relevant to capturing question datatrue
2  autocomplete Auto-completeA 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 downA 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-boxA 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 LookupA 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 ButtonA 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 SliderA 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 SpinnerA control where a list of numeric or other ordered values can be scrolled through via arrows.
2  text-box Text BoxA control where a user can type in their answer freely.