Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Codesystem-questionnaire-item-control.json

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw JSON (canonical form + also see JSON Format Specification)

Definition for Code System QuestionnaireItemUIControlCodes

{
  "resourceType" : "CodeSystem",
  "id" : "questionnaire-item-control",
  "meta" : {
    "lastUpdated" : "2021-04-15T12:25:09.461+10:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  }],
  "url" : "http://hl7.org/fhir/questionnaire-item-control",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.1.932"
  }],
  "version" : "4.6.0",
  "name" : "QuestionnaireItemUIControlCodes",
  "title" : "Questionnaire Item UI Control Codes",
  "status" : "draft",
  "experimental" : false,
  "description" : "Starter set of user interface control/display mechanisms that might be used when rendering an item in a questionnaire.",
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-item-control",
  "hierarchyMeaning" : "is-a",
  "content" : "complete",
  "property" : [{
    "code" : "abstract",
    "description" : "True if an element is considered 'abstract' - that is the code is not for use as a real concept",
    "type" : "boolean"
  }],
  "concept" : [{
    "code" : "group",
    "definition" : "UI controls relevant to organizing groups of questions",
    "property" : [{
      "code" : "abstract",
      "valueBoolean" : true
    }],
    "concept" : [{
      "code" : "list",
      "display" : "List",
      "definition" : "Questions within the group should be listed sequentially"
    },
    {
      "code" : "table",
      "display" : "Vertical Answer Table",
      "definition" : "Questions within the group are rows in the table with possible answers as columns.  Used for 'choice' questions."
    },
    {
      "code" : "htable",
      "display" : "Horizontal Answer Table",
      "definition" : "Questions within the group are columns in the table with possible answers as rows.  Used for 'choice' questions."
    },
    {
      "code" : "gtable",
      "display" : "Group Table",
      "definition" : "Questions within the group are columns in the table with each group repetition as a row.  Used for single-answer questions."
    },
    {
      "code" : "grid",
      "display" : "Group Grid",
      "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."
    },
    {
      "code" : "header",
      "display" : "Header",
      "definition" : "The group is to be continuously visible at the top of the questionnaire"
    },
    {
      "code" : "footer",
      "display" : "Footer",
      "definition" : "The group is to be continuously visible at the bottom of the questionnaire"
    },
    {
      "code" : "page",
      "display" : "Page",
      "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."
    }]
  },
  {
    "code" : "display",
    "definition" : "UI controls relevant to rendering questionnaire display items",
    "property" : [{
      "code" : "abstract",
      "valueBoolean" : true
    }],
    "concept" : [{
      "code" : "inline",
      "display" : "In-line",
      "definition" : "Display item is rendered as a paragraph in a sequential position between sibling items (default behavior)"
    },
    {
      "code" : "unit",
      "display" : "Unit",
      "definition" : "Display item is rendered adjacent (horizontally or vertically) to the answer space for the parent question, typically to indicate a unit of measure"
    },
    {
      "code" : "lower",
      "display" : "Lower-bound",
      "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'"
    },
    {
      "code" : "upper",
      "display" : "Upper-bound",
      "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'"
    },
    {
      "code" : "flyover",
      "display" : "Fly-over",
      "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"
    },
    {
      "code" : "help",
      "display" : "Help-Button",
      "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)"
    },
    {
      "code" : "legal",
      "display" : "legal-Button",
      "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)"
    }]
  },
  {
    "code" : "question",
    "definition" : "UI controls relevant to capturing question data",
    "property" : [{
      "code" : "abstract",
      "valueBoolean" : true
    }],
    "concept" : [{
      "code" : "autocomplete",
      "display" : "Auto-complete",
      "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."
    },
    {
      "code" : "drop-down",
      "display" : "Drop down",
      "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."
    },
    {
      "code" : "check-box",
      "display" : "Check-box",
      "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."
    },
    {
      "code" : "lookup",
      "display" : "Lookup",
      "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."
    },
    {
      "code" : "radio-button",
      "display" : "Radio Button",
      "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."
    },
    {
      "code" : "slider",
      "display" : "Slider",
      "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."
    },
    {
      "code" : "spinner",
      "display" : "Spinner",
      "definition" : "A control where a list of numeric or other ordered values can be scrolled through via arrows."
    },
    {
      "code" : "text-box",
      "display" : "Text Box",
      "definition" : "A control where a user can type in their answer freely."
    }]
  }]
}

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.