Release 4

Questionnaireresponse-example-gcs.xml

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

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Glasgow Coma Score example answers (id = "gcs")

<?xml version="1.0" encoding="UTF-8"?>

<QuestionnaireResponse xmlns="http://hl7.org/fhir">
  <id value="gcs"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : gcs</p> <p> <b> questionnaire</b> : <a> Questionnaire/gcs</a> </p> <p> <b> status</b> : completed</p> <p> <b> subject</b> : <a> Peter James Chalmers</a> </p> <p> <b> authored</b> : Dec 11, 2014 4:44:16 AM</p> <p> <b> source</b> : <a> Practitioner/f007</a> </p> <blockquote> <p> <b> item</b> </p> <p> <b> linkId</b> : 1.1</p> <h3> Answers</h3> <table> <tr> <td> -</td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> Confused (Details: LOINC code LA6560-2 = 'Confused', stated as 'Confused')</td> </tr> </table> </blockquote> <blockquote> <p> <b> item</b> </p> <p> <b> linkId</b> : 1.2</p> <h3> Answers</h3> <table> <tr> <td> -</td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> Localizing pain (Details: LOINC code LA6566-9 = 'Localizing pain', stated as 'Localizing
               pain')</td> </tr> </table> </blockquote> <blockquote> <p> <b> item</b> </p> <p> <b> linkId</b> : 1.3</p> <h3> Answers</h3> <table> <tr> <td> -</td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> Eyes open spontaneously (Details: LOINC code LA6556-0 = 'Eyes open spontaneously', stated
               as 'Eyes open spontaneously')</td> </tr> </table> </blockquote> </div> </text> <questionnaire value="Questionnaire/gcs"/> 
  <status value="completed"/> 
  <subject> 
    <reference value="Patient/example"/> 
    <display value="Peter James Chalmers"/> 
  </subject> 
  <authored value="2014-12-11T04:44:16Z"/> 
  <source> 
    <reference value="Practitioner/f007"/> 
  </source> 
  <item> 
    <linkId value="1.1"/> 
    <answer> 
      <valueCoding> 
        <!--      This example has the extension which maps a numeric score to the code this may already
         be known and unecessary in the Observation resource     -->
        <extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
          <!--     from Element: extension     -->
          <valueDecimal value="4"/> 
          <!--     0..1 Value of extension     -->
        </extension> 
        <system value="http://loinc.org"/> 
        <!--    technicallly the code is '5' and the LA is the identifier to do hav e both  would require
         an extention    -->
        <code value="LA6560-2"/> 
        <display value="Confused"/> 
      </valueCoding> 
    </answer> 
  </item> 
  <item> 
    <linkId value="1.2"/> 
    <answer> 
      <valueCoding> 
        <!--      This example has the extension which maps a numeric score to the code this may already
         be known and unecessary in the Observation resource     -->
        <extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
          <!--     from Element: extension     -->
          <valueDecimal value="5"/> 
          <!--     0..1 Value of extension     -->
        </extension> 
        <system value="http://loinc.org"/> 
        <code value="LA6566-9"/> 
        <display value="Localizing pain"/> 
      </valueCoding> 
    </answer> 
  </item> 
  <item> 
    <linkId value="1.3"/> 
    <answer> 
      <valueCoding> 
        <!--      This example has the extension which maps a numeric score to the code this may already
         be known and unecessary in the Observation resource     -->
        <extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
          <!--     from Element: extension     -->
          <valueDecimal value="4"/> 
          <!--     0..1 Value of extension     -->
        </extension> 
        <system value="http://loinc.org"/> 
        <!--    technicallly the code is '4' and the LA is the identifier to do hav e both  would require
         an extention    -->
        <code value="LA6556-0"/> 
        <display value="Eyes open spontaneously"/> 
      </valueCoding> 
    </answer> 
  </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.