R6 Ballot (2nd Draft)

Publish-box (todo)

Example AuditEvent/example-pixQuery (XML)

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

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

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"/> 
  <type> 
    <coding> 
      <system value="http://dicom.nema.org/resources/ontology/DCM"/> 
      <code value="110112"/> 
      <display value="Query"/> 
    </coding> 
  </type> 
  <subtype> 
    <coding> 
      <system value="urn:oid:1.3.6.1.4.1.19376.1.2"/> 
      <code value="ITI-9"/> 
      <display value="PIX Query"/> 
    </coding> 
  </subtype> 
  <action value="E"/> 
  <recorded value="2015-08-26T23:42:24Z"/> 
  <outcome> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/audit-event-outcome"/> 
      <code value="0"/> 
      <display value="Success"/> 
    </code> 
  </outcome> 
  <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
    -->
    <extension url="http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID">
      <valueIdentifier> 
        <type> 
          <text value="process ID"/> 
        </type> 
        <value value="6580"/> 
      </valueIdentifier> 
    </extension> 
    <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> 
    <requestor value="false"/> 
    <networkString value="Workstation1.ehr.familyclinic.com"/> 
  </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> 
      <display value="Grahame Grieve"/> 
    </who> 
    <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> 
    <role> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/object-role"/> 
        <code value="1"/> 
        <display value="Patient"/> 
      </coding> 
    </role> 
  </entity> 
  <entity> 
    <!--   The PIX Query Parameters   -->
    <role> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/object-role"/> 
        <code value="24"/> 
        <display value="Query"/> 
      </coding> 
    </role> 
    <!--   The complete query message (including MSH and QPD segments), base64 encoded 
      -->
    <query value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249I
    lhNTF8xLjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44NDA
    uMTE0MzUwLjEuMTMuMC4xLjcuMS4xIi8+CiAgPGNyZWF0aW9uVGltZSB2YWx1ZT0iMjAxNDA1MDgxNjQ5MjUiLz4KICA8a
    W50ZXJhY3Rpb25JZCBleHRlbnNpb249IlBSUEFfSU4yMDEzMDVVVjAyIiByb290PSIyLjE2Ljg0MC4xLjExMzg4My4xLjY
    iLz4KICA8cHJvY2Vzc2luZ0NvZGUgY29kZT0iVCIvPgogIDxwcm9jZXNzaW5nTW9kZUNvZGUgY29kZT0iVCIvPgogIDxhY
    2NlcHRBY2tDb2RlIGNvZGU9IkFMIi8+CiAgPHJlY2VpdmVyIHR5cGVDb2RlPSJSQ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VBhcmFtZXRlcj4KICAgICAgPHF1ZXJ5SWQgZXh0ZW5zaW9uPSIxODQwOTk3MDg0IiByb290PSIxLjIuODQwLjExNDM1MC4
    xLjEzLjI4LjEuMTguNS45OTkiLz4KICAgICAgPHN0YXR1c0NvZGUgY29kZT0ibmV3Ii8+CiAgICAgIDxyZXNwb25zZVBya
    W9yaXR5Q29kZSBjb2RlPSJJIi8+CiAgICAgIDxwYXJhbWV0ZXJMaXN0PgogICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4
    KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249IlN1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvP
    gogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVudC5JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnR
    JZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgICA8L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQ
    WN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K"/> 
    <detail> 
      <!--   MSH-10   -->
      <type> 
        <coding> 
          <code value="MSH-10"/> 
        </coding> 
      </type> 
      <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.