Argonaut Questionnaire Implementation Guide (Release 1.0.0 )

This page is part of the Argonaut Questionnaire Implementation Guide (v1.0.0: Release) based on FHIR R3. This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

XML Format: QuestionnaireResponse-adaptive-questionnaireresponse-example-sampler

Download Raw xml


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