FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example AllergyIntolerance/medication (Turtle)

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

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

A typical Medication allergy from a clinical system

@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 "medication"]; # 
  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=\"medication\"> </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;medication&quot; </p></div><p><b>clinicalStatus</b>: 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></p><p><b>verificationStatus</b>: Unconfirmed <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>#unconfirmed)</span></p><p><b>category</b>: medication</p><p><b>criticality</b>: high</p><p><b>code</b>: <span title=\"  subtance, coded from RxNorm  \">Penicillin G <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>#7980)</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>recordedDate</b>: <span title=\"  the date that this entry was recorded  \">2010-03-01</span></p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td>*</td><td>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></td><td><a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</td></tr></table><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>Hives <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#247472004)</span></td></tr></table></blockquote></div>"
  ]; # 
  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 "unconfirmed" ];
       fhir:Coding.display [ fhir:value "Unconfirmed" ]
     ]
  ]; # 
  fhir:AllergyIntolerance.category [
     fhir:value "medication";
     fhir:index 0
  ]; # 
  fhir:AllergyIntolerance.criticality [ fhir:value "high"]; # 
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "7980" ];
       fhir:Coding.display [ fhir:value "Penicillin G" ]
     ]
  ]; #    subtance, coded from RxNorm   
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ]; #    the patient that actually has the risk of adverse reaction   
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2010-03-01"^^xsd:date]; #    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" ]
     ]
  ]; #    who made the record / last updated it   
  fhir:AllergyIntolerance.reaction [
     fhir:index 0;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0;
       fhir:CodeableReference.concept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:247472004;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "247472004" ];
           fhir:Coding.display [ fhir:value "Hives" ]
         ]
       ]
     ]
  ]] . # 

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