> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TriggerDefinition

> Base StructureDefinition for TriggerDefinition Type: A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.

## Properties

| Name | Required | Type | Description |
| - | - | - | - |
| id | No | string | Unique id for inter-element referencing |
| extension | No | [Extension](/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| type | Yes | code | named-event / periodic / data-changed / data-added / data-modified / data-removed / data-accessed / data-access-ended |
| name | No | string | Name or URI that identifies the event |
| timing\[x] | No | [Timing](/medical-api/fhir/data-types/timing), Reference\<[Schedule](/medical-api/fhir/resources/schedule)>, date, dateTime | Timing of the event |
| data | No | [DataRequirement](/medical-api/fhir/data-types/datarequirement)\[] | Triggering data of the event (multiple = 'and') |
| condition | No | [Expression](/medical-api/fhir/data-types/expression) | Whether the event triggers (boolean expression) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.