Structured Data Capture
3.0.0 - STU 3 International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 3.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

: SDC-Response to Adaptive PHQ9 - XML Representation

Page standards status: Informative

Raw xml | Download



<QuestionnaireResponse xmlns="http://hl7.org/fhir">
  <id value="adaptive-questionnaireresponse-sdc-example-phq9"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="1" cellpadding="0" cellspacing="0" style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 2px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="The linkId for the item">LinkId</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Text for the item">Text</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Minimum and Maximum # of times the the itemcan appear in the instance">Definition</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="The type of the item">Answer</a><span style="float: right"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_q_root.gif" alt="." style="background-color: white; background-color: inherit" title="QuestionnaireResponseRoot" class="hierarchy"/> adaptive-questionnaireresponse-sdc-example-phq9</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"></td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Questionnaire:#contained-adaptive-questionnaire-example-phq9</td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-group.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Group" class="hierarchy"/> H1/T1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Over the last two weeks, how often have you been bothered by any of the following problems?</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: white; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Little interest or pleasure in doing things?</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Not-at-all: Not at all</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q2</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Feeling down, depressed, or hopeless?</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Not-at-all: Not at all</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: white; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q3</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Trouble falling or staying asleep, or sleeping too much?</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Not-at-all: Not at all</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q4</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Feeling tired or having little energy?</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Several-days: Several days</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: white; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q5</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Poor appetite or overeating?</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] More than half the days: More than half the days</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q6</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Feeling bad about yourself - or that you are a failure or have let yourself or your family down?</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Several-days: Several days</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: white; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q7</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Trouble concentrating on things, such as reading the newspaper or watching television?</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Nearly every day: Nearly every day</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q8</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Moving or speaking so slowly that other people could gave noticed? Or so fidgety or restless that you have been moving a lot more than usual?</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] More than half the days: More than half the days</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: white; background-color: inherit" title="Item" class="hierarchy"/> H1/T1/Q9</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Thoughts that you would be better off dead, or thoughts of hurting yourself in some way?</td><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>[not stated] Several-days: Several days</span></span></td></tr>
