2.7.0 - STU 3 (2nd ballot)

This page is part of the Structured Data Capture FHIR IG (v2.7.0: STU 3 Ballot 2) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

SDC-Advanced Rendering - JSON Representation

(back to narrative)

Raw json

{
  "resourceType" : "Questionnaire",
  "id" : "questionnaire-sdc-profile-example-render",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<pre>\n\t\t\t\t&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;\n\t\t\t\t\t&lt;head&gt;\n\t\t\t\t\t\t&lt;meta content=&quot;text/html;charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;/&gt;\n\t\t\t\t\t\t&lt;title&gt;Advanced Rendering Questionnaire Demonstration&lt;/title&gt;\n\t\t\t\t\t&lt;/head&gt;\n\t\t\t\t\t&lt;body&gt;\n\t\t\t\t\t\t&lt;div id=&quot;questionnaire-title&quot;&gt;\n\t\t\t\t\t\t\t&lt;h1&gt;\n\t\t\t\t\t\t\t\t&lt;span style=&quot;color:blue;&quot;&gt;\n\t\t\t\t\t\t\t\t\t&lt;b&gt;Advanced&lt;/b&gt;\n\t\t\t\t\t\t\t\t\t&lt;i&gt;Rendering&lt;/i&gt;\n\t\t\t\t\t\t\t\t\t&lt;u&gt;Questionnaire&lt;/u&gt;\n\t\t\t\t\t\t\t\t\t&lt;b&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;i&gt;Demonstration&lt;/i&gt;\n\t\t\t\t\t\t\t\t\t&lt;/b&gt;\n\t\t\t\t\t\t\t\t&lt;/span&gt;\n\t\t\t\t\t\t\t&lt;/h1&gt;\n\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=&quot;linkitem-1&quot; class=&quot;group&quot;&gt;\n\t\t\t\t\t\t\t&lt;h2&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;u&gt;1&lt;/u&gt;&lt;/span&gt; Demographics&lt;/h2&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-1.0&quot; class=&quot;display&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;p&gt;\n\t\t\t\t\t\t\t\t\t&lt;span style=&quot;color:green;&quot;&gt;&lt;i&gt;Please&lt;/i&gt; complete the questionnaire&lt;/span&gt;\n\t\t\t\t\t\t\t\t&lt;/p&gt;\n\t\t\t\t\t\t\t\t&lt;!-- Instructions | The text provides guidance on how to populate or use a portion of the questionnaire (or the questionnaire as a whole). --&gt;\n\t\t\t\t\t\t\t\t&lt;span id=&quot;linkitem-1.0-displayCategory&quot; style=&quot;display:none;&quot;&gt;Instructions | The text provides guidance on how to populate or use a portion of the questionnaire (or the questionnaire as a whole).&lt;/span&gt;\n\t\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-1.1&quot; class=&quot;string&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\tFirst Name\n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.1-input&quot; type=&quot;text&quot;/&gt;\n\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t\t\t&lt;!-- optionalDisplay=true --&gt;\n\t\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-1.2&quot; class=&quot;string&quot; style=&quot;display:none;&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\tHidden Name\n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.2-input&quot; type=&quot;text&quot;/&gt;\n\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-1.3&quot; class=&quot;string&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\t\t&lt;a href=&quot;http://hl7.org/fhir/&quot;&gt;Middle Name&lt;/a&gt;\n\t\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.3-input&quot; type=&quot;text&quot;/&gt;\n\t\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-1.4&quot; class=&quot;string&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\tLast Name\n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.4-input&quot; type=&quot;text&quot;/&gt;\n\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-1.5&quot; class=&quot;string&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\tGender\n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.5-f&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;F&quot; checked=&quot;checked&quot;/&gt;(a) Female \n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.5-m&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;M&quot;/&gt;Male \n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.5-o&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;O&quot;/&gt;Other \n\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-1.5-u&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;U&quot;/&gt;Unknown \n\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=&quot;linkitem-2&quot; class=&quot;group&quot;&gt;\n\t\t\t\t\t\t\t&lt;h2&gt;2 Medical History&lt;/h2&gt;\n\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;table border=&quot;1&quot;&gt;\n\t\t\t\t\t\t\t\t\t&lt;col width=&quot;65%&quot;/&gt;\n\t\t\t\t\t\t\t\t\t&lt;col width=&quot;35%&quot;/&gt;\n\t\t\t\t\t\t\t\t\t&lt;tr&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;td&gt;\n\t\t\t\t\t\t\t\t\t\t\tDiabetes\n\t\t\t\t\t\t\t\t\t\t&lt;/td&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;td&gt;\n\t\t\t\t\t\t\t\t\t\t\tOther Information\n\t\t\t\t\t\t\t\t\t\t&lt;/td&gt;\n\t\t\t\t\t\t\t\t\t&lt;/tr&gt;\n\t\t\t\t\t\t\t\t\t&lt;tr&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;td&gt;\n\t\t\t\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-2.1-choice1&quot; type=&quot;checkbox&quot; name=&quot;diabetes-type1&quot; value=&quot;diabetes-type1&quot;/&gt;Type 1\n\t\t\t\t\t\t\t\t\t\t&lt;/td&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;td&gt;\n\t\t\t\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-2.2-choice1&quot; type=&quot;checkbox&quot; name=&quot;otherinformation-hypertension&quot; value=&quot;otherinformation-hypertension&quot;/&gt;Hypertension\n\t\t\t\t\t\t\t\t\t\t&lt;/td&gt;\n\t\t\t\t\t\t\t\t\t&lt;/tr&gt;\n\t\t\t\t\t\t\t\t\t&lt;tr&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;td&gt;\n\t\t\t\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-2.1-choice2&quot; type=&quot;checkbox&quot; name=&quot;diabetes-type2&quot; value=&quot;diabetes-type2&quot;/&gt;Type 2\n\t\t\t\t\t\t\t\t\t\t&lt;/td&gt;\n\t\t\t\t\t\t\t\t\t\t&lt;td&gt;\n\t\t\t\t\t\t\t\t\t\t\t&lt;input id=&quot;linkitem-2.2-choice2&quot; type=&quot;checkbox&quot; name=&quot;otherinformation-smoker&quot; value=&quot;otherinformation-smoker&quot;/&gt;Smoker\n\t\t\t\t\t\t\t\t\t\t&lt;/td&gt;\n\t\t\t\t\t\t\t\t\t&lt;/tr&gt;\n\t\t\t\t\t\t\t\t&lt;/table&gt;\n\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=&quot;linkitem-3&quot; class=&quot;group&quot;&gt;\n\t\t\t\t\t\t\t&lt;h2&gt;3 Slider demonstration&lt;/h2&gt;\n\t\t\t\t\t\t\t&lt;div id=&quot;linkitem-3.1&quot; class=&quot;slidecontainer&quot;&gt;\n\t\t\t\t\t\t\tAdjust the slider&lt;br/&gt;\n\t\t\t\t\t\t\t&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;\n\t\t\t\t\t\t\t\t&lt;input type=&quot;range&quot; min=&quot;0&quot; max=&quot;100&quot; value=&quot;50&quot; step=&quot;10&quot; class=&quot;slider&quot; id=&quot;linkitem-3.1-slider&quot;/&gt;\n\t\t\t\t\t\t\t&lt;/form&gt;\n\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t\t&lt;/div&gt;\n\t\t\t\t\t&lt;/body&gt;\n\t\t\t\t&lt;/html&gt;\n\t\t\t</pre>\n\t\t</div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired",
      "valueCodeableConcept" : {
        "coding" : [
          {
            "system" : "urn:iso-astm:E1762-95:2013",
            "code" : "1.2.840.10065.1.12.1.1",
            "display" : "Author's Signature"
          }
        ],
        "text" : "the signature of the primary or sole author of a health information document. There can be only one primary author of a health information document."
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive",
      "valueBoolean" : true
    }
  ],
  "url" : "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-render",
  "version" : "2.7.0",
  "title" : "Advanced Rendering Questionnaire Profile Demonstration",
  "_title" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
        "valueString" : "color:blue;"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
        "valueString" : "<b>Advanced</b> <i>Rendering</i> <u>Questionnaire</u> <b><i>Demonstration</i></b>"
      }
    ]
  },
  "status" : "draft",
  "subjectType" : [
    "Patient"
  ],
  "date" : "2018-08-01T00:00:00+10:00",
  "item" : [
    {
      "linkId" : "1",
      "code" : [
        {
          "system" : "http://example.org/system/code/sections",
          "code" : "DEMOGRAPHICS"
        }
      ],
      "prefix" : "1",
      "_prefix" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
            "valueString" : "color:red;"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
            "valueString" : "<u>1</u>"
          }
        ]
      },
      "text" : "Demographics",
      "type" : "group",
      "item" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-display-category",
                    "code" : "instructions",
                    "display" : "Instructions"
                  }
                ],
                "text" : "The text provides guidance on how to populate or use a portion of the questionnaire (or the questionnaire as a whole)."
              }
            }
          ],
          "linkId" : "1.0",
          "text" : "Please complete the questionnaire",
          "_text" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
                "valueString" : "color:green;"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
                "valueString" : "<i>Please</i> complete the questionnaire"
              }
            ]
          },
          "type" : "display"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay",
              "valueBoolean" : true
            }
          ],
          "linkId" : "1.1",
          "text" : "First Name",
          "type" : "string"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
              "valueBoolean" : true
            }
          ],
          "linkId" : "1.2",
          "text" : "Hidden Name",
          "type" : "string"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink",
              "valueUri" : "http://hl7.org/fhir/"
            }
          ],
          "linkId" : "1.3",
          "text" : "Middle Name",
          "type" : "string"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "urn:iso-astm:E1762-95:2013",
                    "code" : "1.2.840.10065.1.12.1.8",
                    "display" : "Signature Witness Signature"
                  }
                ],
                "text" : "the signature of a witness to any other signature."
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode",
              "valueCode" : "capture"
            }
          ],
          "linkId" : "1.4",
          "text" : "Last Name",
          "type" : "string"
        },
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode" : "horizontal"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "radio-button",
                    "display" : "Radio Button"
                  }
                ],
                "text" : "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."
              }
            }
          ],
          "linkId" : "1.5",
          "text" : "Gender",
          "type" : "choice",
          "answerOption" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix",
                  "valueString" : "(a)"
                }
              ],
              "valueCoding" : {
                "code" : "F",
                "display" : "Female"
              },
              "initialSelected" : true
            },
            {
              "valueCoding" : {
                "code" : "M",
                "display" : "Male"
              }
            },
            {
              "valueCoding" : {
                "code" : "O",
                "display" : "Other"
              }
            },
            {
              "valueCoding" : {
                "code" : "U",
                "display" : "Unknown"
              }
            }
          ]
        }
      ]
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/questionnaire-item-control",
                "code" : "htable",
                "display" : "Horizontal Answer Table"
              }
            ],
            "text" : "Questions within the group are columns in the table with possible answers as rows. Used for 'choice' questions."
          }
        }
      ],
      "linkId" : "2",
      "code" : [
        {
          "system" : "http://example.org/system/code/sections",
          "code" : "FAMILYDOC"
        }
      ],
      "prefix" : "2",
      "text" : "Family Physician Name",
      "type" : "group",
      "item" : [
        {
          "linkId" : "2.1",
          "text" : "Diabetes",
          "type" : "choice",
          "answerOption" : [
            {
              "valueCoding" : {
                "code" : "diabetes-type1",
                "display" : "Type 1"
              }
            },
            {
              "valueCoding" : {
                "code" : "diabetes-type2",
                "display" : "Type 2"
              }
            }
          ]
        },
        {
          "linkId" : "2.2",
          "text" : "Other Information",
          "type" : "choice",
          "answerOption" : [
            {
              "valueCoding" : {
                "code" : "otherinformation-hypertension",
                "display" : "Hypertension"
              }
            },
            {
              "valueCoding" : {
                "code" : "otherinformation-smoker",
                "display" : "Smoker"
              }
            }
          ]
        }
      ]
    },
    {
      "linkId" : "3",
      "code" : [
        {
          "system" : "http://example.org/system/code/sections",
          "code" : "SLIDER"
        }
      ],
      "prefix" : "3",
      "text" : "Slider demonstration",
      "type" : "group",
      "item" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "slider",
                    "display" : "Slider"
                  }
                ],
                "text" : "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."
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue",
              "valueInteger" : 10
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/minValue",
              "valueInteger" : 0
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/maxValue",
              "valueInteger" : 100
            }
          ],
          "linkId" : "3.1",
          "text" : "Adjust the slider",
          "type" : "integer",
          "initial" : [
            {
              "valueInteger" : 50
            }
          ]
        }
      ]
    }
  ]
}