{
  "resourceType" : "AuditEvent",
  "id" : "AuditEventPatientIdentityQueryExample",
  "meta" : {
    "profile" : ["https://hl7.or.cr/fhir/labresult/StructureDefinition/cr-auditevent-laboratory-result|0.1.0"]
  },
  "language" : "es",
  "text" : {
    "status" : "generated",
    "div" : "<div xml:lang=\"es\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"es\"><p>AuditEvent: Patient Identity Source procesó consulta de identidad de paciente (query).</p></div>"
  },
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/audit-event-type",
      "code" : "rest"
    }]
  }],
  "code" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/restful-interaction",
      "code" : "search-type",
      "display" : "search-type"
    }]
  },
  "action" : "R",
  "severity" : "informational",
  "recorded" : "2026-04-08T10:04:50-06:00",
  "outcome" : {
    "code" : {
      "system" : "http://hl7.org/fhir/issue-severity",
      "code" : "success"
    }
  },
  "authorization" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "TREAT"
    }],
    "text" : "Atención"
  }],
  "patient" : {
    "reference" : "Patient/PatientHbA1cTamizajeEBAISExample"
  },
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110153",
        "display" : "Source Role ID"
      }]
    },
    "who" : {
      "reference" : "Device/DeviceMeddygClientExample"
    },
    "requestor" : true,
    "networkString" : "192.0.2.30"
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110152",
        "display" : "Destination Role ID"
      }]
    },
    "who" : {
      "reference" : "Device/DevicePatientIdentitySourceExample"
    },
    "requestor" : false,
    "networkString" : "192.0.2.50"
  }],
  "source" : {
    "observer" : {
      "reference" : "Device/DevicePatientIdentitySourceExample"
    },
    "type" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/security-source-type",
        "code" : "4"
      }]
    }]
  },
  "entity" : [{
    "what" : {
      "reference" : "Patient/PatientHbA1cTamizajeEBAISExample"
    },
    "role" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/object-role",
        "code" : "1"
      }]
    }
  }]
}