<tr style="border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon-q-string.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Item" class="hierarchy"/> H1/TS</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Patient health questionnaire 9 item total score</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span><span>13 score</span></span></td></tr>
<tr><td colspan="4" class="hierarchy"><br/><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <contained>
    <Questionnaire>
      <id value="contained-adaptive-questionnaire-example-phq9"/>
      <extension
                 url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive">
        <valueBoolean value="true"/>
      </extension>
      <version value="0.0.1"/>
      <name value="SDCPHQ9"/>
      <title value="Patient Health Questionnaire - 9 Item"/>
      <derivedFrom
                   value="http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-PHQ9"/>
      <status value="draft"/>
      <experimental value="true"/>
      <subjectType value="Patient"/>
      <item>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/questionnaire-hidden">
          <valueBoolean value="true"/>
        </extension>
        <linkId value="H1/T1"/>
        <code>
          <system value="http://loinc.org"/>
          <code value="44261-6"/>
          <display
                   value="Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]"/>
        </code>
        <text
              value="Over the last two weeks, how often have you been bothered by any of the following problems?"/>
        <type value="group"/>
        <item>
          <linkId value="H1/T1/Q1"/>
          <text value="Little interest or pleasure in doing things?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q2"/>
          <text value="Feeling down, depressed, or hopeless?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q3"/>
          <text
                value="Trouble falling or staying asleep, or sleeping too much?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q4"/>
          <text value="Feeling tired or having little energy?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q5"/>
          <text value="Poor appetite or overeating?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q6"/>
          <text
                value="Feeling bad about yourself - or that you are a failure or have let yourself or your family down?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q7"/>
          <text
                value="Trouble concentrating on things, such as reading the newspaper or watching television?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q8"/>
          <text
                value="Moving or speaking so slowly that other people could gave noticed? Or so fidgety or restless that you have been moving a lot more than usual?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/T1/Q9"/>
          <text
                value="Thoughts that you would be better off dead, or thoughts of hurting yourself in some way?"/>
          <type value="choice"/>
          <required value="true"/>
          <repeats value="false"/>
          <answerValueSet value="#VSPHQ9"/>
        </item>
        <item>
          <linkId value="H1/TS"/>
          <text value="Patient health questionnaire 9 item total score"/>
          <type value="quantity"/>
          <repeats value="false"/>
          <readOnly value="true"/>
        </item>
      </item>
    </Questionnaire>
  </contained>
  <contained>
    <ValueSet>
      <id value="VSPHQ9"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset"/>
      </meta>
      <url value="http://hl7.org/fhir/uv/sdc/ValueSet/VSPHQ9"/>
      <name value="VSPHQ9"/>
      <status value="draft"/>
      <description
                   value="The answer list for questions addressing the frequency in which patient reports experiencing behaviors that are assessed in the PHQ-9 Questionnaire."/>
      <immutable value="true"/>
      <compose>
        <include>
          <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9"/>
          <concept>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
              <valueDecimal value="0"/>
            </extension>
            <code value="Not-at-all"/>
            <display value="Not at all"/>
          </concept>
          <concept>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
              <valueDecimal value="1"/>
            </extension>
            <code value="Several-days"/>
            <display value="Several days"/>
          </concept>
          <concept>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
              <valueDecimal value="2"/>
            </extension>
            <code value="More than half the days"/>
            <display value="More than half the days"/>
          </concept>
          <concept>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
              <valueDecimal value="3"/>
            </extension>
            <code value="Nearly every day"/>
            <display value="Nearly every day"/>
          </concept>
        </include>
      </compose>
    </ValueSet>
  </contained>
  <identifier>
    <value value="adaptive-questionnaireresponse-example-phq9"/>
  </identifier>
  <questionnaire value="#contained-adaptive-questionnaire-example-phq9"/>
  <status value="completed"/>
  <subject>
    <reference value="http://hl7.org/fhir/Patient/proband"/>
  </subject>
  <authored value="2019-08-21T20:36:57.544Z"/>
  <author>
    <reference value="http://hl7.org/fhir/Patient/proband"/>
  </author>
  <item>
    <linkId value="H1/T1"/>
    <text
          value="Over the last two weeks, how often have you been bothered by any of the following problems?"/>
    <item>
      <linkId value="H1/T1/Q1"/>
      <text value="Little interest or pleasure in doing things?"/>
      <answer>
        <valueCoding>
          <code value="Not-at-all"/>
          <display value="Not at all"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q2"/>
      <text value="Feeling down, depressed, or hopeless?"/>
      <answer>
        <valueCoding>
          <code value="Not-at-all"/>
          <display value="Not at all"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q3"/>
      <text value="Trouble falling or staying asleep, or sleeping too much?"/>
      <answer>
        <valueCoding>
          <code value="Not-at-all"/>
          <display value="Not at all"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q4"/>
      <text value="Feeling tired or having little energy?"/>
      <answer>
        <valueCoding>
          <code value="Several-days"/>
          <display value="Several days"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q5"/>
      <text value="Poor appetite or overeating?"/>
      <answer>
        <valueCoding>
          <code value="More than half the days"/>
          <display value="More than half the days"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q6"/>
      <text
            value="Feeling bad about yourself - or that you are a failure or have let yourself or your family down?"/>
      <answer>
        <valueCoding>
          <code value="Several-days"/>
          <display value="Several days"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q7"/>
      <text
            value="Trouble concentrating on things, such as reading the newspaper or watching television?"/>
      <answer>
        <valueCoding>
          <code value="Nearly every day"/>
          <display value="Nearly every day"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q8"/>
      <text
            value="Moving or speaking so slowly that other people could gave noticed? Or so fidgety or restless that you have been moving a lot more than usual?"/>
      <answer>
        <valueCoding>
          <code value="More than half the days"/>
          <display value="More than half the days"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/T1/Q9"/>
      <text
            value="Thoughts that you would be better off dead, or thoughts of hurting yourself in some way?"/>
      <answer>
        <valueCoding>
          <code value="Several-days"/>
          <display value="Several days"/>
        </valueCoding>
      </answer>
    </item>
    <item>
      <linkId value="H1/TS"/>
      <text value="Patient health questionnaire 9 item total score"/>
      <answer>
        <valueQuantity>
          <value value="13"/>
          <unit value="score"/>
        </valueQuantity>
      </answer>
    </item>
  </item>
</QuestionnaireResponse>