Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Observation-example-alcohol-type.xml

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

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

Jump past Narrative

Example of a multi-select values/answers Observation with individual answers/values as components (id = "alcohol-type")

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

<Observation xmlns="http://hl7.org/fhir">
  <id value="alcohol-type"/> <!--     the mandatory quality flags:     --><text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </p> <p/>  <p> <b> category</b> : <span> Social History</span> </p> <p> <b> code</b> : <span> Type of alcohol consumed</span> </p> <p> <b> subject</b> : <a> Peter James Chalmers. Generated Summary: Medical record number: 12345 (USUAL); active;
           Peter James Chalmers (OFFICIAL), Jim , Peter James Windsor (MAIDEN); , Phone: (03) 5555
           6473, Phone: (03) 3410 5613, Phone: (03) 5555 8834; gender: male; birthDate: 1974-12-25;
           </a> </p> <p> <b> effective</b> : 11 Dec. 2014, 3:44:16 pm</p> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : <span> alcohol-type</span> </p> <p> <b> value</b> : <span> Wine</span> </p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : <span> alcohol-type</span> </p> <p> <b> value</b> : <span> Beer</span> </p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : <span> alcohol-type</span> </p> <p> <b> value</b> : <span> Liquor</span> </p> </blockquote> </div> </text> <status value="final"/> <!--    
    Observations are often coded in multiple code systems.
      - LOINC
    - or SNOMED
      -and/or the source system may provides its own "local" code, which may be less or
   more granular than LOINC.
  In this example there is only local codes
      --><category> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> 
      <code value="social-history"/> 
      <display value="Social History"/> 
    </coding> 
    <text value="Social History"/> 
  </category> 
  <code> <!--     Local - unable to identify a proper LOINC code     --><coding> 
      <system value="http://acme-rehab.org"/> 
      <code value="alcohol-type"/> 
      <display value="Type of alcohol consumed"/> 
    </coding> 
    <text value="Type of alcohol consumed"/> 
  </code> 
  <subject> 
    <reference value="Patient/example"/> 
    <display value="Peter James Chalmers"/> 
  </subject> 
  <effectiveDateTime value="2014-12-11T04:44:16Z"/> <!--     When the code is the same as component.code the value element must be empty per invariant
   obs-7
       --><!--    Using components since multi-select values/answers share the same attributes (such
   as id, performer, effective date, status, comment..    --><!--    answer 1    --><component> <!--    component.code is same as code    --><code> <!--     Local - unable to identify a proper LOINC code     --><coding> 
        <system value="http://acme-rehab.org"/> 
        <code value="alcohol-type"/> 
      </coding> 
    </code> <!--    coded value using SNONED-CT, could also use a local code here or only text    --><valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="35748005"/> 
        <display value="Wine (substance)"/> 
      </coding> 
      <text value="Wine"/> 
    </valueCodeableConcept> 
  </component> <!--    answer 2    --><component> <!--    component.code is same as code    --><code> <!--     Local - unable to identify a proper LOINC code     --><coding> 
        <system value="http://acme-rehab.org"/> 
        <code value="alcohol-type"/> 
      </coding> 
    </code> <!--    coded value using SNONED-CT, could also use a local code here or only text    --><valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="53410008"/> 
        <display value="Beer (substance)"/> 
      </coding> 
      <text value="Beer"/> 
    </valueCodeableConcept> 
  </component> <!--    answer 3    --><component> <!--    component.code is same as code    --><code> <!--     Local - unable to identify a proper LOINC code     --><coding> 
        <system value="http://acme-rehab.org"/> 
        <code value="alcohol-type"/> 
      </coding> 
    </code> <!--    coded value using SNONED-CT, could also use a local code here or only text    --><valueCodeableConcept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="6524003"/> 
        <display value=" Distilled spirits (substance)"/> 
      </coding> 
      <text value="Liquor"/> 
    </valueCodeableConcept> 
  </component> 
</Observation> 

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.