This page is part of the Argonaut Questionnaire Implementation Guide (v1.0.0: Release) based on FHIR R3. This is the current published version. For a full list of available versions, see the Directory of published versions
JSON Format: QuestionnaireResponse-adaptive-questionnaireresponse-example-sampler
Download Raw json
{ "resourceType" : "QuestionnaireResponse", "id" : "adaptive-questionnaireresponse-example-sampler", "meta" : { "profile" : [ "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/argo-adap-questionnaireresponse" ] }, "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <h3>Argonaut Questionnaire Sampler Adaptive View</h3>\n <p><em>NOTE: These examples are for educational and testing purposes,\n see the form copyright statement and do not redistribute without expressed\n permission from the form author.</em></p>\n <p>This simulates is a simple adaptive questionnaire implementation.\n After answering and submitting the first question another question is randomly\n returned from the selected questionnaire. This is repeated two more times and\n then the adaptive questionnaire will finish by changing the status to completed\n and returning a score. Note that although these questionnaires are designed as forms and\n are not really appropriate for the adaptive questionnaire use case, they are used here to\n demonstrate a proof of concept implementation.<br />\n <strong>Questionnaire URL:</strong> http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler<br />\n <strong>Date Completed:</strong> 2018-07-26<br /><br />\n <em>Copyright: You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.</em></p>\n <hr /><hr /><br /> <strong>Question:</strong> (linkID=score) Cumulative Score is ... (this is hidden text/should not be displayed to the user)<br /><strong>Response:</strong> 0<br /><br /> <strong>Question:</strong> (linkID=std_dev) Standard Deviation is ... (this is hidden text/should not be displayed to the user)<br /><strong>Response:</strong> 0.0<br /><br /> <strong>Question:</strong> (linkID=g2.q1) Check the box if the following statement is true. The average air speed velocity of a laden European swallow is greater than a laden African swallow.<br /><strong>Response:</strong> False<br /><br /> <strong>Question:</strong> (linkID=g6.q1) If a laden swallow left Camelot on 7/5/2018 and noon when would it reach Castle Anthrax?<br /><strong>Response:</strong> 2019-02-12T01:01<br /><br /> <strong>Question:</strong> (linkID=g4.q1) What is the average air speed velocity of a laden swallow in m/sec?<br /><strong>Response:</strong> 11<br /></div>" }, "contained" : [ { "resourceType" : "Questionnaire", "id" : "contained-adaptive-questionnaire-example-sampler", "meta" : { "profile" : [ "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/argo-questionnaire" ] }, "extension" : [ { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-timeLimit", "valueDuration" : { "value" : 5, "unit" : "minute", "system" : "http://unitsofmeasure.org", "code" : "min" } } ], "url" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler", "title" : "Contained Adaptive Argonaut Questionnaire Sampler", "status" : "active", "date" : "2019-02-13T00:40:08.804800Z", "copyright" : "You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.", "item" : [ { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", "valueBoolean" : true }, { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-itemOrder", "valueInteger" : 1 } ], "linkId" : "score", "text" : "Cumulative Score is ...", "type" : "integer", "repeats" : false, "readOnly" : true }, { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden", "valueBoolean" : true }, { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-itemOrder", "valueInteger" : 2 } ], "linkId" : "std_dev", "text" : "Standard Deviation is ...", "type" : "decimal", "repeats" : false, "readOnly" : true }, { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-ordinalValue", "valueDecimal" : 17 }, { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-itemOrder", "valueInteger" : 3 } ], "linkId" : "g2.q1", "definition" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler-g2.q1", "text" : "Check the box if the following statement is true. The average air speed velocity of a laden European swallow is greater than a laden African swallow.", "type" : "boolean", "required" : true, "repeats" : false }, { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-ordinalValue", "valueDecimal" : 3 }, { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-itemOrder", "valueInteger" : 4 } ], "linkId" : "g6.q1", "definition" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler-g6.q1", "text" : "If a laden swallow left Camelot on 7/5/2018 and noon when would it reach Castle Anthrax?", "type" : "dateTime", "required" : true, "repeats" : false }, { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-ordinalValue", "valueDecimal" : 3 }, { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-itemOrder", "valueInteger" : 5 } ], "linkId" : "g4.q1", "definition" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler-g4.q1", "text" : "What is the average air speed velocity of a laden swallow in m/sec?", "type" : "integer", "required" : true, "repeats" : false } ] } ], "extension" : [ { "url" : "http://fhir.org/guides/argonaut/questionnaire/StructureDefinition/extension-responsePeriod", "valuePeriod" : { "start" : "2019-02-13T00:40:07.366415Z", "end" : "2019-02-13T00:40:50.850571Z" } } ], "identifier" : { "value" : "adaptive-questionnaireresponse-example-sampler" }, "questionnaire" : { "reference" : "#contained-adaptive-questionnaire-example-sampler" }, "status" : "completed", "subject" : { "reference" : "Patient/subject1" }, "context" : { "reference" : "Encounter/encounter1" }, "authored" : "2019-02-13T00:40:07.366415Z", "author" : { "reference" : "Practitioner/prov-admin1" }, "source" : { "reference" : "Patient/subject1" }, "item" : [ { "linkId" : "score", "text" : "Cumulative Score is ...", "answer" : [ { "valueInteger" : 0 } ] }, { "linkId" : "std_dev", "text" : "Standard Deviation is ...", "answer" : [ { "valueDecimal" : 0.0 } ] }, { "linkId" : "g2.q1", "definition" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler-g2.q1", "text" : "Check the box if the following statement is true. The average air speed velocity of a laden European swallow is greater than a laden African swallow.", "answer" : [ { "valueBoolean" : false } ] }, { "linkId" : "g6.q1", "definition" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler-g6.q1", "text" : "If a laden swallow left Camelot on 7/5/2018 and noon when would it reach Castle Anthrax?", "answer" : [ { "valueDateTime" : "2019-02-12T01:01:00Z" } ] }, { "linkId" : "g4.q1", "definition" : "http://fhir.org/guides/argonaut/questionnaire/Questionnaire/questionnaire-example-sampler-g4.q1", "text" : "What is the average air speed velocity of a laden swallow in m/sec?", "answer" : [ { "valueInteger" : 11 } ] } ] }