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

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="device-deleted-avx-audit-event"/>
  <meta>
    <profile value="http://resmed.com/fhir/core/StructureDefinition/auditevent-rmd-avx-delete"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: AuditEvent</b><a name="device-deleted-avx-audit-event"> </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;device-deleted-avx-audit-event&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-auditevent-rmd-avx-delete.html">ResMed Delete AVX AuditEvent</a></p></div><p><b>type</b>: Restful Operation (Details: http://terminology.hl7.org/CodeSystem/audit-event-type code rest = 'RESTful Operation', stated as 'Restful Operation')</p><p><b>subtype</b>: delete (Details: http://hl7.org/fhir/restful-interaction code delete = 'delete', stated as 'delete')</p><p><b>action</b>: D</p><p><b>recorded</b>: Sep 21, 2023, 1:24:04 PM</p><p><b>outcome</b>: 0</p><blockquote><p><b>agent</b></p><p><b>type</b>: Application <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/R4/codesystem-dicom-dcim.html">DICOM</a>#110150)</span></p><p><b>who</b>: <span>Integrator Id: <a href="http://terminology.hl7.org/5.0.0/NamingSystem-uri.html">#</a>urn:uuid:3b268924-cf70-11eb-b8bc-0242ac130003</span></p><p><b>name</b>: auditLoggerUFO3</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>192.168.123.132</td><td>2</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Custodian <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.0.0/CodeSystem-provenance-participant-type.html">Provenance participant type</a>#custodian)</span></p><p><b>who</b>: <span>id: AVX</span></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>api.dev-amr.airview-ufo-dev.dht.live</td><td>5</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: User OAuth Agent participant <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://profiles.ihe.net/ITI/BALP/1.1.2/CodeSystem-UserAgentTypes.html">The code used to identifiy a User Agent</a>#UserOauthAgent)</span></p><p><b>who</b>: <span>id: j.smith@my-hme-provider.com</span></p><p><b>requestor</b>: true</p><p><b>policy</b>: <code>AT.E5DnL5WMH6kRrobRnzcyin2J-ZKuLFnIAYNqc_Tm-d0</code></p></blockquote><h3>Sources</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Site</b></td><td><b>Observer</b></td></tr><tr><td style="display: none">*</td><td>api.dev-amr.airview-ufo-dev.dht.live</td><td><span>id: AVX</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id: 61dbee25-67c3-5aa0-814f-b2d8573a7214</span></p><p><b>type</b>: transport specific unique identifier where http X-Request-Id is used (Details: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType code XrequestId = 'transport specific unique identifier where http X-Request-Id is used', stated as 'null')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span>EasyCare Number: <a href="http://terminology.hl7.org/5.0.0/NamingSystem-uri.html">#</a>urn:uuid:94a91286-361f-4037-bd43-c7ba89b8e266</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>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>description</b>: DELETE api.dev-amr.airview-ufo-dev.dht.live/exchange/v1/patients/94a91286-361f-4037-bd43-c7ba89b8e266/device/66793269986</p><p><b>query</b>: (base64 data - 120 bytes)</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id: <a href="NamingSystem-ResMedDeviceSerialNumber.html">#</a>66793269986</span></p><p><b>type</b>: Device (Details: http://hl7.org/fhir/resource-types code Device = 'Device', stated as 'null')</p></blockquote></div>
  </text>
  <type>
    <system value="http://terminology.hl7.org/CodeSystem/audit-event-type"/>
    <code value="rest"/>
    <display value="Restful Operation"/>
  </type>
  <subtype>
    <system value="http://hl7.org/fhir/restful-interaction"/>
    <code value="delete"/>
    <display value="delete"/>
  </subtype>
  <action value="D"/>
  <recorded value="2023-09-21T13:24:04.621Z"/>
  <outcome value="0"/>
  <agent>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110150"/>
        <display value="Application"/>
      </coding>
    </type>
    <who>
      <identifier>
        <type>
          <coding>
            <system value="http://terminology.resmed.com/CodeSystem/resmed-user-identifier"/>
            <code value="IntegratorId"/>
          </coding>
        </type>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:3b268924-cf70-11eb-b8bc-0242ac130003"/>
      </identifier>
    </who>
    <name value="auditLoggerUFO3"/>
    <requestor value="false"/>
    <network>
      <address value="192.168.123.132"/>
      <type value="2"/>
    </network>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
        <code value="custodian"/>
        <display value="Custodian"/>
      </coding>
    </type>
    <who>
      <identifier>
        <system value="http://terminology.resmed.com/CodeSystem/resmed-system-identifier"/>
        <value value="AVX"/>
      </identifier>
    </who>
    <requestor value="false"/>
    <network>
      <address value="api.dev-amr.airview-ufo-dev.dht.live"/>
      <type value="5"/>
    </network>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes"/>
        <code value="UserOauthAgent"/>
      </coding>
    </type>
    <who>
      <identifier>
        <system value="https://resmed-sandbox-dht.oktapreview.com/oauth2/aus13xvvtnecfY6Hf0h8"/>
        <value value="j.smith@my-hme-provider.com"/>
      </identifier>
    </who>
    <requestor value="true"/>
    <policy value="AT.E5DnL5WMH6kRrobRnzcyin2J-ZKuLFnIAYNqc_Tm-d0"/>
  </agent>
  <source>
    <site value="api.dev-amr.airview-ufo-dev.dht.live"/>
    <observer>
      <identifier>
        <system value="http://terminology.resmed.com/CodeSystem/resmed-system-identifier"/>
        <value value="AVX"/>
      </identifier>
    </observer>
  </source>
  <entity>
    <what>
      <identifier>
        <value value="61dbee25-67c3-5aa0-814f-b2d8573a7214"/>
      </identifier>
    </what>
    <type>
      <system value="https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType"/>
      <code value="XrequestId"/>
    </type>
  </entity>
  <entity>
    <what>
      <identifier>
        <type>
          <coding>
            <system value="http://terminology.resmed.com/CodeSystem/resmed-user-identifier"/>
            <code value="ECN"/>
          </coding>
        </type>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:94a91286-361f-4037-bd43-c7ba89b8e266"/>
      </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>
    <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>
    <description value="DELETE api.dev-amr.airview-ufo-dev.dht.live/exchange/v1/patients/94a91286-361f-4037-bd43-c7ba89b8e266/device/66793269986"/>
    <query value="REVMRVRFIGFwaS5kZXYtYW1yLmFpcnZpZXctdWZvLWRldi5kaHQubGl2ZS9leGNoYW5nZS92MS9wYXRpZW50cy85NGE5MTI4Ni0zNjFmLTQwMzctYmQ0My1jN2JhODliOGUyNjYvZGV2aWNlLzAyNjY0NzIwMjU0"/>
  </entity>
  <entity>
    <what>
      <identifier>
        <system value="http://identifier.resmed.com/device-serial"/>
        <value value="66793269986"/>
      </identifier>
    </what>
    <type>
      <system value="http://hl7.org/fhir/resource-types"/>
      <code value="Device"/>
    </type>
  </entity>
</AuditEvent>