FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example AuditEvent/example-consent-permit-authz (XML)

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

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

An AuditEvent recording a 'permit' authorization decision by a Consent Decision Service, based on a Consent resource (C1) filed by a patient (P1), in response to a request by an organization (Org1) for the purpose of treatment (TREAT). (id = "example-consent-permit-authz")

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

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="example-consent-permit-authz"/> 
  <type> 
    <coding> 
      <system value="http://dicom.nema.org/resources/ontology/DCM"/> 
      <code value="110113"/> 
      <display value="Security Alert"/> 
    </coding> 
  </type> 
  <subtype> 
    <coding> 
      <system value="http://dicom.nema.org/resources/ontology/DCM"/> 
      <code value="110112"/> 
      <display value="Query"/> 
    </coding> 
  </subtype> 
  <action value="E"/> 
  <recorded value="2021-09-08T21:51:59.932Z"/> 
  <outcome> 
    <code> 
      <system value="http://terminology.hl7.org/CodeSystem/audit-event-outcome"/> 
      <code value="0"/> 
      <display value="Success"/> 
    </code> 
    <detail> 
      <text value="CONSENT_PERMIT"/> 
    </detail> 
  </outcome> 
  <patient> 
    <reference value="Patient/example"/> 
  </patient> 
  <agent> 
    <type> 
      <coding> 
        <system value="http://dicom.nema.org/resources/ontology/DCM"/> 
        <code value="110152"/> 
        <display value="Destination Role ID"/> 
      </coding> 
    </type> 
    <who> 
      <identifier> 
        <system value="https://github.com/synthetichealth/synthea"/> 
        <value value="Org1"/> 
      </identifier> 
    </who> 
    <requestor value="true"/> 
    <authorization> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> 
        <code value="TREAT"/> 
      </coding> 
    </authorization> 
  </agent> 
  <source> 
    <observer> 
      <display value="LEAP Consent Decision Service"/> 
    </observer> 
    <type> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/security-source-type"/> 
        <code value="4"/> 
        <display value="Application Server"/> 
      </coding> 
    </type> 
  </source> 
  <entity> 
    <what> 
      <reference value="Consent/consent-example-basic"/> 
    </what> 
    <role> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/object-role"/> 
        <code value="4"/> 
        <display value="Domain Resource"/> 
      </coding> 
    </role> 
  </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.