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

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="CZ-PolicyAuditEventExample"/>
  <meta>
    <profile value="https://hl7.cz/fhir/hie/StructureDefinition/cz-policyAuditEvent"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: AuditEvent CZ-PolicyAuditEventExample</b></p><a name="CZ-PolicyAuditEventExample"> </a><a name="hcCZ-PolicyAuditEventExample"> </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-cz-policyAuditEvent.html">CZ Access Check Audit Event</a></p></div><p><b>type</b>: <a href="http://hl7.org/fhir/R4/codesystem-dicom-dcim.html#dicom-dcim-110112">DICOM: 110112</a> (Query)</p><p><b>subtype</b>: <a href="CodeSystem-cz-PolicyAuditEvent-type-cs.html#cz-PolicyAuditEvent-type-cs-ATC_POL_ACCESS_CHECK">CZ Access Check Audit Event Type CodeSystem: ATC_POL_ACCESS_CHECK</a> (Ověření oprávnění v Registru oprávnění)</p><p><b>recorded</b>: 2024-10-28 09:43:57+0000</p><p><b>outcome</b>: Success</p><blockquote><p><b>agent</b></p><p><b>type</b>: <span title="Codes:{http://dicom.nema.org/resources/ontology/DCM 110153}">Source Role ID</span></p><p><b>who</b>: Affinitní doména A (Identifier: <a href="http://terminology.hl7.org/7.1.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:2.999.2.1)</p><p><b>requestor</b>: false</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title="Codes:{http://dicom.nema.org/resources/ontology/DCM 110152}">Destination Role ID</span></p><p><b>who</b>: Registr oprávnění</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://example.com/registr-opravneni</td><td>URI</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleClass PROV}">healthcare provider</span></p><p><b>who</b>: Nemocnice XYZ (Identifier: <code>https://ncez.mzcr.cz/fhir/sid/ico</code>/12345678)</p><p><b>requestor</b>: false</p><p><b>policy</b>: urn:ietf:params:oauth:jti:9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d</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>role</b>: <span title="Codes:{https://hl7.cz/fhir/hie/CodeSystem/cz-documentEntry-authorRole-cs HCP}">Healthcare professional</span></p><p><b>altId</b>: 2000000090092</p><p><b>name</b>: Mračena Mrakomorová</p><p><b>requestor</b>: true</p><p><b>purposeOfUse</b>: <span title="Codes:{https://hl7.cz/fhir/hie/CodeSystem/cz-purposeOfUse-cs NORM}">Normální přístup</span></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>2.999.2.1</td><td>Affinitní doména A (Identifier: <a href="http://terminology.hl7.org/7.1.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:2.999.2.1)</td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: Identifier: <code>https://ncez.mzcr.cz/fhir/sid/rid</code>/4567891235</p><p><b>type</b>: <a href="http://terminology.hl7.org/7.3.0/CodeSystem-audit-entity-type.html#audit-entity-type-1">Audit event entity type: 1</a> (Person)</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: Rozhodnutí Registru oprávnění</p><p><b>type</b>: <a href="http://terminology.hl7.org/7.3.0/CodeSystem-audit-entity-type.html#audit-entity-type-2">Audit event entity type: 2</a> (System Object)</p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>decision</td><td>permit</td></tr></table></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: Identifier: 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-00</p><p><b>type</b>: <a href="http://terminology.hl7.org/7.3.0/CodeSystem-audit-entity-type.html#audit-entity-type-4">Audit event entity type: 4</a> (Other)</p></blockquote></div>
  </text>
  <type>
    <system value="http://dicom.nema.org/resources/ontology/DCM"/>
    <code value="110112"/>
    <display value="Query"/>
  </type>
  <subtype>
    <system value="https://hl7.cz/fhir/hie/CodeSystem/cz-PolicyAuditEvent-type-cs"/>
    <code value="ATC_POL_ACCESS_CHECK"/>
    <display value="Ověření oprávnění v Registru oprávnění"/>
  </subtype>
  <recorded value="2024-10-28T09:43:57Z"/>
  <outcome value="0"/>
  <agent>
    <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:ietf:rfc:3986"/>
        <value value="urn:oid:2.999.2.1"/>
      </identifier>
      <display value="Affinitní doména A"/>
    </who>
    <requestor value="false"/>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110152"/>
        <display value="Destination Role ID"/>
      </coding>
    </type>
    <who>
      <display value="Registr oprávnění"/>
    </who>
    <requestor value="false"/>
    <network>
      <address value="https://example.com/registr-opravneni"/>
      <type value="5"/>
    </network>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
        <code value="PROV"/>
        <display value="healthcare provider"/>
      </coding>
    </type>
    <who>
      <identifier>
        <system value="https://ncez.mzcr.cz/fhir/sid/ico"/>
        <value value="12345678"/>
      </identifier>
      <display value="Nemocnice XYZ"/>
    </who>
    <requestor value="false"/>
    <policy value="urn:ietf:params:oauth:jti:9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"/>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="RESP"/>
        <display value="responsible party"/>
      </coding>
    </type>
    <role>
      <coding>
        <system value="https://hl7.cz/fhir/hie/CodeSystem/cz-documentEntry-authorRole-cs"/>
        <code value="HCP"/>
      </coding>
    </role>
    <altId value="2000000090092"/>
    <name value="Mračena Mrakomorová"/>
    <requestor value="true"/>
    <purposeOfUse>
      <coding>
        <system value="https://hl7.cz/fhir/hie/CodeSystem/cz-purposeOfUse-cs"/>
        <code value="NORM"/>
        <display value="Normální přístup"/>
      </coding>
    </purposeOfUse>
  </agent>
  <source>
    <site value="2.999.2.1"/>
    <observer>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.999.2.1"/>
      </identifier>
      <display value="Affinitní doména A"/>
    </observer>
  </source>
  <entity>
    <what>
      <identifier>
        <system value="https://ncez.mzcr.cz/fhir/sid/rid"/>
        <value value="4567891235"/>
      </identifier>
    </what>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
      <code value="1"/>
      <display value="Person"/>
    </type>
  </entity>
  <entity>
    <what>
      <display value="Rozhodnutí Registru oprávnění"/>
    </what>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
      <code value="2"/>
      <display value="System Object"/>
    </type>
    <detail>
      <type value="decision"/>
      <valueString value="permit"/>
    </detail>
  </entity>
  <entity>
    <what>
      <identifier>
        <value value="00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-00"/>
      </identifier>
    </what>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
      <code value="4"/>
      <display value="Other"/>
    </type>
  </entity>
</AuditEvent>