Australian Base Implementation Guide

This page is part of AU Base v4.0.0 based on FHIR R4. For a full list of available versions, see the Directory of published versions

Example: AllergyIntolerance-example1

Formats: Narrative, XML, JSON, Turtle

Raw ttl


@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 "example1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-allergyintolerance";
       fhir:index 0;
       fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-allergyintolerance>     ]
  ];
  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><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 \"example1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-allergyintolerance.html\">AU Base Allergy Intolerance</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.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/3.1.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#unconfirmed)</span></p><p><b>type</b>: allergy</p><p><b>category</b>: food</p><p><b>code</b>: Allergy to eggs <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#91930004)</span></p><p><b>patient</b>: <a href=\"Patient-example2.html\">Patient/example2: Sally Grant</a> \" GRANT\"</p><p><b>onset</b>: 4 year<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code a = 'a')</span></p><p><b>recordedDate</b>: 2018-03-07</p><p><b>asserter</b>: <a href=\"Patient-example2.html\">Patient/example2: Sally Grant</a> \" GRANT\"</p><h3>Reactions</h3><table class=\"grid\"><tr><td>-</td><td><b>Manifestation</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>, Nausea <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#422587007)</span>, Vomiting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#422400008)</span></td></tr></table></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.type [ fhir:value "allergy"];
  fhir:AllergyIntolerance.category [
     fhir:value "food";
     fhir:index 0
  ];
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:91930004;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "91930004" ];
       fhir:Coding.display [ fhir:value "Allergy to eggs" ]     ]
  ];
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/example2" ];
     fhir:Reference.display [ fhir:value "Sally Grant" ]
  ];
  fhir:AllergyIntolerance.onsetAge [
     fhir:Quantity.value [ fhir:value "4"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "year" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "a" ]
  ];
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2018-03-07"^^xsd:date];
  fhir:AllergyIntolerance.asserter [
     fhir:Reference.reference [ fhir:value "Patient/example2" ];
     fhir:Reference.display [ fhir:value "Sally Grant" ]
  ];
  fhir:AllergyIntolerance.reaction [
     fhir:index 0;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0;
       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" ]       ]     ], [
       fhir:index 1;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:422587007;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "422587007" ];
         fhir:Coding.display [ fhir:value "Nausea" ]       ]     ], [
       fhir:index 2;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:422400008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "422400008" ];
         fhir:Coding.display [ fhir:value "Vomiting" ]       ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.

Issues & Feedback