QI-Core Implementation Guide
4.1.0 - release

This page is part of the Quality Improvement Core Framework (v4.1.0: STU 4) based on FHIR R4. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

: AdverseEvent example - TTL Representation

Raw ttl | Download


@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:AdverseEvent;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent>     ]
  ];
  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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-adverseevent.html\">QICoreAdverseEvent</a></p></div><p><b>identifier</b>: id: 49476534</p><p><b>actuality</b>: actual</p><p><b>event</b>: O/E - itchy rash <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#304386008)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>date</b>: 2017-01-29T12:34:56Z</p><p><b>seriousness</b>: Non-serious <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-adverse-event-seriousness.html\">AdverseEventSeriousness</a>#non-serious)</span></p><p><b>recorder</b>: <a href=\"Practitioner-example.html\">Practitioner/example</a> \" CAREFUL\"</p><h3>SuspectEntities</h3><table class=\"grid\"><tr><td>-</td><td><b>Instance</b></td></tr><tr><td>*</td><td><a href=\"Medication-example.html\">Medication/example</a></td></tr></table></div>"
  ];
  fhir:AdverseEvent.identifier [
     fhir:Identifier.system [ fhir:value "http://acme.com/ids/patients/risks" ];
     fhir:Identifier.value [ fhir:value "49476534" ]
  ];
  fhir:AdverseEvent.actuality [ fhir:value "actual"];
  fhir:AdverseEvent.event [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:304386008;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "304386008" ];
       fhir:Coding.display [ fhir:value "O/E - itchy rash" ]     ]
  ];
  fhir:AdverseEvent.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:AdverseEvent.date [ fhir:value "2017-01-29T12:34:56+00:00"^^xsd:dateTime];
  fhir:AdverseEvent.seriousness [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/adverse-event-seriousness" ];
       fhir:Coding.code [ fhir:value "non-serious" ];
       fhir:Coding.display [ fhir:value "Non-serious" ]     ]
  ];
  fhir:AdverseEvent.recorder [
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:AdverseEvent.suspectEntity [
     fhir:index 0;
     fhir:AdverseEvent.suspectEntity.instance [
       fhir:Reference.reference [ fhir:value "Medication/example" ]     ]
  ].

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

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