Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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 R2

Audit-event-example-pixQuery.xml

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

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Converted ATNA message from a PIX query (id = "example-pixQuery")

<?xml version="1.0" encoding="UTF-8"?>

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="example-pixQuery"/> 

  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : example-pixQuery</p> <p> <b> type</b> : Query (Details: DICOM code 110112 = 'Query', stated as 'Query')</p> <p> <b> subtype</b> : PIX Query (Details: urn:oid:1.3.6.1.4.1.19376.1.2 code ITI-9 = 'ITI-9', stated as 'PIX
         Query')</p> <p> <b> action</b> : E</p> <p> <b> recorded</b> : 26 Aug. 2015, 11:42:24 pm</p> <p> <b> outcome</b> : 0</p> <blockquote> <p> <b> agent</b> </p> <p> <b> type</b> : Source Role ID <span> (Details : {DICOM code '110153' = 'Source Role ID', given as 'Source Role ID'})</span> </p> <p> <b> who</b> : </p> <p> <b> altId</b> : 6580</p> <p> <b> requestor</b> : false</p> <h3> Networks</h3> <table> <tr> <td> -</td> <td> <b> Address</b> </td> <td> <b> Type</b> </td> </tr> <tr> <td> *</td> <td> Workstation1.ehr.familyclinic.com</td> <td> 1</td> </tr> </table> </blockquote> <blockquote> <p> <b> agent</b> </p> <p> <b> type</b> : human user <span> (Details : {http://terminology.hl7.org/CodeSystem/extra-security-role-type code 'humanuser'
             = 'human user', given as 'human user'})</span> </p> <p> <b> who</b> : </p> <p> <b> altId</b> : 601847123</p> <p> <b> name</b> : Grahame Grieve</p> <p> <b> requestor</b> : true</p> </blockquote> <h3> Sources</h3> <table> <tr> <td> -</td> <td> <b> Observer</b> </td> </tr> <tr> <td> *</td> <td> hl7connect.healthintersections.com.au</td> </tr> </table> <blockquote> <p> <b> entity</b> </p> <p> <b> what</b> : </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> 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> : Query (Details: http://terminology.hl7.org/CodeSystem/object-role code 24 = 'Query',
           stated as 'Query')</p> <p> <b> query</b> : PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249IlhNTF
          8xLjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44NDAuMTE0MzUwLjE
          uMTMuMC4xLjcuMS4xIi8+CiAgPGNyZWF0aW9uVGltZSB2YWx1ZT0iMjAxNDA1MDgxNjQ5MjUiLz4KICA8aW50ZXJhY3Rpb25JZCBl
          eHRlbnNpb249IlBSUEFfSU4yMDEzMDVVVjAyIiByb290PSIyLjE2Ljg0MC4xLjExMzg4My4xLjYiLz4KICA8cHJvY2Vzc2luZ0NvZ
          GUgY29kZT0iVCIvPgogIDxwcm9jZXNzaW5nTW9kZUNvZGUgY29kZT0iVCIvPgogIDxhY2NlcHRBY2tDb2RlIGNvZGU9IkFMIi8+Ci
          AgPHJlY2VpdmVyIHR5cGVDb2RlPSJSQ1YiPgogICAgPGRldmljZSBjbGFzc0NvZGU9IkRFViIgZGV0ZXJtaW5lckNvZGU9IklOU1R
          BTkNFIj4KICAgICAgPGlkIHJvb3Q9IkVIUl9NSVNZUyIvPgogICAgICA8YXNBZ2VudCBjbGFzc0NvZGU9IkFHTlQiPgogICAgICAg
          IDxyZXByZXNlbnRlZE9yZ2FuaXphdGlvbiBjbGFzc0NvZGU9Ik9SRyIgZGV0ZXJtaW5lckNvZGU9IklOU1RBTkNFIj4KICAgICAgI
          CAgIDxpZCByb290PSJNSVNZUyIvPgogICAgICAgIDwvcmVwcmVzZW50ZWRPcmdhbml6YXRpb24+CiAgICAgIDwvYXNBZ2VudD4KIC
          AgIDwvZGV2aWNlPgogIDwvcmVjZWl2ZXI+CiAgPHNlbmRlciB0eXBlQ29kZT0iU05EIj4KICAgIDxkZXZpY2UgY2xhc3NDb2RlPSJ
          ERVYiIGRldGVybWluZXJDb2RlPSJJTlNUQU5DRSI+CiAgICAgIDxpZCByb290PSIyLjE2Ljg0MC4xLjExMzg4My40LjIiLz4KICAg
          ICAgPGFzQWdlbnQgY2xhc3NDb2RlPSJBR05UIj4KICAgICAgICA8cmVwcmVzZW50ZWRPcmdhbml6YXRpb24gY2xhc3NDb2RlPSJPU
          kciIGRldGVybWluZXJDb2RlPSJJTlNUQU5DRSI+CiAgICAgICAgICA8aWQgcm9vdD0iMi4xNi44NDAuMS4xMTM4ODMuNC4yIi8+Ci
          AgICAgICAgPC9yZXByZXNlbnRlZE9yZ2FuaXphdGlvbj4KICAgICAgPC9hc0FnZW50PgogICAgPC9kZXZpY2U+CiAgPC9zZW5kZXI
          +CiAgPGNvbnRyb2xBY3RQcm9jZXNzIGNsYXNzQ29kZT0iQ0FDVCIgbW9vZENvZGU9IkVWTiI+CiAgICA8Y29kZSBjb2RlPSJQUlBB
          X1RFMjAxMzA5VVYwMiIgY29kZVN5c3RlbT0iMi4xNi44NDAuMS4xMTM4ODMuMS42Ii8+CiAgICA8cXVlcnlCeVBhcmFtZXRlcj4KI
          CAgICAgPHF1ZXJ5SWQgZXh0ZW5zaW9uPSIxODQwOTk3MDg0IiByb290PSIxLjIuODQwLjExNDM1MC4xLjEzLjI4LjEuMTguNS45OT
          kiLz4KICAgICAgPHN0YXR1c0NvZGUgY29kZT0ibmV3Ii8+CiAgICAgIDxyZXNwb25zZVByaW9yaXR5Q29kZSBjb2RlPSJJIi8+CiA
          gICAgIDxwYXJhbWV0ZXJMaXN0PgogICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249
          IlN1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvPgogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVud
          C5JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnRJZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgIC
          A8L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K</p> <h3> Details</h3> <table> <tr> <td> -</td> <td> <b> Type</b> </td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> MSH-10</td> <td> MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE=</td> </tr> </table> </blockquote> </div> </text> <type> 
    <system value="http://dicom.nema.org/resources/ontology/DCM"/> 
    <code value="110112"/> 
    <display value="Query"/> 
  </type> 
  <subtype> 
    <system value="urn:oid:1.3.6.1.4.1.19376.1.2"/> 
    <code value="ITI-9"/> 
    <display value="PIX Query"/> 
  </subtype> 
  <action value="E"/> 
  <recorded value="2015-08-26T23:42:24Z"/> 
  <outcome value="0"/> 

  <agent> 
    <!--    Source active participant, the software making the PIX query
  UserId - The identity of the Patient Identifier Cross-reference Consumer Actor facility
     and sending application from the HL7 message; 
  concatenated together, separated by the | character. 
  AlternativeUserId - Process ID
     -->
    <type> 
      <coding> 
        <system value="http://dicom.nema.org/resources/ontology/DCM"/> 
        <code value="110153"/> 
        <display value="Source Role ID"/> 
      </coding> 
    </type> 
    <who> 
      <identifier> 
        <system value="urn:oid:2.16.840.1.113883.4.2"/>  
        <value value="2.16.840.1.113883.4.2"/>  
      </identifier> 
    </who> 
    <altId value="6580"/> 
    <requestor value="false"/> 
    <network> 
      <address value="Workstation1.ehr.familyclinic.com"/> 
      <type value="1"/> 
    </network>   
  </agent> 
  <agent> 
    <!--     The Human using the software, if known     -->
    <type> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/extra-security-role-type"/> 
        <code value="humanuser"/> 
        <display value="human user"/> 
      </coding> 
    </type>  

    <who> 
      <identifier> 
        <value value="95"/> 
      </identifier> 
    </who> 
    <altId value="601847123"/> 
    <name value="Grahame Grieve"/> 
    <requestor value="true"/> 
  </agent> 
  <source> 
    <observer> 
      <display value="hl7connect.healthintersections.com.au"/> 
    </observer> 
  </source> 
  <entity> 
    <!--   
  The Patient
     -->
    <what> 
      <identifier> 
        <value value="e3cdfc81a0d24bd^^^&amp;2.16.840.1.113883.4.2&amp;ISO"/> 
      </identifier> 
    </what> 
    <type> 
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/> 
      <code value="1"/> 
      <display value="Person"/> 
    </type> 
    <role> 
      <system value="http://terminology.hl7.org/CodeSystem/object-role"/> 
      <code value="1"/> 
      <display value="Patient"/> 
    </role> 
  </entity> 
  <entity> 
    <!--    The PIX Query Parameters    -->
    <type> 
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/> 
      <code value="2"/> 
      <display value="System Object"/> 
    </type> 
    <role> 
      <system value="http://terminology.hl7.org/CodeSystem/object-role"/> 
      <code value="24"/> 
      <display value="Query"/> 
    </role> 
    <!--    The complete query message (including MSH and QPD segments), base64 encoded    -->
    <query value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249IlhNTF8x
    LjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44ND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iAgICAgICAgICA8aWQgcm9vdD0iMi4xNi44NDAuMS4xMTM4ODMuNC4yIi8+CiAg
    ICAgICAgPC9yZXByZXNlbnRlZE9yZ2FuaXphdGlvbj4KICAgICAgPC9hc0FnZW50PgogICAgPC9kZXZpY2U+CiAgPC9zZW5kZXI+C
    iAgPGNvbnRyb2xBY3RQcm9jZXNzIGNsYXNzQ29kZT0iQ0FDVCIgbW9vZENvZGU9IkVWTiI+CiAgICA8Y29kZSBjb2RlPSJQUlBBX1
    RFMjAxMzA5VVYwMiIgY29kZVN5c3RlbT0iMi4xNi44NDAuMS4xMTM4ODMuMS42Ii8+CiAgICA8cXVlcnlCeVBhcmFtZXRlcj4KICA
    gICAgPHF1ZXJ5SWQgZXh0ZW5zaW9uPSIxODQwOTk3MDg0IiByb290PSIxLjIuODQwLjExNDM1MC4xLjEzLjI4LjEuMTguNS45OTki
    Lz4KICAgICAgPHN0YXR1c0NvZGUgY29kZT0ibmV3Ii8+CiAgICAgIDxyZXNwb25zZVByaW9yaXR5Q29kZSBjb2RlPSJJIi8+CiAgI
    CAgIDxwYXJhbWV0ZXJMaXN0PgogICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249Il
    N1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvPgogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVudC5
    JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnRJZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgICA8
    L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K"/> 
    <detail> 
      <!--    MSH-10    -->
      <type value="MSH-10"/> 
      <valueBase64Binary value="MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE="/> 
    </detail> 
  </entity> 
</AuditEvent> 

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.