description: Defines the UK Core constraints and extensions on the AuditEvent resource for the minimal set of data to query and retrieve information about an event created to maintain a security log. package_name: fhir.r4.ukcore.stu1 derivation: constraint name: UKCoreAuditEvent type: AuditEvent elements: agent: elements: who: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 0 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 1 location: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location'] index: 2 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 3 source: elements: observer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson'] index: 4 elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 5 entity: elements: what: elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization'] index: 6 package_version: 1.0.0 class: profile kind: resource url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-AuditEvent base: http://hl7.org/fhir/StructureDefinition/AuditEvent version: 1.0.0