This page is part of the FHIR Specification (v3.0.2: STU 3). 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
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Device, Patient, Practitioner |
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 ------------------------------------------------------------------- <http://hl7.org/fhir/List/example> a fhir:List; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.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:List.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59" ]; fhir:Identifier.value [ fhir:value "23974652" ] ]; fhir:List.status [ fhir:value "current"]; fhir:List.mode [ fhir:value "changes"]; fhir:List.subject [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:List.encounter [ fhir:link <http://hl7.org/fhir/Encounter/example>; fhir:Reference.reference [ fhir:value "Encounter/example" ] ]; fhir:List.date [ fhir:value "2012-11-25T22:17:00+11:00"^^xsd:dateTime]; fhir:List.source [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:List.entry [ fhir:index 0; fhir:List.entry.flag [ fhir:CodeableConcept.text [ fhir:value "Deleted due to error" ] ]; fhir:List.entry.deleted [ fhir:value "true"^^xsd:boolean ]; fhir:List.entry.item [ fhir:link <http://hl7.org/fhir/Condition/example>; fhir:Reference.reference [ fhir:value "Condition/example" ] ] ], [ fhir:index 1; fhir:List.entry.flag [ fhir:CodeableConcept.text [ fhir:value "Added" ] ]; fhir:List.entry.date [ fhir:value "2012-11-21"^^xsd:date ]; fhir:List.entry.item [ fhir:link <http://hl7.org/fhir/Condition/example2>; fhir:Reference.reference [ fhir:value "Condition/example2" ] ] ] . <http://hl7.org/fhir/Patient/example> a fhir:Patient . <http://hl7.org/fhir/Encounter/example> a fhir:Encounter . <http://hl7.org/fhir/Condition/example> a fhir:Condition . <http://hl7.org/fhir/Condition/example2> a fhir:Condition . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/List/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/List/example.ttl> . # -------------------------------------------------------------------------------------
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.