Smart Forms
0.2.0 - ci-build

Smart Forms, published by AEHRC CSIRO. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/aehrc/smart-forms-ig/ and changes regularly. See the Directory of published versions

ValueSet: Questionnaire Item UI Control Codes

Official URL: http://hl7.org/fhir/ValueSet/questionnaire-item-control Version: 1.0.0
Standards status: Trial-use Maturity Level: 3 Responsible: HL7 International / FHIR Infrastructure Computable Name: QuestionnaireItemUIControlCodes
Other Identifiers: OID:2.16.840.1.113883.4.642.3.931, OID:2.16.840.1.113883.4.642.3.848 (use: old, )

Copyright/Legal: Copyright © 2011+ HL7. Creative Commons 'No Rights Reserved' (CC0)

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

References

Logical Definition (CLD)

Generated Narrative: ValueSet questionnaire-item-control

 

Expansion

Generated Narrative: ValueSet

Expansion based on codesystem Questionnaire Item UI Control Codes System v5.1.0 (CodeSystem)

This value set contains 28 concepts

LevelCodeSystemDisplayInactiveDefinitionstatus
1  grouphttp://hl7.org/fhir/questionnaire-item-control

UI controls relevant to organizing groups of questions

2    listhttp://hl7.org/fhir/questionnaire-item-controlList

Questions within the group should be listed sequentially

2    tablehttp://hl7.org/fhir/questionnaire-item-controlVertical 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    htablehttp://hl7.org/fhir/questionnaire-item-controlHorizontal 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    gtablehttp://hl7.org/fhir/questionnaire-item-controlGroup Table

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

2    gridhttp://hl7.org/fhir/questionnaire-item-controlGroup 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    headerhttp://hl7.org/fhir/questionnaire-item-controlHeader

The group is to be continuously visible at the top of the questionnaire

2    footerhttp://hl7.org/fhir/questionnaire-item-controlFooter

The group is to be continuously visible at the bottom of the questionnaire

2    pagehttp://hl7.org/fhir/questionnaire-item-controlPage

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-containerhttp://hl7.org/fhir/questionnaire-item-controlTab 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  displayhttp://hl7.org/fhir/questionnaire-item-control

UI controls relevant to rendering questionnaire display items

2    inlinehttp://hl7.org/fhir/questionnaire-item-controlIn-line

Display item is rendered as a paragraph in a sequential position between sibling items (default behavior)

2    prompthttp://hl7.org/fhir/questionnaire-item-controlPromptinactive

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
2    unithttp://hl7.org/fhir/questionnaire-item-controlUnitinactive

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
2    lowerhttp://hl7.org/fhir/questionnaire-item-controlLower-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    upperhttp://hl7.org/fhir/questionnaire-item-controlUpper-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    flyoverhttp://hl7.org/fhir/questionnaire-item-controlFly-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    helphttp://hl7.org/fhir/questionnaire-item-controlHelp-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    legalhttp://hl7.org/fhir/questionnaire-item-controllegal-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  questionhttp://hl7.org/fhir/questionnaire-item-control

UI controls relevant to capturing question data

2    autocompletehttp://hl7.org/fhir/questionnaire-item-controlAuto-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-downhttp://hl7.org/fhir/questionnaire-item-controlDrop 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-boxhttp://hl7.org/fhir/questionnaire-item-controlCheck-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    lookuphttp://hl7.org/fhir/questionnaire-item-controlLookup

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-buttonhttp://hl7.org/fhir/questionnaire-item-controlRadio 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    sliderhttp://hl7.org/fhir/questionnaire-item-controlSlider

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    spinnerhttp://hl7.org/fhir/questionnaire-item-controlSpinner

A control where a list of numeric or other ordered values can be scrolled through via arrows.

2    text-boxhttp://hl7.org/fhir/questionnaire-item-controlText Box

A control where a user can type in their answer freely.


Explanation of the columns that may appear on this page:

Level A few code lists that FHIR defines are hierarchical - each code is assigned a level. In this scheme, some codes are under other codes, and imply that the code they are under also applies
System The source of the definition of the code (when the value set draws in codes defined elsewhere)
Code The code (used as the code in the resource instance)
Display The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application
Definition An explanation of the meaning of the concept
Comments Additional notes about how to use the code