DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). 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

Questionnaire-example-f201-lifelines.xml

Raw XML (canonical form)

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

Raw XML

<Questionnaire xmlns="http://hl7.org/fhir">
 <id value="f201"/>
   <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
<pre>Lifelines Questionnaire 1 part 1
  1. Do you have allergies?
  2. General Questions:
    2.a) What is your gender?
    2.b) What is your date of birth?
    2.c) What is your country of birth?
    2.d) What is your marital status?
    3. Intoxications:
      3.a) Do you smoke?
      3.b) Do you drink alcohol?</pre>
    </div>
  </text>
  <status value="published"/>
  <date value="2010"/>
  <subjectType value="Patient"/>
  <group>
    <linkId value="root"/>
    <concept>
      <system value="http://example.org/system/code/lifelines/nl"/>
      <code value="VL 1-1, 18-65_1.2.2"/>
      <display value="Lifelines Questionnaire 1 part 1"/>
    </concept>
    <required value="true"/>
    <group>
      <linkId value="1"/>
      <question>
        <!--  Separate answer  -->
        <linkId value="1.1"/>
        <text value="Do you have allergies?"/>
      </question>
    </group>
    <group>
      <!--  Answers to general questions  -->
      <linkId value="2"/>
      <text value="General questions"/>
      <question>
        <linkId value="2.1"/>
        <text value="What is your gender?"/>
      </question>
      <question>
        <linkId value="2.2"/>
        <text value="What is your date of birth?"/>
      </question>
      <question>
        <linkId value="2.3"/>
        <text value="What is your country of birth?"/>
      </question>
      <question>
        <linkId value="2.4"/>
        <text value="What is your marital status?"/>
      </question>
    </group>
    <group>
      <linkId value="3"/>
      <!--  Answers to intoxications  -->
      <title value="Intoxications"/>
      <question>
        <linkId value="3.1"/>
        <text value="Do you smoke?"/>
      </question>
      <question>
        <linkId value="3.2"/>
        <text value="Do you drink alchohol?"/>
      </question>
    </group>
  </group>
</Questionnaire>

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.