R6 Ballot (2nd Draft)

Publish-box (todo)

Example AuditEvent/example-media (Turtle)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

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

Export of 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 -------------------------------------------------------------------

#   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:type [
     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:subtype ( [
     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: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:entity ( [
     fhir:what [
       fhir:identifier [
         fhir:value [ fhir:v "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" ]
       ]
     ] ; #  \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: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" ]
       ]
     ] ; #   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" ]
       ] )
     ]
  ] [
     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.