R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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-bluebook.xml

FHIR Infrastructure Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form)

Jump past Narrative

Real-world NSW My Personal Health Record example (id = "bb")

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
  <!--   Please not that in this questionnaire, the questions are mostly unnamed, that is, the
   questions are not identified using the <name> 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 modeling existing questionnaires   -->
  <id value="bb"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <pre> 
        Cathy Jones, female. Birth weight 3.25 kg at 44.3 cm. 
        Injection of Vitamin K given on 1972-11-30 (first dose) and 1972-12-11 (second
         dose)
        Note: Was able to speak Chinese at birth.
      </pre> 
    </div> 
  </text> 
  <status value="completed"/> 
  <subject> 
    <reference value="http://hl7.org/fhir/Patient/1"/> 
  </subject> 
  <authored value="2013-02-19T14:15:00+10:00"/> 
  <author> 
    <reference value="http://hl7.org/fhir/Practitioner/example"/> 
  </author> 
    <!--   Many groups left out of this example   -->
  <item> 
    <linkId value="birthDetails"/> 
    <text value="Birth details - To be completed by health professional"/> 
    <item> 
    <linkId value="group"/> 
      <item> 
        <linkId value="nameOfChild"/> 
        <text value="Name of child"/> 
        <answer> 
          <valueString value="Cathy Jones"/> 
        </answer> 
      </item> 
      <item> 
        <linkId value="sex"/> 
        <text value="Sex"/> 
        <answer> 
          <valueCoding> 
            <code value="f"/> 
          </valueCoding> 
        </answer> 
      </item> 
    </item> 
    <item> 
      <linkId value="neonatalInformation"/> 
      <text value="Neonatal Information"/> 
      <item> 
        <linkId value="birthWeight"/> 
        <text value="Birth weight (kg)"/> 
        <answer> 
          <valueDecimal value="3.25"/> 
        </answer> 
      </item> 
      <item> 
        <linkId value="birthLength"/> 
        <text value="Birth length (cm)"/> 
        <answer> 
          <valueDecimal value="44.3"/> 
        </answer> 
      </item> 
      <item> 
        <linkId value="vitaminKgiven"/> 
        <text value="Vitamin K given"/> 
        <answer> 
          <valueCoding> 
            <code value="INJECTION"/> 
          </valueCoding> 
          <item> 
            <linkId value="vitaminKgivenDoses"/> 
            <item> 
              <linkId value="vitaminKDose1"/> 
              <text value="1st dose"/> 
              <answer> 
                <valueDate value="1972-11-30"/> 
              </answer> 
            </item> 
            <item> 
              <linkId value="vitaminKDose2"/> 
              <text value="2nd dose"/> 
              <answer> 
                <valueDate value="1972-12-11"/> 
              </answer> 
            </item> 
          </item> 
        </answer> 
      </item> 
      <item> 
        <linkId value="hepBgiven"/> 
        <text value="Hep B given y / n"/> 
        <answer> 
          <valueBoolean value="true"/> 
          <item> 
            <linkId value="hepBgivenDate"/> 
            <text value="Date given"/> 
            <answer> 
              <valueDate value="1972-12-04"/> 
            </answer> 
          </item> 
        </answer> 
      </item> 
      <item> 
        <linkId value="abnormalitiesAtBirth"/> 
        <text value="Abnormalities noted at birth"/> 
        <answer> 
          <valueString value="Already able to speak Chinese"/> 
        </answer> 
      </item> 
    </item> 
  </item> 
</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.