---
type: "search-params"
title: "AuditEvent Search Parameters"
resource: "AuditEvent"
---
# AuditEvent Search Parameters
## action
**Description:** Type of action performed during the event
**Type:** token
**Expression:** AuditEvent.action
**Path:** AuditEvent.action
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-action
## agent
**Description:** Identifier of who
**Type:** reference
**Expression:** AuditEvent.agent.who
**Path:** AuditEvent.agent.who
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-agent
## agent-role
**Description:** Agent role in the event
**Type:** token
**Expression:** AuditEvent.agent.role
**Path:** AuditEvent.agent.role
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-agent-role
## based-on
**Description:** Reference to the service request.
**Type:** reference
**Expression:** AuditEvent.basedOn
**Path:** AuditEvent.basedOn
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-based-on
## date
**Description:** Time when the event was recorded
**Type:** date
**Expression:** AuditEvent.recorded
**Path:** AuditEvent.recorded
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-date
## encounter
**Description:** Encounter related to the activity recorded in the AuditEvent
**Type:** reference
**Expression:** AuditEvent.encounter
**Path:** AuditEvent.encounter
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-encounter
## entity
**Description:** Specific instance of resource
**Type:** reference
**Expression:** AuditEvent.entity.what
**Path:** AuditEvent.entity.what
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-entity
## entity-role
**Description:** What role the entity played
**Type:** token
**Expression:** AuditEvent.entity.role
**Path:** AuditEvent.entity.role
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-entity-role
## outcome
**Description:** Whether the event succeeded or failed
**Type:** token
**Expression:** AuditEvent.outcome.code
**Path:** AuditEvent.outcome.code
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-outcome
## patient
**Description:** Where the activity involved patient data
**Type:** reference
**Expression:** AuditEvent.patient
**Path:** AuditEvent.patient
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-patient
## policy
**Description:** Policy that authorized event
**Type:** uri
**Expression:** AuditEvent.agent.policy
**Path:** AuditEvent.agent.policy
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-policy
## purpose
**Description:** The authorization (purposeOfUse) of the event
**Type:** token
**Expression:** AuditEvent.authorization | AuditEvent.agent.authorization
**Path:** AuditEvent.authorization,AuditEvent.agent.authorization
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-authorization
## source
**Description:** The identity of source detecting the event
**Type:** reference
**Expression:** AuditEvent.source.observer
**Path:** AuditEvent.source.observer
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-source
## subtype
**Description:** More specific code for the event
**Type:** token
**Expression:** AuditEvent.subtype
**Path:** AuditEvent.subtype
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-subtype
## type
**Description:** Type (category) of event
**Type:** token
**Expression:** AuditEvent.type
**Path:** AuditEvent.type
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-type
## entity-desc
**Description:** Description of an entity
**Type:** string
**Expression:** AuditEvent.entity.description
**Path:** AuditEvent.entity.description
**Standards Status:** normative
**URL:** http://hl7.org/fhir/build/SearchParameter/AuditEvent-entity-desc