@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://profiles.ihe.net/ITI/MHD/AuditEvent/ex-auditFindDocumentReferences-responder> a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-auditFindDocumentReferences-responder"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferences.Audit.Responder"^^xsd:anyURI ;
       fhir:l <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferences.Audit.Responder>
     ] ) ;
     fhir:security ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
       ] ;
       fhir:code [ fhir:v "HTEST" ]
     ] )
  ] ; # 
  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: AuditEvent ex-auditFindDocumentReferences-responder</b></p><a name=\"ex-auditFindDocumentReferences-responder\"> </a><a name=\"hcex-auditFindDocumentReferences-responder\"> </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-IHE.MHD.FindDocumentReferences.Audit.Responder.html\">Audit Event for Find Document References Transaction at Document Responder</a></p><p style=\"margin-bottom: 0px\">Security Label: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p><b>category</b>: <span title=\"Codes:{urn:ihe:event-type-code ITI-67}\">Find Document References</span>, <span title=\"Codes:{http://hl7.org/fhir/restful-interaction search}\">search</span></p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/audit-event-type rest}\">Restful Operation</span></p><p><b>action</b>: Execute</p><p><b>recorded</b>: 2020-04-29 09:49:00+0000</p><h3>Outcomes</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-audit-event-outcome.html#audit-event-outcome-0\">AuditEventOutcome: 0</a> (Success)</td></tr></table><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"Codes:{http://dicom.nema.org/resources/ontology/DCM 110153}\">Source Role ID</span></p><p><b>who</b>: <a href=\"Device-ex-device.html\">Device</a></p><p><b>requestor</b>: false</p><p><b>network</b>: 2001:0db8:85a3:0000:0000:8a2e:0370:7334</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"Codes:{http://dicom.nema.org/resources/ontology/DCM 110152}\">Destination Role ID</span></p><p><b>who</b>: http://server.example.com/fhir</p><p><b>requestor</b>: false</p><p><b>network</b>: <a href=\"http://server.example.com/fhir\">http://server.example.com/fhir</a></p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Site</b></td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>HIE MHD api example</td><td>http://server.example.com/fhir</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/security-source-type 4}\">Application Server</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>role</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/object-role 24}\">Query</span></p><p><b>query</b>: <code>R0VUIHRlc3QuZmhpci5uZXQvZmhpci9Eb2N1bWVudFJlZmVyZW5jZT9wYXRpZW50PTk4NzYmc3RhdHVzPWN1cnJlbnQmdHlwZT1odHRwOi8vbG9pbmMub3JnfDEyMzQtNQo=</code></p><h3>Details</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Query Description</span></td><td>GET fhir.example.com/fhir/DocumentReference?patient=9876&amp;status=current&amp;type=http://loinc.org|1234-5</td></tr></table></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>role</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/object-role 1}\">Patient</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:ihe:event-type-code"^^xsd:anyURI ;
         fhir:l <urn:ihe:event-type-code>
       ] ;
       fhir:code [ fhir:v "ITI-67" ] ;
       fhir:display [ fhir:v "Find Document References" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/restful-interaction"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/restful-interaction>
       ] ;
       fhir:code [ fhir:v "search" ] ;
       fhir:display [ fhir:v "search" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/audit-event-type>
       ] ;
       fhir:code [ fhir:v "rest" ] ;
       fhir:display [ fhir:v "Restful Operation" ]
     ] )
  ] ; # 
  fhir:action [ fhir:v "E"] ; # 
  fhir:recorded [ fhir:v "2020-04-29T09:49:00.000Z"^^xsd:dateTime] ; # 
  fhir:outcome [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-outcome"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/audit-event-outcome>
       ] ;
       fhir:code [ fhir:v "0" ] ;
       fhir:display [ fhir:v "Success" ]
     ]
  ] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
           fhir:l <http://dicom.nema.org/resources/ontology/DCM>
         ] ;
         fhir:code [ fhir:v "110153" ] ;
         fhir:display [ fhir:v "Source Role ID" ]
       ] )
     ] ;
     fhir:who [
       fhir:l <https://profiles.ihe.net/ITI/MHD/Device/ex-device> ;
       fhir:reference [ fhir:v "Device/ex-device" ]
     ] ;
     fhir:requestor [ fhir:v false ] ;
     fhir:network [
       a fhir:String ;
       fhir:v "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
     ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
           fhir:l <http://dicom.nema.org/resources/ontology/DCM>
         ] ;
         fhir:code [ fhir:v "110152" ] ;
         fhir:display [ fhir:v "Destination Role ID" ]
       ] )
     ] ;
     fhir:who [
       fhir:display [ fhir:v "http://server.example.com/fhir" ]
     ] ;
     fhir:requestor [ fhir:v false ] ;
     fhir:network [
       a fhir:Uri ;
       fhir:v "http://server.example.com/fhir"^^xsd:anyURI ;
       fhir:l <http://server.example.com/fhir>
     ]
  ] ) ; # 
  fhir:source [
     fhir:site [
       fhir:display [ fhir:v "HIE MHD api example" ]
     ] ;
     fhir:observer [
       fhir:display [ fhir:v "http://server.example.com/fhir" ]
     ] ;
     fhir:type ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/security-source-type"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/security-source-type>
         ] ;
         fhir:code [ fhir:v "4" ] ;
         fhir:display [ fhir:v "Application Server" ]
       ] )
     ] )
  ] ; # 
  fhir:entity ( [
     fhir:role [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/object-role>
         ] ;
         fhir:code [ fhir:v "24" ] ;
         fhir:display [ fhir:v "Query" ]
       ] )
     ] ;
     fhir:query [ fhir:v "R0VUIHRlc3QuZmhpci5uZXQvZmhpci9Eb2N1bWVudFJlZmVyZW5jZT9wYXRpZW50PTk4NzYmc3RhdHVzPWN1cnJlbnQmdHlwZT1odHRwOi8vbG9pbmMub3JnfDEyMzQtNQo="^^xsd:base64Binary ] ;
     fhir:detail ( [
       fhir:type [
         fhir:text [ fhir:v "Query Description" ]
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "GET fhir.example.com/fhir/DocumentReference?patient=9876&status=current&type=http://loinc.org|1234-5"
       ]
     ] )
  ] [
     fhir:what [
       fhir:l <https://profiles.ihe.net/ITI/MHD/Patient/ex-patient> ;
       fhir:reference [ fhir:v "Patient/ex-patient" ]
     ] ;
     fhir:role [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/object-role>
         ] ;
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Patient" ]
       ] )
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

