Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative | Compartments : 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @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" ]<http://hl7.org/fhir/List/example> a fhir:List ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ] ] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59"^^xsd:anyURI ; fhir:l <urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59> ] ; fhir:value [ fhir:v "23974652" ] ] ) ; # fhir:status [ fhir:v "current"] ; # fhir:mode [ fhir:v "changes"] ; # fhir:subject ( [ fhir:l <http://hl7.org/fhir/Patient/example> ; 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:l <http://hl7.org/fhir/Encounter/example> ; fhir:reference [ fhir:v "Encounter/example" ] ] ; # fhir:date [ fhir:v "2012-11-25T22:17:00+11:00"^^xsd:dateTime] ; # fhir:source [ fhir:l <http://hl7.org/fhir/Patient/example> ; fhir:reference [ fhir:v "Patient/example" ] ] ; # fhir:entry ( [ fhir:flag [ fhir:text [ fhir:v "Deleted due to error" ] ] ; fhir:deleted [ fhir:v true ] ; fhir:item [ fhir:l <http://hl7.org/fhir/Condition/example> ; fhir:reference [ fhir:v "Condition/example" ] ]], [ fhir:index 1; fhir:List.entry.flag [ fhir:CodeableConcept.text [ fhir:value "Added" ] ]; fhir:List.entry.item [ fhir:link <http://hl7.org/fhir/Condition/example2>; fhir:Reference.reference [ fhir:value "Condition/example2" ]] [ fhir:flag [ fhir:text [ fhir:v "Added" ] ] ; fhir:item [ fhir:l <http://hl7.org/fhir/Condition/example2> ; fhir:reference [ fhir:v "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://build.fhir.org/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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4
(Technical
Correction
#1)
(v4.0.1)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Fri,
Mon,
Nov
1,
2019
09:35+1100.
QA
Page
10,
2025
15:22+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change