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

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="ExampleAuditEventEmergencyLegalBasisDecision"/>
  <meta>
    <profile value="http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-audit-event-legal-basis-decision"/>
  </meta>
  <language value="vi"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: AuditEvent ExampleAuditEventEmergencyLegalBasisDecision</b></p><a name="ExampleAuditEventEmergencyLegalBasisDecision"> </a><a name="hcExampleAuditEventEmergencyLegalBasisDecision"> </a><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"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-vn-core-audit-event-legal-basis-decision.html">Quyết định xử lý dựa trên căn cứ pháp lý — VN Core Legal-Basis Decision AuditEvent</a></p></div><p><b>Căn cứ xử lý không cần đồng ý — Processing Legal Basis Extension</b>: <span title="Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-processing-legal-basis-cs emergency-vital}">Cấp bách — bảo vệ tính mạng, sức khỏe</span></p><p><b>type</b>: <a href="http://hl7.org/fhir/R4/codesystem-dicom-dcim.html#dicom-dcim-110113">DICOM: 110113</a> (Security Alert)</p><p><b>subtype</b>: <a href="CodeSystem-vn-audit-event-subtype-cs.html#vn-audit-event-subtype-cs-legal-basis-authorization">Phân loại AuditEvent về căn cứ pháp lý — VN Legal-Basis AuditEvent Subtype CodeSystem: legal-basis-authorization</a> (Quyết định xử lý theo căn cứ pháp lý (không qua đồng ý))</p><p><b>action</b>: Execute</p><p><b>recorded</b>: 2026-04-20 20:31:00+0700</p><p><b>outcome</b>: Success</p><p><b>outcomeDesc</b>: Permit — PDP cho phép override để xử trí cấp cứu / PDP permitted the emergency override</p><p><b>purposeOfEvent</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason BTG}">break the glass</span></p><blockquote><p><b>agent</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType IRCP}">information recipient</span></p><p><b>who</b>: <a href="Practitioner-ExamplePractitionerBSCKII.html">BS CKII Nguyễn Thị Lan — bác sĩ trực cấp cứu</a></p><p><b>requestor</b>: true</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>10.20.30.41</td><td>IP Address</td></tr></table><p><b>purposeOfUse</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason BTG}">break the glass</span></p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType AUT}">author (originator)</span></p><p><b>who</b>: <a href="Device-ExampleDevicePolicyDecisionPoint.html">PDP kiểm soát truy cập cấp cứu Chợ Rẫy</a></p><p><b>requestor</b>: false</p><p><b>policy</b>: urn:vn-law:91-2025-qh15#dieu-19-khoan-1-diem-a, urn:vn-policy:cho-ray:emergency-access:version-3</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType RESP}">responsible party</span></p><p><b>who</b>: <a href="Organization-ExampleOrganizationChoRay.html">Bệnh viện Chợ Rẫy</a></p><p><b>requestor</b>: false</p></blockquote><h3>Sources</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Observer</b></td></tr><tr><td style="display: none">*</td><td><a href="Device-ExampleDevicePolicyDecisionPoint.html">PDP kiểm soát truy cập cấp cứu Chợ Rẫy</a></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <a href="Patient-ExamplePatientNguyenVanAn.html">Nguyễn Văn An</a></p><p><b>type</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-audit-entity-type.html#audit-entity-type-1">Audit event entity type: 1</a> (Person)</p><p><b>role</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-object-role.html#object-role-1">AuditEventEntityRole: 1</a> (Patient)</p><p><b>name</b>: Chủ thể dữ liệu / Data subject</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href="DocumentReference-ExampleDocumentReferenceEMR.html">Bệnh án điện tử của Nguyễn Văn An</a></p><p><b>type</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-audit-entity-type.html#audit-entity-type-2">Audit event entity type: 2</a> (System Object)</p><p><b>role</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-object-role.html#object-role-3">AuditEventEntityRole: 3</a> (Report)</p><p><b>name</b>: Tập dữ liệu cần truy cập / Dataset requested for access</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href="Encounter-ExampleEncounterEmergency.html">Lượt cấp cứu tai nạn giao thông</a></p><p><b>type</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-audit-entity-type.html#audit-entity-type-4">Audit event entity type: 4</a> (Other)</p><p><b>role</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-object-role.html#object-role-4">AuditEventEntityRole: 4</a> (Domain Resource)</p><p><b>description</b>: Encounter cấp cứu làm bằng chứng bối cảnh / Emergency Encounter supporting the decision</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href="Observation-ExampleObservationTriageAcuity.html">Phân loại cấp cứu mức 2</a></p><p><b>type</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-audit-entity-type.html#audit-entity-type-4">Audit event entity type: 4</a> (Other)</p><p><b>role</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-object-role.html#object-role-4">AuditEventEntityRole: 4</a> (Domain Resource)</p><p><b>description</b>: Observation phân loại cấp cứu làm bằng chứng lâm sàng / Triage Observation supporting the decision</p></blockquote></div>
  </text>
  <extension url="http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-processing-legal-basis">
    <valueCodeableConcept>
      <coding>
        <system value="http://fhir.hl7.org.vn/core/CodeSystem/vn-processing-legal-basis-cs"/>
        <code value="emergency-vital"/>
        <display value="Cấp bách — bảo vệ tính mạng, sức khỏe"/>
      </coding>
    </valueCodeableConcept>
  </extension>
  <type>
    <system value="http://dicom.nema.org/resources/ontology/DCM"/>
    <code value="110113"/>
    <display value="Security Alert"/>
  </type>
  <subtype>
    <system value="http://fhir.hl7.org.vn/core/CodeSystem/vn-audit-event-subtype-cs"/>
    <code value="legal-basis-authorization"/>
    <display value="Quyết định xử lý theo căn cứ pháp lý (không qua đồng ý)"/>
  </subtype>
  <action value="E"/>
  <recorded value="2026-04-20T20:31:00+07:00"/>
  <outcome value="0"/>
  <outcomeDesc value="Permit — PDP cho phép override để xử trí cấp cứu / PDP permitted the emergency override"/>
  <purposeOfEvent>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="BTG"/>
      <display value="break the glass"/>
    </coding>
  </purposeOfEvent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="IRCP"/>
        <display value="information recipient"/>
      </coding>
    </type>
    <who>
      <reference value="Practitioner/ExamplePractitionerBSCKII"/>
      <display value="BS CKII Nguyễn Thị Lan — bác sĩ trực cấp cứu"/>
    </who>
    <requestor value="true"/>
    <network>
      <address value="10.20.30.41"/>
      <type value="2"/>
    </network>
    <purposeOfUse>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
        <code value="BTG"/>
        <display value="break the glass"/>
      </coding>
    </purposeOfUse>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="AUT"/>
        <display value="author (originator)"/>
      </coding>
    </type>
    <who>
      <reference value="Device/ExampleDevicePolicyDecisionPoint"/>
      <display value="PDP kiểm soát truy cập cấp cứu Chợ Rẫy"/>
    </who>
    <requestor value="false"/>
    <policy value="urn:vn-law:91-2025-qh15#dieu-19-khoan-1-diem-a"/>
    <policy value="urn:vn-policy:cho-ray:emergency-access:version-3"/>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="RESP"/>
        <display value="responsible party"/>
      </coding>
    </type>
    <who>
      <reference value="Organization/ExampleOrganizationChoRay"/>
      <display value="Bệnh viện Chợ Rẫy"/>
    </who>
    <requestor value="false"/>
  </agent>
  <source>
    <observer>
      <reference value="Device/ExampleDevicePolicyDecisionPoint"/>
      <display value="PDP kiểm soát truy cập cấp cứu Chợ Rẫy"/>
    </observer>
  </source>
  <entity>
    <what>
      <reference value="Patient/ExamplePatientNguyenVanAn"/>
      <display value="Nguyễn Văn An"/>
    </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>
    <name value="Chủ thể dữ liệu / Data subject"/>
  </entity>
  <entity>
    <what>
      <reference value="DocumentReference/ExampleDocumentReferenceEMR"/>
      <display value="Bệnh án điện tử của Nguyễn Văn An"/>
    </what>
    <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="3"/>
      <display value="Report"/>
    </role>
    <name value="Tập dữ liệu cần truy cập / Dataset requested for access"/>
  </entity>
  <entity>
    <what>
      <reference value="Encounter/ExampleEncounterEmergency"/>
      <display value="Lượt cấp cứu tai nạn giao thông"/>
    </what>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
      <code value="4"/>
      <display value="Other"/>
    </type>
    <role>
      <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
      <code value="4"/>
      <display value="Domain Resource"/>
    </role>
    <description value="Encounter cấp cứu làm bằng chứng bối cảnh / Emergency Encounter supporting the decision"/>
  </entity>
  <entity>
    <what>
      <reference value="Observation/ExampleObservationTriageAcuity"/>
      <display value="Phân loại cấp cứu mức 2"/>
    </what>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
      <code value="4"/>
      <display value="Other"/>
    </type>
    <role>
      <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
      <code value="4"/>
      <display value="Domain Resource"/>
    </role>
    <description value="Observation phân loại cấp cứu làm bằng chứng lâm sàng / Triage Observation supporting the decision"/>
  </entity>
</AuditEvent>