DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Questionnaireresponse-example-f201-lifelines.xml

Raw XML (canonical form)

Real-world lifelines questionnaire response (fictively taken from the patient) (id = "f201")

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
 <id value="f201"/>
   <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: f201</p><p><b>status</b>: completed</p><p><b>subject</b>: <a>Roel</a></p><p><b>author</b>: <a>Practitioner/f201</a></p><p><b>authored</b>: 18/06/2013 12:00:00 AM</p><p><b>source</b>: <a>Practitioner/f201</a></p><blockquote><p><b>group</b></p><p><b>linkId</b>: root</p><h3>Groups</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote></div></text><status value="completed"/>
  <!--   Fictive, only the below answers are non-fictive   -->
  <subject>
    <reference value="Patient/f201"/>
    <display value="Roel"/>
  </subject>
  <author>
    <reference value="Practitioner/f201"/>
  </author>
  <authored value="2013-06-18T00:00:00+01:00"/>
  <source>
    <reference value="Practitioner/f201"/>
  </source>
  <group>
    <linkId value="root"/>
    <group>
      <linkId value="1"/>
      <question>
        <!--   Seperate answer   -->
  <linkId value="1.1"/>
        <text value="Do you have allergies?"/>
        <answer>
          <valueString value="I am allergic to house dust"/>
        </answer>
      </question>
    </group>
    <group>
      <!--   Answers to general questions   -->
      <linkId value="2"/>
      <title value="General questions"/>
      <question>
        <linkId value="2.1"/>
        <text value="What is your gender?"/>
        <answer>
          <valueString value="Male"/>
        </answer>
      </question>
      <question>
        <linkId value="2.2"/>
        <text value="What is your date of birth?"/>
        <answer>
          <valueDate value="1960-03-13"/>
        </answer>
      </question>
      <question>
        <linkId value="2.3"/>
        <text value="What is your country of birth?"/>
        <answer>
          <valueString value="The Netherlands"/>
        </answer>
      </question>
      <question>
        <linkId value="2.4"/>
        <text value="What is your marital status?"/>
        <answer>
          <valueString value="married"/>
        </answer>
      </question>
    </group>
    <group>
      <!--   Answers to intoxications   -->
      <linkId value="3"/>
      <title value="Intoxications"/>
      <question>
        <linkId value="3.1"/>
        <text value="Do you smoke?"/>
        <answer>
          <valueString value="No"/>
        </answer>
      </question>
      <question>
        <linkId value="3.2"/>
        <text value="Do you drink alchohol?"/>
        <answer>
          <valueString value="No, but I used to drink"/>
        </answer>
      </question>
    </group>
  </group>
</QuestionnaireResponse>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.