Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Audit-event-example-media.ttl

Example AuditEvent/example-media (Turtle)

Security Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification )

Export of DocumentManifest DocumentReference to Media

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/AuditEvent/example-media> a fhir:AuditEvent;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-media"];
  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 &quot;example-media&quot; </p></div><p><b>type</b>: Export (Details: DICOM code 110106 = 'Export', stated as 'Export')</p><p><b>subtype</b>: Distribute Document Set on Media (Details: urn:oid:1.3.6.1.4.1.19376.1.2 code ITI-32 = 'ITI-32', stated as 'Distribute Document Set on Media')</p><p><b>action</b>: R</p><p><b>recorded</b>: 28/08/2015 9:42:24 AM</p><p><b>outcome</b>: 0</p><blockquote><p><b>agent</b></p><p><b>type</b>: Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-DCM.html\">DICOM</a>#110153)</span></p><p><b>who</b>: <span>: ExportToMedia.app</span></p><p><b>requestor</b>: false</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: human user <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-extra-security-role-type.html\">SecurityRoleType</a>#humanuser)</span></p><p><b>who</b>: <span/></p><p><b>altId</b>: 601847123</p><p><b>name</b>: Grahame Grieve</p><p><b>requestor</b>: true</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Destination Media <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-DCM.html\">DICOM</a>#110154)</span></p><p><b>name</b>: Media title: Hello World</p><p><b>requestor</b>: false</p><p><b>media</b>: DVD (Details: DICOM code 110033 = 'DVD', stated as 'DVD')</p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Observer</b></td></tr><tr><td>*</td><td><span>: hl7connect.healthintersections.com.au</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <span/></p><p><b>type</b>: Person (Details: http://terminology.hl7.org/CodeSystem/audit-entity-type code 1 = 'Person', stated as 'Person')</p><p><b>role</b>: Patient (Details: http://terminology.hl7.org/CodeSystem/object-role code 1 = 'Patient', stated as 'Patient')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span/></p><p><b>type</b>: System Object (Details: http://terminology.hl7.org/CodeSystem/audit-entity-type code 2 = 'System Object', stated as 'System Object')</p><p><b>role</b>: Job (Details: http://terminology.hl7.org/CodeSystem/object-role code 20 = 'Job', stated as 'Job')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"documentmanifest-example.html\">DocumentManifest/example</a></p><p><b>type</b>: System Object (Details: http://terminology.hl7.org/CodeSystem/audit-entity-type code 2 = 'System Object', stated as 'System Object')</p></blockquote></div>"
  ];
  fhir:AuditEvent.type [
     fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
     fhir:Coding.code [ fhir:value "110106" ];
     fhir:Coding.display [ fhir:value "Export" ]
  ];
  fhir:AuditEvent.subtype [
     fhir:index 0;
     fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.19376.1.2" ];
     fhir:Coding.code [ fhir:value "ITI-32" ];
     fhir:Coding.display [ fhir:value "Distribute Document Set on Media" ]
  ];
  fhir:AuditEvent.action [ fhir:value "R"];
  fhir:AuditEvent.recorded [ fhir:value "2015-08-27T23:42:24Z"^^xsd:dateTime];
  fhir:AuditEvent.outcome [ fhir:value "0"];
  fhir:AuditEvent.agent [
     fhir:index 0;
     fhir:AuditEvent.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
         fhir:Coding.code [ fhir:value "110153" ];
         fhir:Coding.display [ fhir:value "Source Role ID" ]
       ]
     ];
     fhir:AuditEvent.agent.who [
       fhir:Reference.display [ fhir:value "ExportToMedia.app" ]
     ];
     fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:AuditEvent.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/extra-security-role-type" ];
         fhir:Coding.code [ fhir:value "humanuser" ];
         fhir:Coding.display [ fhir:value "human user" ]
       ]
     ];
     fhir:AuditEvent.agent.who [
       fhir:Reference.identifier [
         fhir:Identifier.value [ fhir:value "95" ]
       ]
     ];
     fhir:AuditEvent.agent.altId [ fhir:value "601847123" ];
     fhir:AuditEvent.agent.name [ fhir:value "Grahame Grieve" ];
     fhir:AuditEvent.agent.requestor [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 2;
     fhir:AuditEvent.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
         fhir:Coding.code [ fhir:value "110154" ];
         fhir:Coding.display [ fhir:value "Destination Media" ]
       ]
     ];
     fhir:AuditEvent.agent.name [ fhir:value "Media title: Hello World" ];
     fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ];
     fhir:AuditEvent.agent.media [
       fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
       fhir:Coding.code [ fhir:value "110033" ];
       fhir:Coding.display [ fhir:value "DVD" ]

#    TODO need to make a new style entity with entity.agent for this media
#		<media>
#			<coding>
#				<system value="http://dicom.nema.org/resources/ontology/DCM"/>
#				<code value="110033"/>
#				<display value="DVD"/>
#			</coding>
#		</media>
#    

[a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-media"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"example-media\"> </a></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 AuditEvent &quot;example-media&quot; </p></div><p><b>category</b>: Export <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110106)</span></p><p><b>code</b>: Distribute Document Set on Media <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#ITI-32)</span></p><p><b>action</b>: R</p><p><b>recorded</b>: 28 Aug 2015, 9:42:24 am</p><h3>Outcomes</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td>Success (Details: http://terminology.hl7.org/CodeSystem/audit-event-outcome code 0 = 'Success', stated as 'Success')</td></tr></table><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"  Source active participant, the software making the PIX query\n  UserId - The identity of the Patient Identifier Cross-reference Consumer Actor facility and sending application from the HL7 message; \n  concatenated together, separated by the | character. \n  AlternativeUserId - Process ID\n   \">Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110153)</span></span></p><p><b>who</b>: <span>: ExportToMedia.app</span></p><p><b>requestor</b>: false</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"   The Human using the software, if known   \">human user <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-extra-security-role-type.html\">SecurityRoleType</a>#humanuser)</span></span></p><p><b>who</b>: <span>: Grahame Grieve</span></p><p><b>requestor</b>: true</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"   The media exported onto   \">Destination Media <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110154)</span></span></p><p><b>who</b>: <span>: Media title: Hello World</span></p><p><b>requestor</b>: false</p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Observer</b></td></tr><tr><td>*</td><td><span>: Cloud</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <span title=\" \n  The Patient\n   \"><span/></span></p><p><b>role</b>: Patient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-object-role.html\">AuditEventEntityRole</a>#1)</span></p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span title=\"  The SubmissionSet identifier  \"><span/></span></p><p><b>role</b>: Job <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-object-role.html\">AuditEventEntityRole</a>#20)</span></p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span title=\"  The Document Manifest exported  \"><a href=\"documentreference-example.html\">DocumentReference/example</a></span></p></blockquote></div>"
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "110106" ] ;
       fhir:display [ fhir:v "Export" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:ihe:event-type-code"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "ITI-32" ] ;
       fhir:display [ fhir:v "Distribute Document Set on Media" ]
     ] )
  ] ; # 
  fhir:action [ fhir:v "R"] ; # 
  fhir:recorded [ fhir:v "2015-08-27T23:42:24Z"^^xsd:dateTime] ; # 
  fhir:outcome [
     fhir:code [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-outcome"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "0" ] ;
       fhir:display [ fhir:v "Success" ]

     ]
  ];
  fhir:AuditEvent.source [
     fhir:AuditEvent.source.observer [
       fhir:Reference.display [ fhir:value "hl7connect.healthintersections.com.au" ]

  ] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "110153" ] ;
         fhir:display [ fhir:v "Source Role ID" ]
       ] )
     ] ; #    Source active participant, the software making the PIX query\n  UserId - The identity of the Patient Identifier Cross-reference Consumer Actor facility and sending application from the HL7 message; \n  concatenated together, separated by the | character. \n  AlternativeUserId - Process ID\n    
     fhir:who [
       fhir:display [ fhir:v "ExportToMedia.app" ]
     ] ;
     fhir:requestor [ fhir:v "false"^^xsd:boolean ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/extra-security-role-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "humanuser" ] ;
         fhir:display [ fhir:v "human user" ]
       ] )
     ] ; #     The Human using the software, if known    
     fhir:who [
       fhir:identifier [
         fhir:value [ fhir:v "95" ]
       ] ;
       fhir:display [ fhir:v "Grahame Grieve" ]
     ] ;
     fhir:requestor [ fhir:v "true"^^xsd:boolean ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "110154" ] ;
         fhir:display [ fhir:v "Destination Media" ]
       ] )
     ] ; #     The media exported onto    
     fhir:who [
       fhir:display [ fhir:v "Media title: Hello World" ]
     ] ;
     fhir:requestor [ fhir:v "false"^^xsd:boolean ]
  ] ) ; # 
  fhir:source [
     fhir:observer [
       fhir:identifier [
         fhir:value [ fhir:v "hl7connect.healthintersections.com.au" ]
       ] ;
       fhir:display [ fhir:v "Cloud" ]

     ]
  ];
  fhir:AuditEvent.entity [
     fhir:index 0;
     fhir:AuditEvent.entity.what [
       fhir:Reference.identifier [
         fhir:Identifier.value [ fhir:value "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" ]

  ] ; # 
  fhir:entity ( [
     fhir:what [
       fhir:identifier [
         fhir:value [ fhir:v "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" ]

       ]
     ];
     fhir:AuditEvent.entity.type [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-entity-type" ];
       fhir:Coding.code [ fhir:value "1" ];
       fhir:Coding.display [ fhir:value "Person" ]
     ];
     fhir:AuditEvent.entity.role [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/object-role" ];
       fhir:Coding.code [ fhir:value "1" ];
       fhir:Coding.display [ fhir:value "Patient" ]

     ] ; #   \n  The Patient\n    
     fhir:role [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Patient" ]
       ] )

     ]
  ], [
     fhir:index 1;
     fhir:AuditEvent.entity.what [
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd" ];
             fhir:Coding.code [ fhir:value "IHE XDS Metadata" ];
             fhir:Coding.display [ fhir:value "submission set classificationNode" ]
           ]
         ];
         fhir:Identifier.value [ fhir:value "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" ]

  ] [
     fhir:what [
       fhir:identifier [
         fhir:type [
           fhir:coding ( [
             fhir:system [ fhir:v "urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "IHE XDS Metadata" ] ;
             fhir:display [ fhir:v "submission set classificationNode" ]
           ] )
         ] ;
         fhir:value [ fhir:v "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" ]

       ]
     ];
     fhir:AuditEvent.entity.type [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-entity-type" ];
       fhir:Coding.code [ fhir:value "2" ];
       fhir:Coding.display [ fhir:value "System Object" ]
     ];
     fhir:AuditEvent.entity.role [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/object-role" ];
       fhir:Coding.code [ fhir:value "20" ];
       fhir:Coding.display [ fhir:value "Job" ]
     ]
  ], [
     fhir:index 2;
     fhir:AuditEvent.entity.what [
       fhir:link <http://hl7.org/fhir/DocumentManifest/example>;
       fhir:Reference.reference [ fhir:value "DocumentManifest/example" ]
     ];
     fhir:AuditEvent.entity.type [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-entity-type" ];
       fhir:Coding.code [ fhir:value "2" ];
       fhir:Coding.display [ fhir:value "System Object" ]

     ] ; #    The SubmissionSet identifier   
     fhir:role [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "20" ] ;
         fhir:display [ fhir:v "Job" ]
       ] )

     ]
  ] .

<http://hl7.org/fhir/DocumentManifest/example> a fhir:DocumentManifest .

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

<http://hl7.org/fhir/AuditEvent/example-media.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/AuditEvent/example-media.ttl> .

  ] [
     fhir:what [
       fhir:reference [ fhir:v "DocumentReference/example" ]
     ] #    The Document Manifest exported   
  ] )] . # 


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.