@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-post-responder> a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-auditFindDocumentReferences-post-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-post-responder</b></p><a name=\"ex-auditFindDocumentReferences-post-responder\"> </a><a name=\"hcex-auditFindDocumentReferences-post-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>type</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-audit-event-type.html#audit-event-type-rest\">Audit Event ID: rest</a> (Restful Operation)</p><p><b>subtype</b>: unknown: ITI-67 (Find Document References), <a href=\"http://hl7.org/fhir/R4/codesystem-restful-interaction.html#restful-interaction-search\">FHIR Restful Interactions: search</a> (search)</p><p><b>action</b>: Execute</p><p><b>recorded</b>: 2020-04-29 09:49:00+0000</p><p><b>outcome</b>: Success</p><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><h3>Networks</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>2001:0db8:85a3:0000:0000:8a2e:0370:7334</td><td>IP Address</td></tr></table></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><h3>Networks</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>http://server.example.com/fhir</td><td>URI</td></tr></table></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><a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-security-source-type.html#security-source-type-4\">Audit Event Source Type: 4</a> (Application Server)</td></tr></table><blockquote><p><b>entity</b></p><p><b>type</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-audit-entity-type.html#audit-entity-type-2\">Audit event entity type: 2</a> (System Object)</p><p><b>role</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-object-role.html#object-role-24\">AuditEventEntityRole: 24</a> (Query)</p><p><b>description</b>: POST test.fhir.net/R4/fhir/DocumentReference/_search\nHost test.fhir.net\nContent-Type: application/x-www-form-urlencoded\nAccept: application/fhir+json; fhirVersion=4.0\n\npatient=9876&amp;status=current&amp;type=http://loinc.org|1234-5</p><p><b>query</b>: <code>UE9TVCB0ZXN0LmZoaXIubmV0L1I0L2ZoaXIvRG9jdW1lbnRSZWZlcmVuY2UvX3NlYXJjaApIb3N0IHRlc3QuZmhpci5uZXQKQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQKQWNjZXB0OiBhcHBsaWNhdGlvbi9maGlyK2pzb247IGZoaXJWZXJzaW9uPTQuMAoKcGF0aWVudD05ODc2JnN0YXR1cz1jdXJyZW50JnR5cGU9aHR0cDovL2xvaW5jLm9yZ3wxMjM0LTUK</code></p></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>type</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-audit-entity-type.html#audit-entity-type-1\">Audit event entity type: 1</a> (Person)</p><p><b>role</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-object-role.html#object-role-1\">AuditEventEntityRole: 1</a> (Patient)</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:type [
     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:subtype ( [
     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: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:action [ fhir:v "E"] ; # 
  fhir:recorded [ fhir:v "2020-04-29T09:49:00.000Z"^^xsd:dateTime] ; # 
  fhir:outcome [ fhir:v "0"] ; # 
  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 [
       fhir:address [ fhir:v "2001:0db8:85a3:0000:0000:8a2e:0370:7334" ] ;
       fhir:type [ fhir:v "2" ]
     ]
  ] [
     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 [
       fhir:address [ fhir:v "http://server.example.com/fhir" ] ;
       fhir:type [ fhir:v "5" ]
     ]
  ] ) ; # 
  fhir:source [
     fhir:site [ fhir:v "HIE MHD api example" ] ;
     fhir:observer [
       fhir:display [ fhir:v "http://server.example.com/fhir" ]
     ] ;
     fhir:type ( [
       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:type [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/audit-entity-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/audit-entity-type>
       ] ;
       fhir:code [ fhir:v "2" ] ;
       fhir:display [ fhir:v "System Object" ]
     ] ;
     fhir:role [
       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:description [ fhir:v "POST test.fhir.net/R4/fhir/DocumentReference/_search\nHost test.fhir.net\nContent-Type: application/x-www-form-urlencoded\nAccept: application/fhir+json; fhirVersion=4.0\n\npatient=9876&status=current&type=http://loinc.org|1234-5" ] ;
     fhir:query [ fhir:v "UE9TVCB0ZXN0LmZoaXIubmV0L1I0L2ZoaXIvRG9jdW1lbnRSZWZlcmVuY2UvX3NlYXJjaApIb3N0IHRlc3QuZmhpci5uZXQKQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQKQWNjZXB0OiBhcHBsaWNhdGlvbi9maGlyK2pzb247IGZoaXJWZXJzaW9uPTQuMAoKcGF0aWVudD05ODc2JnN0YXR1cz1jdXJyZW50JnR5cGU9aHR0cDovL2xvaW5jLm9yZ3wxMjM0LTUK"^^xsd:base64Binary ]
  ] [
     fhir:what [
       fhir:l <https://profiles.ihe.net/ITI/MHD/Patient/ex-patient> ;
       fhir:reference [ fhir:v "Patient/ex-patient" ]
     ] ;
     fhir:type [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/audit-entity-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/audit-entity-type>
       ] ;
       fhir:code [ fhir:v "1" ] ;
       fhir:display [ fhir:v "Person" ]
     ] ;
     fhir:role [
       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" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

