Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Allergyintolerance-example.ttl

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

A typical Food Allergy

@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/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/AllergyIntolerance/example> a fhir:AllergyIntolerance;
  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\"><p><b>Generated Narrative</b></p><p><b>identifier</b>: id: 49476534</p><p><b>clinicalStatus</b>: <span>Active</span></p><p><b>verificationStatus</b>: <span>Confirmed</span></p><p><b>type</b>: allergy</p><p><b>category</b>: food</p><p><b>criticality</b>: high</p><p><b>code</b>: <span>Cashew nuts</span></p><p><b>patient</b>: <a>Generated Summary: Medical record number: 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim , Peter James Windsor (MAIDEN); , Phone: (03) 5555 6473, Phone: (03) 3410 5613, Phone: (03) 5555 8834; gender: male; birthDate: 1974-12-25; </a></p><p><b>onset</b>: 2004</p><p><b>recordedDate</b>: 9 Oct. 2014, 2:58:00 pm</p><p><b>recorder</b>: <a>Generated Summary: id: 23; active; Adam Careful </a></p><p><b>asserter</b>: <a>Generated Summary: Medical record number: 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim , Peter James Windsor (MAIDEN); , Phone: (03) 5555 6473, Phone: (03) 3410 5613, Phone: (03) 5555 8834; gender: male; birthDate: 1974-12-25; </a></p><p><b>lastOccurrence</b>: 2012-06</p><p><b>note</b>: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.</p><blockquote><p><b>reaction</b></p><p><b>substance</b>: <span>cashew nut allergenic extract Injectable Product</span></p><h3>Manifestations</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>description</b>: Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered</p><p><b>onset</b>: 2012-06-12</p><p><b>severity</b>: severe</p><p><b>exposureRoute</b>: <span>Subcutaneous route</span></p></blockquote><blockquote><p><b>reaction</b></p><h3>Manifestations</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>onset</b>: 2004</p><p><b>severity</b>: moderate</p><p><b>note</b>: The patient reports that the onset of urticaria was within 15 minutes of eating cashews.</p></blockquote></div>"
  ];
  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.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]
     ]
  ];
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]
     ]
  ];
  fhir:AllergyIntolerance.type [ fhir:value "allergy"];
  fhir:AllergyIntolerance.category [
     fhir:value "food";
     fhir:index 0
  ];
  fhir:AllergyIntolerance.criticality [ fhir:value "high"];
  fhir:AllergyIntolerance.code [
     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:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:AllergyIntolerance.onsetDateTime [ fhir:value "2004"^^xsd:gYear];
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2014-10-09T14:58:00+11:00"^^xsd:dateTime];
  fhir:AllergyIntolerance.recorder [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:AllergyIntolerance.asserter [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:AllergyIntolerance.lastOccurrence [ fhir:value "2012-06"^^xsd:gYearMonth];
  fhir:AllergyIntolerance.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract." ]
  ];
  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 "1160593" ];
         fhir:Coding.display [ fhir:value "cashew nut allergenic extract Injectable Product" ]
       ]
     ];
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0;
       fhir:CodeableReference.concept [
         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 subcutaneous cashew extract. Epinephrine administered" ];
     fhir:AllergyIntolerance.reaction.onset [ fhir:value "2012-06-12"^^xsd:date ];
     fhir:AllergyIntolerance.reaction.severity [ fhir:value "severe" ];
     fhir:AllergyIntolerance.reaction.exposureRoute [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:34206005;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "34206005" ];
         fhir:Coding.display [ fhir:value "Subcutaneous route" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0;
       fhir:CodeableReference.concept [
         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"^^xsd:gYear ];
     fhir:AllergyIntolerance.reaction.severity [ fhir:value "moderate" ];
     fhir:AllergyIntolerance.reaction.note [
       fhir:index 0;
       fhir:Annotation.text [ fhir:value "The patient reports that the onset of urticaria was within 15 minutes of eating cashews." ]
     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/AllergyIntolerance/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/AllergyIntolerance/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.