Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example AllergyIntolerance/example (Turtle)

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 -------------------------------------------------------------------

[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: AllergyIntolerance</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource AllergyIntolerance &quot;example&quot; </p></div><p><b>identifier</b>: <span title=\"  an identifier used for this allergic propensity (adverse reaction risk)  \">id: 49476534</span></p><p><b>clinicalStatus</b>: <span title=\"  this individual has had several reactions  \">Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#confirmed)</span></p><p><b>type</b>: <span title=\"  note: it's often unknown whether an allergy is mediated by an immune response, and not as significant as once thought  \">Allergy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-allergy-intolerance-type.html\">AllergyIntoleranceType</a>#allergy)</span></span></p><p><b>category</b>: <span title=\"  this categorization is implied by &quot;cashew nut&quot; and therefore basically \n    redundant, but many systems collect this field anyway, since it's either \n    useful when the substance is not coded, or it's quicker to sort/filter on\n    than using terminology based reasoning  \">food</span></p><p><b>criticality</b>: <span title=\"  there is no question that the allergy is real and serious  \">high</span></p><p><b>code</b>: <span title=\"  Allergy or intolerance code (substance, product, condition or negated/excluded statement) or text. A few times, \n    there's a full description of a complex substance/product - in these caes, use the\n    extension [url] to refer to a Substance resource.  \">Cashew nuts <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#227493005)</span></span></p><p><b>patient</b>: <span title=\"  the patient that actually has the risk of adverse reaction  \"><a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</span></p><p><b>onset</b>: <span title=\"  when the allergy was first noted (in this case the same as reaction.onset of the first occurrence)  \">2004</span></p><p><b>recordedDate</b>: <span title=\"  the date that this entry was recorded  \">2014-10-09T14:58:00+11:00</span></p><blockquote><p><b>participant</b></p><p><b>function</b>: Author <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#author)</span></p><p><b>actor</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>function</b>: Informant <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#informant)</span></p><p><b>actor</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p></blockquote><p><b>lastOccurrence</b>: <span title=\"  last happened June 2012. Typically, systems either track lastOccurrence,\n     or a list of events.  \">2012-06</span></p><p><b>note</b>: <span title=\"  an additional note about the allergy propensity by the recorder  \">The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.</span></p><blockquote><p><b>reaction</b></p><p><b>substance</b>: <span title=\"  \n      It's possible to list specific things to which the patient responded,\n      e.g. chocolate (that happened to contain cashew nuts). This event has\n      such a specific substance. Note that systems should ensure that what\n      goes in here does not conflict with the substance above, and systems\n      processing the data can be sure that what is here does not contravene\n      the substance above\n     \">cashew nut allergenic extract Injectable Product <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#1160593)</span></span></p><h3>Manifestations</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Anaphylactic reaction <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39579001)</span></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>: Subcutaneous route <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#34206005)</span></p></blockquote><blockquote><p><b>reaction</b></p><h3>Manifestations</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Urticaria <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#64305001)</span></td></tr></table><p><b>onset</b>: 2004</p><p><b>severity</b>: moderate</p><p><b>note</b>: <span title=\"  an additional note about the reaction by the recorder  \">The patient reports that the onset of urticaria was within 15 minutes of eating cashews.</span></p></blockquote></div>"
  ]; #    an identifier used for this allergic propensity (adverse reaction risk)   
  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" ]
     ]
  ]; #    this individual has had several reactions   
  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:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/allergy-intolerance-type" ];
       fhir:Coding.code [ fhir:value "allergy" ];
       fhir:Coding.display [ fhir:value "Allergy" ]
     ]
  ]; #    note: it's often unknown whether an allergy is mediated by an immune response, and not as significant as once thought   
  fhir:AllergyIntolerance.category [
     fhir:value "food";
     fhir:index 0
  ]; #    this categorization is implied by "cashew nut" and therefore basically 
    redundant, but many systems collect this field anyway, since it's either 
    useful when the substance is not coded, or it's quicker to sort/filter on
    than using terminology based reasoning   
  fhir:AllergyIntolerance.criticality [ fhir:value "high"]; #    there is no question that the allergy is real and serious   
  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" ]
     ]
  ]; #    Allergy or intolerance code (substance, product, condition or negated/excluded statement) or text. A few times, 
    there's a full description of a complex substance/product - in these caes, use the
    extension [url] to refer to a Substance resource.   
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ]; #    the patient that actually has the risk of adverse reaction   
  fhir:AllergyIntolerance.onsetDateTime [ fhir:value "2004"^^xsd:gYear]; #    when the allergy was first noted (in this case the same as reaction.onset of the first occurrence)   
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2014-10-09T14:58:00+11:00"^^xsd:dateTime]; #    the date that this entry was recorded   
  fhir:AllergyIntolerance.participant [
     fhir:index 0;
     fhir:AllergyIntolerance.participant.function [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ];
         fhir:Coding.code [ fhir:value "author" ];
         fhir:Coding.display [ fhir:value "Author" ]
       ]
     ];
     fhir:AllergyIntolerance.participant.actor [
       fhir:Reference.reference [ fhir:value "Practitioner/example" ]
     ]
  ], [
     fhir:index 1;
     fhir:AllergyIntolerance.participant.function [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ];
         fhir:Coding.code [ fhir:value "informant" ];
         fhir:Coding.display [ fhir:value "Informant" ]
       ]
     ];
     fhir:AllergyIntolerance.participant.actor [
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ]
  ]; # 
  fhir:AllergyIntolerance.lastOccurrence [ fhir:value "2012-06"^^xsd:gYearMonth]; #    last happened June 2012. Typically, systems either track lastOccurrence,
     or a list of events.   
  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." ]
  ]; #    an additional note about the allergy propensity by the recorder   
  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" ]
       ]
     ]; #    \n      It's possible to list specific things to which the patient responded,\n      e.g. chocolate (that happened to contain cashew nuts). This event has\n      such a specific substance. Note that systems should ensure that what\n      goes in here does not conflict with the substance above, and systems\n      processing the data can be sure that what is here does not contravene\n      the substance above\n      
     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." ]
     ] #    an additional note about the reaction by the recorder   
  ]] . #    past events. There's no claim that this is all the events, and 
     that should not be assumed   

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

[a owl:Ontology;
  owl:imports fhir:fhir.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.