This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 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
Example of current allergies list
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xs: <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:List.status [ fhir:value "current"];
fhir:List.mode [ fhir:value "working"];
fhir:List.title [ fhir:value "Current Allergy List"];
fhir:List.code [
a loinc:52472-8;
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"^^xs:dateTime];
fhir:List.sourceReference [
fhir:reference <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" ] ]
];
fhir:List.entry [
fhir:index 0;
fhir:List.entry.item [
fhir:reference <http://hl7.org/fhir/AllergyIntolerance/example>;
fhir:Reference.reference [ fhir:value "AllergyIntolerance/example" ] ]
];
fhir:List.entry [
fhir:index 1;
fhir:List.entry.item [
fhir:reference <http://hl7.org/fhir/AllergyIntolerance/medication>;
fhir:Reference.reference [ fhir:value "AllergyIntolerance/medication" ] ]
].
# -------------------------------------------------------------------------------------
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.