Foundation
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
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: FHIR Infrastructure Work Group |
|
Compartments : Device , Patient , Practitioner |
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
Example of current allergies list and List For extension
@prefix fhir: <http://hl7.org/fhir/> .@prefix loinc: <http://loinc.org/owl#> .@prefix loinc: <https://loinc.org/rdf/> . @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/current-allergies> a fhir:List; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "current-allergies"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Patient Peter Chalmers, DOB = Dec 25, 1974, MRN = 12345 (Acme Healthcare) has the following allergies</p>\n <ul>\n <li>cashew nut allergenic extract Injectable Product (<b>High</b>)</li>\n <li>Allergenic extract, penicillin (high)</li>\n </ul>\n </div>" ]; fhir:List.status [ fhir:value "current"]; fhir:List.mode [ fhir:value "working"]; fhir:List.title [ fhir:value "Current Allergy List"]; fhir:List.code [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:52472-8; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "52472-8" ]; fhir:Coding.display [ fhir:value "Allergies and Adverse Drug Reactions" ] ]; fhir:CodeableConcept.text [ fhir:value "Current Allergy List" ] ]; fhir:List.date [ fhir:value "2015-07-14T23:10:23+11:00"^^xsd:dateTime]; fhir:List.source [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:List.orderedBy [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/list-order" ]; fhir:Coding.code [ fhir:value "entry-date" ]<http://hl7.org/fhir/List/current-allergies> a fhir:List ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "current-allergies"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>List prepared for Dr Adam Careful</p>\n <p>Patient Peter Chalmers, DOB = Dec 25, 1974, MRN = 12345 (Acme Healthcare) has the following allergies</p>\n <ul>\n <li>cashew nut allergenic extract Injectable Product (<b>High</b>)</li>\n <li>Allergenic extract, penicillin (high)</li>\n </ul>\n </div>"^^rdf:XMLLiteral ] ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/list-for"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/list-for> ] ; fhir:value [ a fhir:Reference ; fhir:l <http://hl7.org/fhir/Patient/example> ; fhir:reference [ fhir:v "Patient/example" ] ; fhir:display [ fhir:v "Dr Adam Careful" ] ]]; fhir:List.entry [ fhir:index 0; fhir:List.entry.item [ fhir:link <http://hl7.org/fhir/AllergyIntolerance/example>; fhir:Reference.reference [ fhir:value "AllergyIntolerance/example" ]] ) ; # fhir:status [ fhir:v "current"] ; # fhir:mode [ fhir:v "working"] ; # fhir:title [ fhir:v "Current Allergy List"] ; # fhir:code [ fhir:coding ( [ a loinc:52472-8 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ; fhir:l <http://loinc.org> ] ; fhir:code [ fhir:v "52472-8" ] ; fhir:display [ fhir:v "Allergies and Adverse Drug Reactions" ] ] ) ; fhir:text [ fhir:v "Current Allergy List" ] ] ; # fhir:date [ fhir:v "2015-07-14T23:10:23+11:00"^^xsd:dateTime] ; # fhir:source [ fhir:l <http://hl7.org/fhir/Patient/example> ; fhir:reference [ fhir:v "Patient/example" ] ] ; # fhir:orderedBy [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/list-order"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/list-order> ] ; fhir:code [ fhir:v "entry-date" ] ] ) ] ; # fhir:entry ( [ fhir:item [ fhir:l <http://hl7.org/fhir/AllergyIntolerance/example> ; fhir:reference [ fhir:v "AllergyIntolerance/example" ] ]], [ fhir:index 1; fhir:List.entry.item [ fhir:link <http://hl7.org/fhir/AllergyIntolerance/medication>; fhir:Reference.reference [ fhir:value "AllergyIntolerance/medication" ]] [ fhir:item [ fhir:l <http://hl7.org/fhir/AllergyIntolerance/medication> ; fhir:reference [ fhir:v "AllergyIntolerance/medication" ] ]] .] ) . # <http://hl7.org/fhir/Patient/example> a fhir:Patient . <http://hl7.org/fhir/AllergyIntolerance/example> a fhir:AllergyIntolerance . <http://hl7.org/fhir/AllergyIntolerance/medication> a fhir:AllergyIntolerance .# - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/List/current-allergies.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/List/current-allergies.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
3
(STU;
v3.0.2-11200)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Thurs,
Oct
24,
2019
11:53+1100.
QA
Page
Thu,
Nov
27,
2025
16:54+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
DSTU2
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change