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 
Example of QICore AllergyIntolerance
@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 sct: <http://snomed.info/sct/> .
@prefix xs: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir//AllergyIntolerance/allergyintolerance-example-qicore> a fhir:AllergyIntolerance;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "allergyintolerance-example-qicore"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:AllergyIntolerance.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://acme.com/ids/patients/risks" ];
fhir:Identifier.value [ fhir:value "49476534" ]
];
fhir:AllergyIntolerance.status [ fhir:value "confirmed"];
fhir:AllergyIntolerance.type [ fhir:value "allergy"];
fhir:AllergyIntolerance.category [ fhir:value "food"];
fhir:AllergyIntolerance.criticality [ fhir:value "high"];
fhir:AllergyIntolerance.substance [
a sct:227493005;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:227493005;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "227493005" ];
fhir:Coding.display [ fhir:value "Cashew nuts" ] ]
];
fhir:AllergyIntolerance.patient [
fhir:reference <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:AllergyIntolerance.recordedDate [ fhir:value "2014-10-09T14:58:00+11:00"^^xs:dateTime];
fhir:AllergyIntolerance.recorderReference [
fhir:reference <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
];
fhir:AllergyIntolerance.lastOccurence [ fhir:value "2012-06"^^xs:gYearMonth];
fhir:AllergyIntolerance.reaction [
fhir:index 0;
fhir:AllergyIntolerance.reaction.substance [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
fhir:Coding.code [ fhir:value "C3214954" ];
fhir:Coding.display [ fhir:value "cashew nut allergenic extract Injectable Product" ] ] ];
fhir:AllergyIntolerance.reaction.certainty [ fhir:value "confirmed" ];
fhir:AllergyIntolerance.reaction.manifestation [
fhir:index 0;
a sct:39579001;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:39579001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "39579001" ];
fhir:Coding.display [ fhir:value "Anaphylactic reaction" ] ] ];
fhir:AllergyIntolerance.reaction.description [ fhir:value "Challenge Protocol. Severe Reaction to 1/8 cashew. Epinephrine administered" ];
fhir:AllergyIntolerance.reaction.onset [ fhir:value "2012-06-12"^^xs:date ];
fhir:AllergyIntolerance.reaction.severity [ fhir:value "severe" ]
];
fhir:AllergyIntolerance.reaction [
fhir:index 1;
fhir:AllergyIntolerance.reaction.certainty [ fhir:value "likely" ];
fhir:AllergyIntolerance.reaction.manifestation [
fhir:index 0;
a sct:64305001;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:64305001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "64305001" ];
fhir:Coding.display [ fhir:value "Urticaria" ] ] ];
fhir:AllergyIntolerance.reaction.onset [ fhir:value "2004"^^xs:gYear ];
fhir:AllergyIntolerance.reaction.severity [ fhir:value "moderate" ]
].
# -------------------------------------------------------------------------------------
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.