MOD EBP 010 EXC
Domain specifications / D09-EBP / 5. Detailed Functional Requirements / 5.10 Module Specification: Pathway Exception, Deferral, Variance and Escalation
5.10 Module Specification: Pathway Exception, Deferral, Variance and Escalation¶
5.10.1 Module Overview¶
Module ID: MOD-EBP-010
Purpose: Record clinician-authorized departures from a pathway at instance and step level, and escalate overdue or blocked pathway work, while preserving individual clinical judgement.
Business Capabilities: - CAP-EBP-011 Exception, variance and escalation handling
Primary Actors: - Treating Clinician (ACT-EBP-009), Care Team Member (ACT-EBP-010), Care Team Supervisor / Escalation Recipient (ACT-EBP-011)
Dependencies: - MOD-EBP-009 - Domain 10 (ESS): notification, workflow, authorization, audit - Domain 3 (CLI): workspace hosting exception actions; owning services for withdrawal of unsigned proposals
5.10.2 Functional Area: Instance-Level Exceptions; Step Variance and Deferral; Escalation¶
Functional Area ID: FA-EBP-018, FA-EBP-019, FA-EBP-020
Description: FA-EBP-018 covers deviation, pause, resume and discontinuation. FA-EBP-019 covers step outcomes other than completion. FA-EBP-020 covers escalation.
Scope: - Included: exception records, reasons and context, effects on activities and timers, visibility, variance classification, escalation rules, acknowledgement and closure. - Excluded: cancellation or modification of native orders, prescriptions or tasks (clinician actions in Domain 3); critical-result escalation (Domain 4); nursing task escalation for non-pathway tasks (Domain 3).
5.10.3 Detailed Requirements¶
Requirement FR-EBP-EXC-001: Deviate From, Pause, Resume or Discontinue a Pathway¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-EBP-EXC-001 |
| Requirement Name | Deviate from, pause, resume or discontinue a pathway |
| Requirement Type | Functional |
| Module | Pathway Exception, Deferral, Variance and Escalation |
| Functional Area | FA-EBP-018 Instance-level exceptions |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | PRS EBP-008; PRS section 22.4 (clinical judgement remains with the treating clinician; justified deviations, pauses or discontinuation) |
| Related Business Rule | BR-EBP-023, BR-EBP-024, BR-EBP-025 |
| Related Workflow | WF-EBP-006 |
1. Requirement Statement
The system shall allow an authorized clinician to deviate from, pause, resume or discontinue an active pathway instance at any time when clinically appropriate, shall record the exception type, reason, author, timestamp, pathway version, affected activities and relevant clinical context, shall make the exception visible to the care team, and shall never prevent the clinician's individual clinical judgement or native clinical actions.
2. Business Rationale
PRS EBP-008 makes the ability to depart from a pathway a mandatory capability. A pathway is a default plan for a cohort; the individual patient may need something else, and recording why is what makes variance analysable.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Treating Clinician (ACT-EBP-009) | Create (exception) | Authorized for the patient; role permitted for instance-level exceptions (CFG-EBP-010) |
| Care Team Member (ACT-EBP-010) | Read | Exceptions on assigned patients |
| EBP Service Identity (ACT-EBP-014) | None | Cannot record a clinician exception |
4. Preconditions - The instance is Active (deviate, pause, discontinue) or Paused (resume, discontinue).
5. Trigger - The clinician selects an exception action on the pathway timeline, or acts natively in a way the clinician marks as a deviation.
6. Functional Behaviour
- Deviate: the clinician selects the affected activity or activities, or records a general deviation, with a reason code and free-text context. Affected non-terminal activities become Overridden; the instance stays Active and later activities continue unless the clinician also dispositions them.
- Pause: the instance becomes Paused; due-time clocks and escalations are suspended; proposals not yet acted on are withdrawn where the owning domain allows; an optional expected-resume time is recorded.
- Resume: the instance returns to Active; timers resume; withdrawn proposals for still-relevant activities are proposed again. If the pause exceeded the configured re-evaluation threshold (CFG-EBP-013), the system prompts the clinician to review current eligibility facts before resuming; the clinician decides.
- Discontinue: the instance becomes Discontinued; non-terminal activities become Cancelled; unsigned proposals are withdrawn; signed or in-progress native records created from the pathway are listed for the clinician and are not altered.
- Every exception requires a reason code from the governed list and accepts free text; the system stores author, role, timestamp, pathway version, affected activities, and references to clinical context selected by the clinician (for example a diagnosis, result or note in Domain 3).
- The system emits the corresponding event and shows the exception on the timeline to all authorized care-team members.
- The exception action is never a precondition for a native clinical action: a clinician can order, prescribe, document or cancel in Domain 3 regardless of pathway state.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Exception type | Coded | Yes | Deviate / Pause / Resume / Discontinue; valid for current state | Action |
| Reason code | Coded | Yes | From governed list (CFG-EBP-011) | Classified reason |
| Reason text / clinical context | Text | Conditional | Required where the reason code is "other" | Narrative context |
| Affected activities | References | Conditional | Required for activity-level deviation | Scope |
| Clinical context references | References to native records | No | Resolvable in the owning domain | Supporting context |
| Expected resume time | Date-time | No | In the future | For pause |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-EXC001-1 | An exception is recorded atomically with its state effects and step events. | No partial application. |
| PR-EXC001-2 | Exception records are append-only; a mistaken exception is corrected by a further recorded action with reason. | History preserved. |
| PR-EXC001-3 | Native records are never cancelled by an exception. | BR-EBP-018, BR-EBP-019. |
| PR-EXC001-4 | Reason codes carry a governed variance classification (for example clinically justified, patient preference, resource or system cause). | Supports BR-EBP-025. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| PathwayException record | Structured record | Timeline, audit, Domain 8 | Type, reason, context, author, time, affected activities, disposition |
| PathwayDeviationRecorded / Paused / Resumed / Discontinued | Domain events (EVT-EBP-014 to EVT-EBP-017) | Domain 3, Domain 10 workflow, Domain 8 | Reason code, author, timestamp, affected activity, resulting state |
| List of native records still active | List | Clinician | On discontinuation or pause |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Reason missing | Required | Do not record the exception | "Select a reason." Native actions remain available. |
| Action invalid for state (for example resume when Active) | State check | Refuse | Name current state |
| Withdrawal of a proposal fails | Owning-domain response | Record exception; list the proposal as "could not be withdrawn" | Clinician resolves in owning domain |
| User not authorized | Policy decision | Deny; audit | Access denied |
11. State and Lifecycle Behaviour
PathwayInstance: Active to Paused, Paused to Active, Active or Paused to Discontinued. ActivityInstance: to Overridden or Cancelled as described.
12. Audit Requirements
Audit: each exception with type, reason, author, role, timestamp, pathway version, affected activities and context references; refused attempts.
13. Security and Privacy Requirements
Patient-level, Sensitive. Free-text reasons are clinical content and are protected as such. Events carry the reason code, not the free text.
14. Acceptance Criteria
- AC-01: Given an Active instance, when an authorized clinician records a deviation on an activity with a reason, then the exception is stored with reason, author, timestamp and context, the activity is Overridden, and the exception is visible to the care team.
- AC-02: Given an Active instance, when the clinician pauses it, then the state is Paused, no activity becomes overdue while paused, and PathwayPaused is emitted.
- AC-03: Given a Paused instance, when resumed, then the state is Active and timers continue.
- AC-04: Given an instance with a signed pathway-originated order, when the clinician discontinues the pathway, then the instance is Discontinued, the order is unchanged, and the order is listed for the clinician.
- AC-05: Given any pathway state, when the clinician places a native order that differs from the pathway, then the order is not blocked by the pathway.
- AC-06: Given recorded exceptions, when pathway performance is reported, then they are included and classified (PRS EBP-008 acceptance).
15. Dependencies and Integration
- Upstream dependencies: MOD-EBP-009; Domain 10 authorization.
- Downstream dependencies: Domain 3 (proposal withdrawal, timeline display); MOD-EBP-011; Domain 8.
- Required events or APIs: IF-EBP-004, IF-EBP-005; EVT-EBP-014 to EVT-EBP-017.
16. Open Questions / Assumptions
- The reason-code list and its variance classification are set in CFG-EBP-011: patient-related, clinician-related, system or organizational, and "Other" with text. Clinical governance may extend the list (GAP-EBP-005, closed).
- The PRS lists deviate, pause and discontinue; resume is added from REF-003 addendum section 3.1.
Requirement FR-EBP-EXC-002: Record Step-Level Variance, Deferral and Non-Applicability¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-EBP-EXC-002 |
| Requirement Name | Record step-level variance, deferral and non-applicability |
| Requirement Type | Functional |
| Module | Pathway Exception, Deferral, Variance and Escalation |
| Functional Area | FA-EBP-019 Step variance and deferral |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS EBP-008; PRS EBP-007 (completion states); PRS section 22.4 (execution and clinical integration) |
| Related Business Rule | BR-EBP-022, BR-EBP-024, BR-EBP-025 |
| Related Workflow | WF-EBP-005, WF-EBP-006 |
1. Requirement Statement
The system shall allow authorized care-team members to record, for an individual pathway activity, an outcome of not applicable, deferred or declined, with reason, actor and timestamp, and shall record each as a variance against the pathway version that is visible on the timeline and available to performance reporting.
2. Business Rationale
Most departures from a pathway are at the level of a single step. Without a structured way to record them, activities simply appear overdue and the reason is lost.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Treating Clinician (ACT-EBP-009) | Create | Any activity of the instance |
| Care Team Member (ACT-EBP-010) | Create | Activities owned by their role, where the version permits that role to disposition the activity |
4. Preconditions - The instance is Active; the activity is non-terminal.
5. Trigger - A user selects a step outcome on the timeline or from the linked native task.
6. Functional Behaviour
- Not applicable: the activity becomes Not Applicable with reason; dependent activities proceed as the version defines.
- Deferred: the activity becomes Deferred with reason and a new due time; at that time it returns to Assigned. The original due time is retained for reporting. The number of deferrals may be limited per activity in the version; exceeding it requires the treating clinician.
- Declined: the activity becomes Declined with reason, recording whether the decision was the clinician's or the patient's. When the patient or representative declined, the system also records whether a shared decision was made and any alternative the patient chose, as at activation (FR-EBP-ACT-001 step 9).
- For each outcome the system withdraws an unacted proposal where applicable, appends a step event, records a variance with its classification and shows it on the timeline.
- Where the same disposition is made in the owning domain (for example a nursing task marked not done with reason in Domain 3), the runtime derives the step outcome from that domain's event and does not ask the user to record it twice.
- Activities classified required-by-policy can be dispositioned only by the roles named in the approving policy; the system records the disposition as a policy exception.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Activity | Reference | Yes | Non-terminal activity of an Active instance | Target |
| Outcome | Coded | Yes | Not applicable / Deferred / Declined | Disposition |
| Reason code and text | Coded + text | Yes | Code from governed list; text required for "other" | Why |
| New due time | Date-time | Conditional | Required for Deferred; in the future | Deferral target |
| Decision origin | Coded | Conditional | Required for Declined: clinician / patient or representative | Who declined |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-EXC002-1 | Original due time and each deferral are retained. | Time-to-action measures remain computable. |
| PR-EXC002-2 | A step outcome derived from an owning-domain event is attributed to the actor in that event. | Single entry; correct authorship. |
| PR-EXC002-3 | Variance classification comes from the reason code. | BR-EBP-025. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Step event and variance record | Structured record | Timeline, audit, Domain 8 | Outcome, reason, actor, time |
| PathwayDeviationRecorded | Domain event (EVT-EBP-014) with activity scope | Domain 3, Domain 8 | Affected activity, outcome, reason code |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Role not permitted to disposition the activity | Authorization | Deny | "This step must be dispositioned by the treating clinician." |
| Deferral limit exceeded | Version rule | Require treating clinician | Route to clinician |
| Deferred without new due time | Conditional required | Reject | "Enter the new due time." |
| Activity already terminal | State check | Refuse | Show current outcome |
11. State and Lifecycle Behaviour
ActivityInstance to Not Applicable, Deferred or Declined as in section 4.3.
12. Audit Requirements
Audit: each step outcome with actor, role, reason, original and new due time, and source event where derived.
13. Security and Privacy Requirements
Patient-level, Sensitive. Role restrictions enforced server-side.
14. Acceptance Criteria
- AC-01: Given an assigned activity, when a permitted user records "not applicable" with a reason, then the activity is Not Applicable, the variance is visible on the timeline and included in reporting.
- AC-02: Given a deferred activity, when its new due time arrives, then it returns to Assigned and both due times are retained.
- AC-03: Given a nursing task marked not done with reason in Domain 3, when the event is consumed, then the pathway activity reflects the outcome without a second entry.
- AC-04: Given a user whose role may not disposition a required-by-policy activity, when they attempt it, then the attempt is refused.
15. Dependencies and Integration
- Upstream dependencies: MOD-EBP-009; Domain 3 task and order events.
- Downstream dependencies: MOD-EBP-011; Domain 8.
- Required events or APIs: IF-EBP-004, IF-EBP-007; EVT-EBP-014.
16. Open Questions / Assumptions
- The step outcomes follow REF-004 section 5.10.3. "Overridden" is produced by FR-EBP-EXC-001, "blocked" by FR-EBP-RUN-002 and "escalated" by FR-EBP-EXC-003.
Requirement FR-EBP-EXC-003: Escalate Overdue and Blocked Pathway Activities¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-EBP-EXC-003 |
| Requirement Name | Escalate overdue and blocked pathway activities |
| Requirement Type | Functional |
| Module | Pathway Exception, Deferral, Variance and Escalation |
| Functional Area | FA-EBP-020 Escalation |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS EBP-004 (escalation points); PRS EBP-007; PRS section 22.4 (escalation criteria); PRS NUR-004 and ORD-005, contributing |
| Related Business Rule | BR-EBP-026 |
| Related Workflow | WF-EBP-006 |
1. Requirement Statement
The system shall apply the escalation points defined in the pathway version, notifying the named recipient role when an activity or milestone is overdue beyond its threshold, is blocked beyond the configured time, or meets a defined clinical escalation condition, and shall record notification, acknowledgement, further escalation and closure.
2. Business Rationale
Escalation points are part of the pathway definition required by PRS EBP-004. Overdue pathway work that nobody is told about defeats the purpose of coordination.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| EBP Service Identity (ACT-EBP-014) | Create | Raises escalations from rules |
| Escalation Recipient (ACT-EBP-011) | Read / Update | Acknowledge and close escalations addressed to their role for their patients, on UI-EBP-010 |
| Treating Clinician (ACT-EBP-009) | Read / Update | Read escalations on their patients; acknowledge and close those addressed to them as recipient (a physician of the care team), on UI-EBP-010 |
| Care Team Member | Read | Escalations on their patients |
4. Preconditions - The instance is Active. Escalations are not raised while Paused.
5. Trigger - Overdue flag set and threshold elapsed; activity Blocked longer than the configured time; a clinical escalation condition in the version becomes true from a consumed event.
6. Functional Behaviour
- The runtime evaluates escalation rules on timer expiry and on relevant events.
- When a rule fires the system creates an Escalation record (DE-EBP-025: instance, activity or milestone, rule, level, recipient, time) in state Raised, sets the escalated flag, resolves the recipient role to the current responsible person or team using Domain 1 care-team assignment, and sends a notification through Domain 10 with a link to the escalation on the work list UI-EBP-010; on delivery the escalation is Notified. An activity Blocked longer than CFG-EBP-017 escalates.
- The recipient acknowledges; acknowledgement is recorded with actor and time. Acknowledgement stops further escalation and does not complete the activity.
- If not acknowledged within the level's time, the system escalates to the next level defined in the rule (state Escalated). If notifying the next level fails, the escalation stays at the current level, is flagged "Notification failed", and a coordination exception is listed on UI-EBP-014.
- The escalation closes when the activity reaches a terminal state, the instance is paused or discontinued, or the recipient closes it with a reason.
- The same condition does not raise a second open escalation for the same activity and level.
- If the notification service is unavailable, the escalation is still recorded and shown on the timeline and on UI-EBP-010, and the notification is queued.
- A pathway escalation does not replace any escalation owned by another domain (for example critical-result escalation in Domain 4 or nursing task escalation in Domain 3); where the underlying native task already has an escalation in its owning domain, the version may suppress the pathway-level notification to avoid duplicate alerts.
- The priority of an escalation is derived: High when the activity is time-critical or the escalation has reached a further level, otherwise Normal.
- Escalations are worked only on UI-EBP-010, with the shared escalation timeline (Raised, Notified, Acknowledged, Escalated, Closed). The charge nurse's panel in the Domain 3 nursing workspace embeds this work list and the notification links to it; no other work list shows pathway escalations.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Escalation rule | From pathway version | Yes | — | Condition, threshold, recipient role, levels |
| Acknowledgement / closure | Action + optional text | Yes for the action | Recipient authorized; reason required for manual closure | Response |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-EXC003-1 | One open escalation per activity, rule and level. | No duplicate notifications. |
| PR-EXC003-2 | Recipient is resolved at firing time from current care-team assignment. | Escalation follows the patient after transfer. |
| PR-EXC003-3 | If no recipient can be resolved, escalate to the configured fallback role (CFG-EBP-015) and raise a coordination exception (DE-EBP-030) on UI-EBP-014. | No escalation is silently undeliverable. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Escalation notification | Notification via Domain 10 | Recipient role | Patient-safe summary and link; minimum PHI |
| PathwayEscalationRaised | Domain event (EVT-EBP-019) | UI-EBP-010 work list, Domain 10 notification, Domain 8 | Instance, activity, level, time. Domain 3 shows it only through the embedded panel of UI-EBP-010 (OV-74) |
| Escalation record | Structured record | Timeline, audit | Notification, acknowledgement, closure |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Recipient role unresolved | Care-team lookup | Fallback role; coordination exception on UI-EBP-014 | "Sent to fallback role: [role]" |
| Notification delivery failure | Delivery status from Domain 10 | Retry; show on timeline; next level after time | "Notification failed" |
| Notifying the next level fails | Delivery status from Domain 10 | Stay at the current level; flag "Notification failed"; coordination exception on UI-EBP-014 | "Notification failed" on the escalation |
| Acknowledgement by non-recipient | Authorization | Refuse | Access denied |
11. State and Lifecycle Behaviour
Escalation: Raised, Notified, Acknowledged, Escalated, Closed (section 4.3), the words of the shared escalation timeline. Sets and clears the escalated flag on the activity.
12. Audit Requirements
Audit: escalation raised, each notification attempt and delivery status reference, acknowledgement, level change, closure with reason.
13. Security and Privacy Requirements
Notifications contain minimum necessary information; detail is read in the authorized workspace. Patient-level, Sensitive.
14. Acceptance Criteria
- AC-01: Given an activity overdue beyond its escalation threshold, when the threshold passes, then the recipient role's current holder is notified and an escalation record exists.
- AC-02: Given an unacknowledged escalation, when the level time elapses, then the next level is notified.
- AC-03: Given an escalated activity that is then completed, when the completion event is consumed, then the escalation closes automatically.
- AC-04: Given a Paused instance, when an activity's original due time passes, then no escalation is raised.
- AC-05: Given the notification service down, when an escalation fires, then it is recorded and visible on the timeline and the notification is delivered after recovery.
15. Dependencies and Integration
- Upstream dependencies: MOD-EBP-009; Domain 1 care-team assignment; Domain 10 notification.
- Downstream dependencies: Domain 3 worklists; Domain 8.
- Required events or APIs: EVT-EBP-019; Domain 10 notification API.
16. Open Questions / Assumptions
- Overdue escalation thresholds are pathway content and are not given by the sources; no default is imposed for them. The blocked-activity escalation time has a default (CFG-EBP-017): 60 minutes for time-critical steps, 24 hours otherwise.
← 5.9 Module Specification: Pathway Runtime, Step/Task Coordination and Due Dates | Contents | Identifier index | 5.11 Module Specification: Adherence, Outcome Evaluation and Continuous Improvement →