{
  "resourceType" : "AuditEvent",
  "id" : "patient-updated-audit-event",
  "meta" : {
    "profile" : ["http://resmed.com/fhir/core/StructureDefinition/auditevent-rmd-patient-update"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"patient-updated-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;patient-updated-audit-event&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-auditevent-rmd-patient-update.html\">ResMed PatientUpdate 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>: update (Details: http://hl7.org/fhir/restful-interaction code update = 'update', stated as 'update')</p><p><b>recorded</b>: Feb 17, 2023, 1:24:04 PM</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://hl7.org/fhir/R4/codesystem-dicom-dcim.html\">DICOM</a>#110153)</span></p><p><b>who</b>: <span>id:\u00a00oa13xv7gwdbnhjFF0h8</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>192.168.123.132</td><td>2</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Destination Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-dicom-dcim.html\">DICOM</a>#110152)</span></p><p><b>who</b>: <span>id:\u00a0CHP</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>https://api.dev.resmedchp.com</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:\u00a0j.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>resmedchp.com</td><td><span>id:\u00a0CHP</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id:\u00a061dbee25-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>id:\u00a080032057-66c5-4a0b-a3fd-3e5deb01050e</span></p><p><b>type</b>: An identifier for a ResMed system tenant for the interaction being audited (Details: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs code tenant-id = 'An identifier for a ResMed system tenant for the interaction being audited', stated as 'null')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id:\u00a01-64ac2152-687f38375b76970d3f0e6c10</span></p><p><b>type</b>: A transport layer-specific unique identifier for the interaction, e.g. X-Amzn-Trace-ID (Details: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs code trace-id = 'A transport layer-specific unique identifier for the interaction, e.g. X-Amzn-Trace-ID', stated as 'null')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"Patient-patient-example.html\">Patient/patient-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><p><b>role</b>: Domain Resource (Details: http://terminology.hl7.org/CodeSystem/object-role code 4 = 'Domain Resource', stated as 'Domain Resource')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"Patient-patient-example.html\">Patient/patient-example</a></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></div>"
  },
  "type" : {
    "system" : "http://terminology.hl7.org/CodeSystem/audit-event-type",
    "code" : "rest",
    "display" : "Restful Operation"
  },
  "subtype" : [{
    "system" : "http://hl7.org/fhir/restful-interaction",
    "code" : "update",
    "display" : "update"
  }],
  "recorded" : "2023-02-17T13:24:04.621Z",
  "outcome" : "0",
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110153",
        "display" : "Source Role ID"
      }]
    },
    "who" : {
      "identifier" : {
        "value" : "0oa13xv7gwdbnhjFF0h8"
      }
    },
    "requestor" : false,
    "network" : {
      "address" : "192.168.123.132",
      "type" : "2"
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110152",
        "display" : "Destination Role ID"
      }]
    },
    "who" : {
      "identifier" : {
        "system" : "http://terminology.resmed.com/CodeSystem/resmed-system-identifier",
        "value" : "CHP"
      }
    },
    "requestor" : false,
    "network" : {
      "address" : "https://api.dev.resmedchp.com",
      "type" : "5"
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes",
        "code" : "UserOauthAgent"
      }]
    },
    "who" : {
      "identifier" : {
        "system" : "https://resmed-sandbox-dht.oktapreview.com/oauth2/aus13xvvtnecfY6Hf0h8",
        "value" : "j.smith@my-hme-provider.com"
      }
    },
    "requestor" : true,
    "policy" : ["AT.E5DnL5WMH6kRrobRnzcyin2J-ZKuLFnIAYNqc_Tm-d0"]
  }],
  "source" : {
    "site" : "resmedchp.com",
    "observer" : {
      "identifier" : {
        "system" : "http://terminology.resmed.com/CodeSystem/resmed-system-identifier",
        "value" : "CHP"
      }
    }
  },
  "entity" : [{
    "what" : {
      "identifier" : {
        "value" : "61dbee25-67c3-5aa0-814f-b2d8573a7214"
      }
    },
    "type" : {
      "system" : "https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType",
      "code" : "XrequestId"
    }
  },
  {
    "what" : {
      "identifier" : {
        "value" : "80032057-66c5-4a0b-a3fd-3e5deb01050e"
      }
    },
    "type" : {
      "system" : "http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs",
      "code" : "tenant-id"
    }
  },
  {
    "what" : {
      "identifier" : {
        "value" : "1-64ac2152-687f38375b76970d3f0e6c10"
      }
    },
    "type" : {
      "system" : "http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs",
      "code" : "trace-id"
    }
  },
  {
    "what" : {
      "reference" : "Patient/patient-example"
    },
    "type" : {
      "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
      "code" : "2",
      "display" : "System Object"
    },
    "role" : {
      "system" : "http://terminology.hl7.org/CodeSystem/object-role",
      "code" : "4",
      "display" : "Domain Resource"
    }
  },
  {
    "what" : {
      "reference" : "Patient/patient-example"
    },
    "type" : {
      "system" : "http://terminology.hl7.org/CodeSystem/audit-entity-type",
      "code" : "1",
      "display" : "Person"
    },
    "role" : {
      "system" : "http://terminology.hl7.org/CodeSystem/object-role",
      "code" : "1",
      "display" : "Patient"
    }
  }]
}