This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3
Definition for Value SetQuestionnaire Item UI Control Codes
<ValueSet xmlns="http://hl7.org/fhir"> <id value="questionnaire-item-control"/> <meta> <lastUpdated value="2015-12-11T17:38:40.294+11:00"/> <profile value="http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <h2>Questionnaire Item UI Control Codes</h2> <p>Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.</p> <p>This value set has an inline code system http://hl7.org/fhir/questionnaire-item-control, which defines the following codes:</p> <table class="codes"> <tr> <td> <b>Lvl</b> </td> <td> <b>Code</b> </td> <td> <b>Display</b> </td> <td> <b>Definition</b> </td> </tr> <tr> <td>1</td> <td>group <a name="group"> </a> </td> <td/> <td>UI controls relevant to organizing groups of questions</td> </tr> <tr> <td>2</td> <td> list <a name="list"> </a> </td> <td>List</td> <td>Questions within the group should be listed sequentially</td> </tr> <tr> <td>2</td> <td> table <a name="table"> </a> </td> <td>Table</td> <td>Questions within the group are rows in the table with possible answers as columns</td> </tr> <tr> <td>2</td> <td> header <a name="header"> </a> </td> <td>Header</td> <td>The group is to be continuously visible at the top of the questionnaire</td> </tr> <tr> <td>2</td> <td> footer <a name="footer"> </a> </td> <td>Footer</td> <td>The group is to be continuously visible at the bottom of the questionnaire</td> </tr> <tr> <td>1</td> <td>text <a name="text"> </a> </td> <td/> <td>UI controls relevant to rendering questionnaire text items</td> </tr> <tr> <td>2</td> <td> inline <a name="inline"> </a> </td> <td>In-line</td> <td>Text is displayed as a paragraph in a sequential position between sibling items (default behavior)</td> </tr> <tr> <td>2</td> <td> prompt <a name="prompt"> </a> </td> <td>In-line</td> <td>Text is displayed immediately below or within the answer-entry area of the containing question item (typically as a guide for what to enter)</td> </tr> <tr> <td>2</td> <td> unit <a name="unit"> </a> </td> <td>Unit</td> <td>Text is displayed adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure</td> </tr> <tr> <td>2</td> <td> lower <a name="lower"> </a> </td> <td>Lower-bound</td> <td>Text is displayed 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 diagree'</td> </tr> <tr> <td>2</td> <td> upper <a name="upper"> </a> </td> <td>Upper-bound</td> <td>Text is displayed 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'</td> </tr> <tr> <td>2</td> <td> flyover <a name="flyover"> </a> </td> <td>Fly-over</td> <td>Text is temporarily visible over top of an item if the mouse is positioned over top of the text for the containing item</td> </tr> <tr> <td>2</td> <td> help <a name="help"> </a> </td> <td>Help-Button</td> <td>Text is displayed 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 text is nested within)</td> </tr> <tr> <td>1</td> <td>question <a name="question"> </a> </td> <td/> <td>UI controls relevant to capturing question data</td> </tr> <tr> <td>2</td> <td> autocomplete <a name="autocomplete"> </a> </td> <td>Auto-complete</td> <td>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.</td> </tr> <tr> <td>2</td> <td> drop-down <a name="drop-down"> </a> </td> <td>Drop down</td> <td>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.</td> </tr> <tr> <td>2</td> <td> check-box <a name="check-box"> </a> </td> <td>Check-box</td> <td>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.</td> </tr> <tr> <td>2</td> <td> lookup <a name="lookup"> </a> </td> <td>Lookup</td> <td>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.</td> </tr> <tr> <td>2</td> <td> radio-button <a name="radio-button"> </a> </td> <td>Radio Button</td> <td>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.</td> </tr> <tr> <td>2</td> <td> slider <a name="slider"> </a> </td> <td>Slider</td> <td>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.</td> </tr> <tr> <td>2</td> <td> spinner <a name="spinner"> </a> </td> <td>Spinner</td> <td>A control where a list of numeric or other ordered values can be scrolled through via arrows.</td> </tr> <tr> <td>2</td> <td> text-box <a name="text-box"> </a> </td> <td>Text Box</td> <td>A control where a user can type in their answer freely.</td> </tr> </table> </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/valueset-oid"> <valueUri value="urn:oid:2.16.840.1.113883.4.642.2.0"/> </extension> <url value="http://hl7.org/fhir/ValueSet/questionnaire-item-control"/> <version value="1.2.0"/> <name value="Questionnaire Item UI Control Codes"/> <status value="draft"/> <experimental value="true"/> <publisher value="HL7 International - Patient Care WG"/> <contact> <telecom> <system value="other"/> <value value="http://www.hl7.org/Special/committees/patientcare"/> </telecom> </contact> <date value="2015-12-11T17:38:40+11:00"/> <description value="Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire."/> <codeSystem> <extension url="http://hl7.org/fhir/StructureDefinition/valueset-oid"> <valueUri value="urn:oid:2.16.840.1.113883.4.642.1.0"/> </extension> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <caseSensitive value="true"/> <concept> <code value="group"/> <abstract value="true"/> <definition value="UI controls relevant to organizing groups of questions"/> <concept> <code value="list"/> <display value="List"/> <definition value="Questions within the group should be listed sequentially"/> </concept> <concept> <code value="table"/> <display value="Table"/> <definition value="Questions within the group are rows in the table with possible answers as columns"/> </concept> <concept> <code value="header"/> <display value="Header"/> <definition value="The group is to be continuously visible at the top of the questionnaire"/> </concept> <concept> <code value="footer"/> <display value="Footer"/> <definition value="The group is to be continuously visible at the bottom of the questionnaire"/> </concept> </concept> <concept> <code value="text"/> <abstract value="true"/> <definition value="UI controls relevant to rendering questionnaire text items"/> <concept> <code value="inline"/> <display value="In-line"/> <definition value="Text is displayed as a paragraph in a sequential position between sibling items (default behavior)"/> </concept> <concept> <code value="prompt"/> <display value="In-line"/> <definition value="Text is displayed immediately below or within the answer-entry area of the containing question item (typically as a guide for what to enter)"/> </concept> <concept> <code value="unit"/> <display value="Unit"/> <definition value="Text is displayed adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure"/> </concept> <concept> <code value="lower"/> <display value="Lower-bound"/> <definition value="Text is displayed 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 diagree'"/> </concept> <concept> <code value="upper"/> <display value="Upper-bound"/> <definition value="Text is displayed 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> <code value="flyover"/> <display value="Fly-over"/> <definition value="Text is temporarily visible over top of an item if the mouse is positioned over top of the text for the containing item"/> </concept> <concept> <code value="help"/> <display value="Help-Button"/> <definition value="Text is displayed 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 text is nested within)"/> </concept> </concept> <concept> <code value="question"/> <abstract value="true"/> <definition value="UI controls relevant to capturing question data"/> <concept> <code value="autocomplete"/> <display value="Auto-complete"/> <definition value="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> <code value="drop-down"/> <display value="Drop down"/> <definition value="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."/> </concept> <concept> <code value="check-box"/> <display value="Check-box"/> <definition value="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."/> </concept> <concept> <code value="lookup"/> <display value="Lookup"/> <definition value="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> <code value="radio-button"/> <display value="Radio Button"/> <definition value="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."/> </concept> <concept> <code value="slider"/> <display value="Slider"/> <definition value="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> <code value="spinner"/> <display value="Spinner"/> <definition value="A control where a list of numeric or other ordered values can be scrolled through via arrows."/> </concept> <concept> <code value="text-box"/> <display value="Text Box"/> <definition value="A control where a user can type in their answer freely."/> </concept> </concept> </codeSystem> </ValueSet>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.