Connectathon 11 Snapshot

This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). 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-bluebook.xml

Raw XML (canonical form)

Neonate record from New South Wales, Australia "My Personal Health Record" example (id = "bb")

<Questionnaire xmlns="http://hl7.org/fhir">
  <!--   Please not that in this questionnaire, the questions are mostly uncoded.  That is, the
   questions are not identified using the <concept> element. It will therefore
    be hard to extract useful information in an automated way from this questionnaire.
   This is, however, quite often the case when modelling existing questionnaires   -->
  <id value="bb"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <pre>
        <b>Birth details - To be completed by health professional</b>
  Name of child: ____________________________________
            Sex: __
            
  Neonatal Information
    Birth Weight (kg): ___________
    Birth Length (cm): ___________
    Vitamin K given  : __
             1st dose: ___________
             2nd dose: ___________
    Hep B given      : __
      Date given     : ___________
    Abnormalities noted at birth:
      _______________________________________________
      </pre>
    </div>
  </text>
  <status value="draft"/>
  <date value="2013-02-19"/>
  <publisher value="New South Wales Department of Health"/>
  <title value="NSW Government My Personal Health Record"/>
  <subjectType value="Patient"/>
  <item>
    <linkId value="birthDetails"/>
    <text value="Birth details - To be completed by health professional"/>
    <type value="group"/>
    <item>
      <type value="group"/>
      <item>
        <linkId value="nameOfChild"/>
        <text value="Name of child"/>
        <type value="string"/>
      </item>
      <item>
        <linkId value="sex"/>
        <text value="Sex"/>
        <type value="choice"/>
        <option>
          <code value="F"/>
        </option>
        <option>
          <code value="M"/>
        </option>
      </item>
    </item>
    <item>
      <linkId value="neonatalInformation"/>
      <text value="Neonatal Information"/>
      <type value="group"/>
      <item>
        <linkId value="birthWeight"/>
        <text value="Birth weight (kg)"/>
        <type value="decimal"/>
      </item>
      <item>
        <linkId value="birthLength"/>
        <text value="Birth length (cm)"/>
        <type value="decimal"/>
      </item>
      <item>
        <linkId value="vitaminKgiven"/>
        <text value="Vitamin K given"/>
        <type value="choice"/>
        <option>
          <code value="INJECTION"/>
        </option>
        <option>
          <code value="INTRAVENOUS"/>
        </option>
        <option>
          <code value="ORAL"/>
        </option>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen">
            <extension url="question">
              <valueString value="vitaminKgiven"/>
            </extension>
            <extension url="answered">
              <valueBoolean value="true"/>
            </extension>
          </extension>
          <linkId value="vitaminKgivenDoses"/>
          <type value="group"/>
          <item>
            <linkId value="vitaminiKDose1"/>
            <text value="1st dose"/>
            <type value="dateTime"/>
          </item>
          <item>
            <linkId value="vitaminiKDose2"/>
            <text value="2nd dose"/>
            <type value="dateTime"/>
          </item>
        </item>
      </item>
      <item>
        <linkId value="hepBgiven"/>
        <text value="Hep B given y / n"/>
        <type value="boolean"/>
        <item>
          <linkId value="hepBgivenDate"/>
          <text value="Date given"/>
          <type value="date"/>
        </item>
      </item>
      <item>
        <linkId value="abnormalitiesAtBirth"/>
        <text value="Abnormalities noted at birth"/>
        <type value="string"/>
      </item>
    </item>
  </item>
</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.