QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AdverseEvent example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-adverseevent.html\">QICore AdverseEvent</a></p></div><p><b>identifier</b>: <code>http://acme.com/ids/patients/risks</code>/49476534</p><p><b>actuality</b>: Adverse Event</p><p><b>event</b>: <span title=\"Codes:{http://snomed.info/sct 725119006}\">Generalized rash (disorder)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><p><b>date</b>: 2017-01-29 12:34:56+0000</p><p><b>seriousness</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/adverse-event-seriousness non-serious}\">Non-serious</span></p><p><b>recorder</b>: <a href=\"Practitioner-example.html\">Practitioner Adam Careful </a></p><h3>SuspectEntities</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Instance</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Medication-example.html\">Medication alemtuzumab 10 MG/ML [Lemtrada]</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier [
    fhir:system [
    fhir:v "http://acme.com/ids/patients/risks"^^xsd:anyURI ;
    fhir:l <http://acme.com/ids/patients/risks>     ] ;
    fhir:value [ fhir:v "49476534" ]
      ] ; #     an identifier used for this allergic propensity (adverse reaction risk)
      fhir:actuality [ fhir:v "actual"] ; #     this was an actual adverse event, not just a potential one
      fhir:event [
        ( fhir:coding [
    a sct:725119006 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ; #     example uses SNOMED CT. Other likely possibilitues incluide MedDRA
    fhir:code [ fhir:v "725119006" ] ;
    fhir:display [ fhir:v "Generalized rash (disorder)" ]     ] )
      ] ; #     more precise details of the event
      fhir:subject [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ]
      ] ; #     the patient that actually had the adverse event
      fhir:date [ fhir:v "2017-01-29T12:34:56+00:00"^^xsd:dateTime] ; #     when the event happened
      fhir:seriousness [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/adverse-event-seriousness"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/adverse-event-seriousness>       ] ;
    fhir:code [ fhir:v "non-serious" ] ;
    fhir:display [ fhir:v "Non-serious" ]     ] )
      ] ; #     In overall terms even if it was a severe rash it is a relatively mild event overall
    #
      fhir:recorder [
    fhir:l fhir:Practitioner/example ;
    fhir:reference [ fhir:v "Practitioner/example" ]
      ] ; #     who made the record / last updated it
      fhir:suspectEntity ( [
    fhir:instance [
    fhir:l fhir:Medication/example ;
    fhir:reference [ fhir:v "Medication/example" ]     ]
      ] ) . #  Element was removed in R4, not clear where this would be expressed in the R4 resource , description value="This was a mild rash on the left forearm"/,     may have been for cream to treat sunburn on that arm, reference to that medication
    #