Structured Data Capture
3.0.0 - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: SDC-Response to Adaptive PHQ9 - TTL Representation

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:QuestionnaireResponse;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "adaptive-questionnaireresponse-sdc-example-phq9"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<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=\"http://hl7.org/fhir/R4/help16.png\" 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\">QuestionnaireResponse</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td></tr>\r\n<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><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td></tr>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<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><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>\r\n<tr><td colspan=\"4\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Questionnaire;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "contained-adaptive-questionnaire-example-phq9" ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive" ];
       fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]     ];
     fhir:Questionnaire.version [ fhir:value "0.0.1" ];
     fhir:Questionnaire.name [ fhir:value "SDCPHQ9" ];
     fhir:Questionnaire.title [ fhir:value "Patient Health Questionnaire - 9 Item" ];
     fhir:Questionnaire.derivedFrom [
       fhir:value "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-PHQ9";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-PHQ9>     ];
     fhir:Questionnaire.status [ fhir:value "draft" ];
     fhir:Questionnaire.experimental [ fhir:value "true"^^xsd:boolean ];
     fhir:Questionnaire.subjectType [
       fhir:value "Patient";
       fhir:index 0     ];
     fhir:Questionnaire.item [
       fhir:index 0;
       fhir:Questionnaire.item.linkId [ fhir:value "H1/T1" ];
       fhir:Questionnaire.item.text [ fhir:value "Over the last two weeks, how often have you been bothered by any of the following problems?" ];
       fhir:Questionnaire.item.type [ fhir:value "group" ];
       fhir:Questionnaire.item.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q1" ];
         fhir:Questionnaire.item.prefix [ fhir:value "1." ];
         fhir:Questionnaire.item.text [ fhir:value "Little interest or pleasure in doing things?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q2" ];
         fhir:Questionnaire.item.prefix [ fhir:value "2." ];
         fhir:Questionnaire.item.text [ fhir:value "Feeling down, depressed, or hopeless?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 2;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q3" ];
         fhir:Questionnaire.item.prefix [ fhir:value "3." ];
         fhir:Questionnaire.item.text [ fhir:value "Trouble falling or staying asleep, or sleeping too much?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 3;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q4" ];
         fhir:Questionnaire.item.prefix [ fhir:value "4." ];
         fhir:Questionnaire.item.text [ fhir:value "Feeling tired or having little energy?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 4;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q5" ];
         fhir:Questionnaire.item.prefix [ fhir:value "5." ];
         fhir:Questionnaire.item.text [ fhir:value "Poor appetite or overeating?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 5;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q6" ];
         fhir:Questionnaire.item.prefix [ fhir:value "6." ];
         fhir:Questionnaire.item.text [ fhir:value "Feeling bad about yourself - or that you are a failure or have let yourself or your family down?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 6;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q7" ];
         fhir:Questionnaire.item.prefix [ fhir:value "7." ];
         fhir:Questionnaire.item.text [ fhir:value "Trouble concentrating on things, such as reading the newspaper or watching television?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 7;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q8" ];
         fhir:Questionnaire.item.prefix [ fhir:value "8." ];
         fhir:Questionnaire.item.text [ fhir: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?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 8;
         fhir:Questionnaire.item.linkId [ fhir:value "H1/T1/Q9" ];
         fhir:Questionnaire.item.prefix [ fhir:value "9." ];
         fhir:Questionnaire.item.text [ fhir:value "Thoughts that you would be better off dead, or thoughts of hurting yourself in some way?" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.answerValueSet [ fhir:value "#VSPHQ9" ]       ], [
         fhir:index 9;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:Questionnaire.item.linkId [ fhir:value "H1/TS" ];
         fhir:Questionnaire.item.code [
           fhir:index 0;
           a loinc:44261-6;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "44261-6" ];
           fhir:Coding.display [ fhir:value "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]" ]         ];
         fhir:Questionnaire.item.text [ fhir:value "Patient health questionnaire 9 item total score" ];
         fhir:Questionnaire.item.type [ fhir:value "quantity" ];
         fhir:Questionnaire.item.repeats [ fhir:value "false"^^xsd:boolean ];
         fhir:Questionnaire.item.readOnly [ fhir:value "true"^^xsd:boolean ]       ]     ]
  ], [
     a fhir:ValueSet;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "VSPHQ9" ];
     fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/uv/sdc/ValueSet/VSPHQ9" ];
     fhir:ValueSet.name [ fhir:value "VSPHQ9" ];
     fhir:ValueSet.status [ fhir:value "draft" ];
     fhir:ValueSet.description [ fhir:value "The answer list for questions addressing the frequency in which patient reports experiencing behaviors that are assessed in the PHQ-9 Questionnaire." ];
     fhir:ValueSet.immutable [ fhir:value "true"^^xsd:boolean ];
     fhir:ValueSet.compose [
       fhir:ValueSet.compose.include [
         fhir:index 0;
         fhir:ValueSet.compose.include.system [ fhir:value "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9" ];
         fhir:ValueSet.compose.include.concept [
           fhir:index 0;
           fhir:ValueSet.compose.include.concept.code [ fhir:value "Not-at-all" ];
           fhir:ValueSet.compose.include.concept.display [ fhir:value "Not at all" ]         ], [
           fhir:index 1;
           fhir:ValueSet.compose.include.concept.code [ fhir:value "Several-days" ];
           fhir:ValueSet.compose.include.concept.display [ fhir:value "Several days" ]         ], [
           fhir:index 2;
           fhir:ValueSet.compose.include.concept.code [ fhir:value "More than half the days" ];
           fhir:ValueSet.compose.include.concept.display [ fhir:value "More than half the days" ]         ], [
           fhir:index 3;
           fhir:ValueSet.compose.include.concept.code [ fhir:value "Nearly every day" ];
           fhir:ValueSet.compose.include.concept.display [ fhir:value "Nearly every day" ]         ]       ]     ]
  ];
  fhir:QuestionnaireResponse.identifier [
     fhir:Identifier.value [ fhir:value "adaptive-questionnaireresponse-example-phq9" ]
  ];
  fhir:QuestionnaireResponse.questionnaire [ fhir:value "#contained-adaptive-questionnaire-example-phq9"];
  fhir:QuestionnaireResponse.status [ fhir:value "completed"];
  fhir:QuestionnaireResponse.subject [
     fhir:link <http://hl7.org/fhir/Patient/proband>;
     fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Patient/proband" ]
  ];
  fhir:QuestionnaireResponse.authored [ fhir:value "2019-08-21T20:36:57.544Z"^^xsd:dateTime];
  fhir:QuestionnaireResponse.author [
     fhir:link <http://hl7.org/fhir/Patient/proband>;
     fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Patient/proband" ]
  ];
  fhir:QuestionnaireResponse.item [
     fhir:index 0;
     fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1" ];
     fhir:QuestionnaireResponse.item.text [ fhir:value "Over the last two weeks, how often have you been bothered by any of the following problems?" ];
     fhir:QuestionnaireResponse.item.item [
       fhir:index 0;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q1" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Little interest or pleasure in doing things?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Not-at-all" ];
           fhir:Coding.display [ fhir:value "Not at all" ]         ]       ]     ], [
       fhir:index 1;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q2" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Feeling down, depressed, or hopeless?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Not-at-all" ];
           fhir:Coding.display [ fhir:value "Not at all" ]         ]       ]     ], [
       fhir:index 2;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q3" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Trouble falling or staying asleep, or sleeping too much?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Not-at-all" ];
           fhir:Coding.display [ fhir:value "Not at all" ]         ]       ]     ], [
       fhir:index 3;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q4" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Feeling tired or having little energy?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Several-days" ];
           fhir:Coding.display [ fhir:value "Several days" ]         ]       ]     ], [
       fhir:index 4;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q5" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Poor appetite or overeating?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "More than half the days" ];
           fhir:Coding.display [ fhir:value "More than half the days" ]         ]       ]     ], [
       fhir:index 5;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q6" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Feeling bad about yourself - or that you are a failure or have let yourself or your family down?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Several-days" ];
           fhir:Coding.display [ fhir:value "Several days" ]         ]       ]     ], [
       fhir:index 6;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q7" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Trouble concentrating on things, such as reading the newspaper or watching television?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Nearly every day" ];
           fhir:Coding.display [ fhir:value "Nearly every day" ]         ]       ]     ], [
       fhir:index 7;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q8" ];
       fhir:QuestionnaireResponse.item.text [ fhir: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?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "More than half the days" ];
           fhir:Coding.display [ fhir:value "More than half the days" ]         ]       ]     ], [
       fhir:index 8;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/T1/Q9" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Thoughts that you would be better off dead, or thoughts of hurting yourself in some way?" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueCoding [
           fhir:Coding.code [ fhir:value "Several-days" ];
           fhir:Coding.display [ fhir:value "Several days" ]         ]       ]     ], [
       fhir:index 9;
       fhir:QuestionnaireResponse.item.linkId [ fhir:value "H1/TS" ];
       fhir:QuestionnaireResponse.item.text [ fhir:value "Patient health questionnaire 9 item total score" ];
       fhir:QuestionnaireResponse.item.answer [
         fhir:index 0;
         fhir:QuestionnaireResponse.item.answer.valueQuantity [
           fhir:Quantity.value [ fhir:value "13"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "score" ]         ]       ]     ]
  ].

<http://hl7.org/fhir/Patient/proband> a fhir:Patient.

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.