Structured Data Capture 2.5.0 - Edition 3(STU), For Comment 2018Sep Ballot

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

(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">
			<pre>
				&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
					&lt;head&gt;
						&lt;meta content=&quot;text/html;charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;/&gt;
						&lt;title&gt;Advanced Rendering Questionnaire Demonstration&lt;/title&gt;
					&lt;/head&gt;
					&lt;body&gt;
						&lt;div id=&quot;questionnaire-title&quot;&gt;
							&lt;h1&gt;
								&lt;span style=&quot;color:blue;&quot;&gt;
									&lt;b&gt;Advanced&lt;/b&gt;
									&lt;i&gt;Rendering&lt;/i&gt;
									&lt;u&gt;Questionnaire&lt;/u&gt;
									&lt;b&gt;
										&lt;i&gt;Demonstration&lt;/i&gt;
									&lt;/b&gt;
								&lt;/span&gt;
							&lt;/h1&gt;
						&lt;/div&gt;
						&lt;div id=&quot;linkitem-1&quot; class=&quot;group&quot;&gt;
							&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;
							&lt;div id=&quot;linkitem-1.0&quot; class=&quot;display&quot;&gt;
								&lt;p&gt;
									&lt;span style=&quot;color:green;&quot;&gt;&lt;i&gt;Please&lt;/i&gt; complete the questionnaire&lt;/span&gt;
								&lt;/p&gt;
								&lt;!-- Instructions | The text provides guidance on how to populate or use a portion of the questionnaire (or the questionnaire as a whole). --&gt;
								&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;
							&lt;/div&gt;
							&lt;div id=&quot;linkitem-1.1&quot; class=&quot;string&quot;&gt;
								&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
								First Name
								&lt;input id=&quot;linkitem-1.1-input&quot; type=&quot;text&quot;/&gt;
							&lt;/form&gt;
								&lt;!-- optionalDisplay=true --&gt;
							&lt;/div&gt;
							&lt;div id=&quot;linkitem-1.2&quot; class=&quot;string&quot; style=&quot;display:none;&quot;&gt;
								&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
								Hidden Name
								&lt;input id=&quot;linkitem-1.2-input&quot; type=&quot;text&quot;/&gt;
							&lt;/form&gt;
							&lt;/div&gt;
							&lt;div id=&quot;linkitem-1.3&quot; class=&quot;string&quot;&gt;
								&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
									&lt;a href=&quot;http://hl7.org/fhir/&quot;&gt;Middle Name&lt;/a&gt;
									&lt;input id=&quot;linkitem-1.3-input&quot; type=&quot;text&quot;/&gt;
								&lt;/form&gt;
							&lt;/div&gt;
							&lt;div id=&quot;linkitem-1.4&quot; class=&quot;string&quot;&gt;
								&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
								Last Name
								&lt;input id=&quot;linkitem-1.4-input&quot; type=&quot;text&quot;/&gt;
							&lt;/form&gt;
							&lt;/div&gt;
							&lt;div id=&quot;linkitem-1.5&quot; class=&quot;string&quot;&gt;
								&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
								Gender
								&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 
								&lt;input id=&quot;linkitem-1.5-m&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;M&quot;/&gt;Male 
								&lt;input id=&quot;linkitem-1.5-o&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;O&quot;/&gt;Other 
								&lt;input id=&quot;linkitem-1.5-u&quot; type=&quot;radio&quot; name=&quot;Gender&quot; value=&quot;U&quot;/&gt;Unknown 
							&lt;/form&gt;
							&lt;/div&gt;
						&lt;/div&gt;
						&lt;div id=&quot;linkitem-2&quot; class=&quot;group&quot;&gt;
							&lt;h2&gt;2 Medical History&lt;/h2&gt;
							&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
								&lt;table border=&quot;1&quot;&gt;
									&lt;col width=&quot;65%&quot;/&gt;
									&lt;col width=&quot;35%&quot;/&gt;
									&lt;tr&gt;
										&lt;td&gt;
											Diabetes
										&lt;/td&gt;
										&lt;td&gt;
											Other Information
										&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr&gt;
										&lt;td&gt;
											&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
										&lt;/td&gt;
										&lt;td&gt;
											&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
										&lt;/td&gt;
									&lt;/tr&gt;
									&lt;tr&gt;
										&lt;td&gt;
											&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
										&lt;/td&gt;
										&lt;td&gt;
											&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
										&lt;/td&gt;
									&lt;/tr&gt;
								&lt;/table&gt;
							&lt;/form&gt;
						&lt;/div&gt;
						&lt;div id=&quot;linkitem-3&quot; class=&quot;group&quot;&gt;
							&lt;h2&gt;3 Slider demonstration&lt;/h2&gt;
							&lt;div id=&quot;linkitem-3.1&quot; class=&quot;slidecontainer&quot;&gt;
							Adjust the slider&lt;br/&gt;
							&lt;form action=&quot;http://hl7.org/fhir/&quot;&gt;
								&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;
							&lt;/form&gt;
						&lt;/div&gt;
						&lt;/div&gt;
					&lt;/body&gt;
				&lt;/html&gt;
			</pre>
		</div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-provenanceSignatureRequired",
      "valueBoolean" : false
    },
    {
      "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.5.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",
  "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."
              }
            }
          ],
          "modifierExtension" : [
            {
              "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
            }
          ]
        }
      ]
    }
  ]
}