R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example List/example (Turtle)

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

Raw Turtle (+ also see Turtle/RDF Format Specification)

General List Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:List ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <table>\n        <thead>\n          <tr>\n            <th>Condition</th>\n            <th>Severity</th>\n            <th>Date</th>\n            <th>Location</th>\n            <th>Status</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>Burnt Ear</td>\n            <td>Severe</td>\n            <td>24-May 2012</td>\n            <td>Left Ear</td>\n            <td>deleted</td>\n          </tr>\n          <tr>\n            <td>Asthma</td>\n            <td>Mild</td>\n            <td>21-Nov 2012</td>\n            <td>--</td>\n            <td>added</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "23974652" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:mode [ fhir:v "changes"] ; # 
  fhir:subject ( [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ) ; #   This list doesn't have a code. In actual fact, 
#    it's a Condition list produced at the end of an encounter 
#    to a regular primary care practitioner. But the only way
#    to know this is to hunt down the place it is used 
#    and find out  
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:date [ fhir:v "2012-11-25T22:17:00+11:00"^^xsd:dateTime] ; # 
  fhir:source [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:entry ( [
     fhir:flag [
       fhir:text [ fhir:v "Deleted due to error" ]
     ] ;
     fhir:deleted [ fhir:v "true"^^xsd:boolean ] ;
     fhir:item [
       fhir:reference [ fhir:v "Condition/example" ]
     ]
  ] [
     fhir:flag [
       fhir:text [ fhir:v "Added" ]
     ] ;
     fhir:item [
       fhir:reference [ fhir:v "Condition/example2" ]
     ]
  ] )] . # 

# -------------------------------------------------------------------------------------


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.