This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition.
This is NOT a resource. It is not part of the FHIR schema and cannot appear directly in FHIR instances. It is a logical model that defines a pattern adhered to by other resources. This pattern serves two purposes:
An "event" is any description of an activity that has already taken place or that is currently ongoing. It includes resources that primarily describe the "result" of an activity or what was found (e.g. a condition or observation). Examples include encounters, procedures, completed questionnaires, representations of state transitions, etc. It does not include resources that describe objects or roles (e.g. patient, device, location).
This logical model is one of three common workflow patterns. The other two patterns are Request and Definition. This pattern is followed by (or is intended to be followed by a number of other FHIR resources
Events are distinct from requests in that an event is primarily focused on what has occurred or is occurring while requests deal with what is "desired" to occur. While creating a request or definition can be seen as a type of event, the focus of those other resources is not the "creation" but the desire/intention.
Events are related to Task in that events can be performed in fulfillment of a task and performing an event may involve the execution of one or more tasks. Events do not track the fulfillment of any requests they may be associated with. Tracking of fulfillment is managed through the Task resource.
This model represents a pattern. It provides a standard list of data elements with cardinalities, data types, definitions, rationale and usage notes that will ideally be adhered to by resources that fall into the "event" workflow category. However, adherence to this pattern is not mandatory. Not all healthcare domains are the same. Concepts that may be generally applicable (and thus are included in this standard pattern) might still not be relevant everywhere or may be sufficiently uncommon that they are more appropriate to include as extensions than as core properties of the resource. Work groups are encouraged to adjust descriptions, usage notes and rationale to be specific to their resource (e.g. use the term "procedure" or "observation" rather than "event"). As well, design notes in the comments column marked with [square brackets] identifies areas where domain variation is expected and encouraged. Other variation, including differences in names, cardinalities, data types and the decision to omit an element outright are also possible, but should be discussed with the FHIR Infrastructure work group's Workflow project to ensure the rationale for non-alignment is understood, to confirm that the deviation is necessary and to identify whether any adjustments to the pattern are appropriate.
This pattern provides a linkage to the W5 list of standard data elements. Resources that adhere to this pattern should ensure their w5 mappings are consistent, as is their data element ordering.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Event | I | Logical | Event Pattern + Not Done Reason can only be specified if NotDone is "true" | |
identifier | Σ | 0..* | Identifier | Business Identifier for event |
definition | Σ | 0..* | Reference(Definition) | Instantiates protocol or definition |
basedOn | Σ | 0..* | Reference(Request) | Fulfills plan, proposal or order |
partOf | Σ | 0..* | Reference(Event) | Part of referenced event |
status | ?!Σ | 1..1 | code | preparation | in-progress | suspended | aborted | completed | entered-in-error | unknown EventStatus (Required) |
notDone | ?!Σ | 0..1 | boolean | {{title}} did not occur |
notDoneReason | ΣI | 0..1 | CodeableConcept | Why {{title}} did not occur |
code | Σ | 0..1 | CodeableConcept | What was done |
subject | Σ | 1..1 | Reference(Patient | Group) | Individual service was done for/to |
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event |
occurrence[x] | Σ | 0..1 | When event occurred | |
occurrenceDateTime | dateTime | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
performer | Σ | 0..* | BackboneElement | Who performed event |
role | Σ | 0..1 | CodeableConcept | What type of performance was done Procedure Performer Role Codes (Example) |
actor | Σ | 1..1 | Reference(Practitioner | Organization | Patient | Device | RelatedPerson) | Individual who was performing |
onBehalfOf | 0..1 | Reference(Organization) | Organization organization was acting for | |
reasonCode | Σ | 0..* | CodeableConcept | Why was event performed? |
reasonReference | Σ | 0..* | Reference(Condition | Observation) | Why was event performed? |
note | 0..* | Annotation | Comments made about the event | |
Documentation for this format |
UML Diagram (Legend)
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Event | I | Logical | Event Pattern + Not Done Reason can only be specified if NotDone is "true" | |
identifier | Σ | 0..* | Identifier | Business Identifier for event |
definition | Σ | 0..* | Reference(Definition) | Instantiates protocol or definition |
basedOn | Σ | 0..* | Reference(Request) | Fulfills plan, proposal or order |
partOf | Σ | 0..* | Reference(Event) | Part of referenced event |
status | ?!Σ | 1..1 | code | preparation | in-progress | suspended | aborted | completed | entered-in-error | unknown EventStatus (Required) |
notDone | ?!Σ | 0..1 | boolean | {{title}} did not occur |
notDoneReason | ΣI | 0..1 | CodeableConcept | Why {{title}} did not occur |
code | Σ | 0..1 | CodeableConcept | What was done |
subject | Σ | 1..1 | Reference(Patient | Group) | Individual service was done for/to |
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event |
occurrence[x] | Σ | 0..1 | When event occurred | |
occurrenceDateTime | dateTime | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
performer | Σ | 0..* | BackboneElement | Who performed event |
role | Σ | 0..1 | CodeableConcept | What type of performance was done Procedure Performer Role Codes (Example) |
actor | Σ | 1..1 | Reference(Practitioner | Organization | Patient | Device | RelatedPerson) | Individual who was performing |
onBehalfOf | 0..1 | Reference(Organization) | Organization organization was acting for | |
reasonCode | Σ | 0..* | CodeableConcept | Why was event performed? |
reasonReference | Σ | 0..* | Reference(Condition | Observation) | Why was event performed? |
note | 0..* | Annotation | Comments made about the event | |
Documentation for this format |
Path | Definition | Type | Reference |
---|---|---|---|
Event.status | Codes identifying the stage lifecycle stage of a event | Required | EventStatus |
Event.code | Codes indicating the details of what is/was done. These will vary significantly based on the type of request resource and will often be example/preferred rather than extensible/required. | Unknown | No details provided yet |
Event.performer.role | Codes describing the types of functional roles performers can take on when performing events | Example | Procedure Performer Role Codes |
Event.reasonCode | Codes identifying why this event was necessary. These may be clinical reasons (e.g. diagnoses, symptoms) and/or administrative reasons. While the detailed constraints of relevant reasons will vary by resource, some degree of consistency across resources around recommended codes would be desirable. | Unknown | No details provided yet |
The following diagram shows the "typical" state machine diagram for resources following the Event pattern. Note that not all resources will support all states, some resources may choose different names for certain states and some resources may introduce sub-states to the listed states. As well, additional transitions may be supported, including from terminal nodes (e.g. from "completed" back to "in-progress"). That said, most resources should align with this state machine fairly well.