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 xml


<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="questionnaire-sdc-profile-example-render"/>
  <text>
    <status value="generated"/>
    <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>
  </text>
  <extension
             url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-provenanceSignatureRequired">
    <valueBoolean value="false"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired">
    <valueCodeableConcept>
      <coding>
        <system value="urn:iso-astm:E1762-95:2013"/>
        <code value="1.2.840.10065.1.12.1.1"/>
        <display value="Author&#39;s Signature"/>
      </coding>
      <text
            value="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."/>
    </valueCodeableConcept>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive">
    <valueBoolean value="true"/>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-render"/>
  <version value="2.5.0"/>
  <title value="Advanced Rendering Questionnaire Profile Demonstration">
    <extension url="http://hl7.org/fhir/StructureDefinition/rendering-style">
      <valueString value="color:blue;"/>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
      <valueString
                   value="&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;"/>
    </extension>
  </title>
  <status value="draft"/>
  <subjectType value="Patient"/>
  <date value="2018-08"/>
  <item>
    <linkId value="1"/>
    <code>
      <system value="http://example.org/system/code/sections"/>
      <code value="DEMOGRAPHICS"/>
    </code>
    <prefix value="1">
      <extension url="http://hl7.org/fhir/StructureDefinition/rendering-style">
        <valueString value="color:red;"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
        <valueString value="&lt;u&gt;1&lt;/u&gt;"/>
      </extension>
    </prefix>
    <text value="Demographics"/>
    <type value="group"/>
    <item>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory">
        <valueCodeableConcept>
          <coding>
            <system value="http://hl7.org/fhir/questionnaire-display-category"/>
            <code value="instructions"/>
            <display value="Instructions"/>
          </coding>
          <text
                value="The text provides guidance on how to populate or use a portion of the questionnaire (or the questionnaire as a whole)."/>
        </valueCodeableConcept>
      </extension>
      <linkId value="1.0"/>
      <text value="Please complete the questionnaire">
        <extension url="http://hl7.org/fhir/StructureDefinition/rendering-style">
          <valueString value="color:green;"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/rendering-xhtml">
          <valueString
                       value="&lt;i&gt;Please&lt;/i&gt; complete the questionnaire"/>
        </extension>
      </text>
      <type value="display"/>
    </item>
    <item>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay">
        <valueBoolean value="true"/>
      </extension>
      <linkId value="1.1"/>
      <text value="First Name"/>
      <type value="string"/>
    </item>
    <item>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-hidden">
        <valueBoolean value="true"/>
      </extension>
      <linkId value="1.2"/>
      <text value="Hidden Name"/>
      <type value="string"/>
    </item>
    <item>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink">
        <valueUri value="http://hl7.org/fhir/"/>
      </extension>
      <linkId value="1.3"/>
      <text value="Middle Name"/>
      <type value="string"/>
    </item>
    <item>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired">
        <valueCodeableConcept>
          <coding>
            <system value="urn:iso-astm:E1762-95:2013"/>
            <code value="1.2.840.10065.1.12.1.8"/>
            <display value="Signature Witness Signature"/>
          </coding>
          <text value="the signature of a witness to any other signature."/>
        </valueCodeableConcept>
      </extension>
      <modifierExtension
                         url="http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode">
        <valueCode value="capture"/>
      </modifierExtension>
      <linkId value="1.4"/>
      <text value="Last Name"/>
      <type value="string"/>
    </item>
    <item>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation">
        <valueCode value="horizontal"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
        <valueCodeableConcept>
          <coding>
            <system value="http://hl7.org/fhir/questionnaire-item-control"/>
            <code value="radio-button"/>
            <display value="Radio Button"/>
          </coding>
          <text
                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."/>
        </valueCodeableConcept>
      </extension>
      <linkId value="1.5"/>
      <text value="Gender"/>
      <type value="choice"/>
      <answerOption>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix">
          <valueString value="(a)"/>
        </extension>
        <valueCoding>
          <code value="F"/>
          <display value="Female"/>
        </valueCoding>
        <initialSelected value="true"/>
      </answerOption>
      <answerOption>
        <valueCoding>
          <code value="M"/>
          <display value="Male"/>
        </valueCoding>
      </answerOption>
      <answerOption>
        <valueCoding>
          <code value="O"/>
          <display value="Other"/>
        </valueCoding>
      </answerOption>
      <answerOption>
        <valueCoding>
          <code value="U"/>
          <display value="Unknown"/>
        </valueCoding>
      </answerOption>
    </item>
  </item>
  <item>
    <extension
               url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
      <valueCodeableConcept>
        <coding>
          <system value="http://hl7.org/fhir/questionnaire-item-control"/>
          <code value="htable"/>
          <display value="Horizontal Answer Table"/>
        </coding>
        <text
              value="Questions within the group are columns in the table with possible answers as rows. Used for &#39;choice&#39; questions."/>
      </valueCodeableConcept>
    </extension>
    <linkId value="2"/>
    <code>
      <system value="http://example.org/system/code/sections"/>
      <code value="FAMILYDOC"/>
    </code>
    <prefix value="2"/>
    <text value="Family Physician Name"/>
    <type value="group"/>
    <item>
      <linkId value="2.1"/>
      <text value="Diabetes"/>
      <type value="choice"/>
      <answerOption>
        <valueCoding>
          <code value="diabetes-type1"/>
          <display value="Type 1"/>
        </valueCoding>
      </answerOption>
      <answerOption>
        <valueCoding>
          <code value="diabetes-type2"/>
          <display value="Type 2"/>
        </valueCoding>
      </answerOption>
    </item>
    <item>
      <linkId value="2.2"/>
      <text value="Other Information"/>
      <type value="choice"/>
      <answerOption>
        <valueCoding>
          <code value="otherinformation-hypertension"/>
          <display value="Hypertension"/>
        </valueCoding>
      </answerOption>
      <answerOption>
        <valueCoding>
          <code value="otherinformation-smoker"/>
          <display value="Smoker"/>
        </valueCoding>
      </answerOption>
    </item>
  </item>
  <item>
    <linkId value="3"/>
    <code>
      <system value="http://example.org/system/code/sections"/>
      <code value="SLIDER"/>
    </code>
    <prefix value="3"/>
    <text value="Slider demonstration"/>
    <type value="group"/>
    <item>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
        <valueCodeableConcept>
          <coding>
            <system value="http://hl7.org/fhir/questionnaire-item-control"/>
            <code value="slider"/>
            <display value="Slider"/>
          </coding>
          <text
                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."/>
        </valueCodeableConcept>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue">
        <valueInteger value="10"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/minValue">
        <valueInteger value="0"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/maxValue">
        <valueInteger value="100"/>
      </extension>
      <linkId value="3.1"/>
      <text value="Adjust the slider"/>
      <type value="integer"/>
      <initial>
        <valueInteger value="50"/>
      </initial>
    </item>
  </item>
</Questionnaire>