---
title: "handoff_preparation"
description: "Prepare comprehensive patient handoff documentation for care transitions."
canonical: "https://acs.synapti.ai/workflows/handoff-preparation/"
last_updated: "2026-10-28T18:48:12Z"
---

# Prepare comprehensive patient handoff documentation for care transitions.

Generated from [schemas/workflows/healthcare_workflows.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflows/healthcare_workflows.yaml) at commit 18c38b74ac21.

- Workflow id: `handoff_preparation`
- Risk: low
- Catalog: domain workflows (healthcare)
- Declares Standard 1.1.0
- Steps: 13

Handoff preparation workflow for care transitions.
Synthesizes patient information, identifies critical items,
and prepares structured handoff documentation.

NOTE: Final handoff communication is between clinical staff.

**Figure: Steps of handoff_preparation: 13 steps, checkpoint at step 12.** Read top to bottom: only steps 12 and 13 (checkpoint, audit) change state; and the highest step risk is low, at steps 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 and 13.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `retrieve` | PERCEIVE |  |  |  |  | low |
| 2 | `retrieve` | PERCEIVE |  |  |  |  | low |
| 3 | `search` | PERCEIVE |  |  |  |  | low |
| 4 | `retrieve` | PERCEIVE |  |  |  |  | low |
| 5 | `retrieve` | PERCEIVE |  |  |  |  | low |
| 6 | `search` | PERCEIVE |  |  |  |  | low |
| 7 | `integrate` | SYNTHESIZE |  |  |  | 1, 2, 3, 4, 5, 6 | low |
| 8 | `detect` | UNDERSTAND |  |  |  | 7 | low |
| 9 | `classify` | UNDERSTAND |  |  |  | 7 | low |
| 10 | `compare` | UNDERSTAND |  |  |  | 5 | low |
| 11 | `generate` | SYNTHESIZE |  |  |  | 1, 2, 3, 4, 6, 8, 9, 10 | low |
| 12 | `checkpoint` | VERIFY | checkpoint |  |  |  | low |
| 13 | `audit` | VERIFY |  |  |  | 5, 8, 9, 12 | low |

## Inputs

**Figure: Inputs of handoff_preparation.** 4 inputs, 1 required (filled pin) and 3 optional (outlined pin), with 3 named fields inside them.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `patient` | object | Yes |  |
| `patient.id` | string | No |  |
| `shift_window` | string | No |  |
| `shift_info` | object | No |  |
| `shift_info.outgoing_provider` | string | No |  |
| `shift_info.incoming_provider` | string | No |  |
| `profile` | object | No |  |

## Steps

1. [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md): Get patient demographic and admission info. Stores `patient_info_out`. (risk low)
2. [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md): Get current care plan and active problems. Stores `care_plan_out`. (risk low)
3. [`search`](https://acs.synapti.ai/capabilities/search/index.md): Gather clinical notes from current shift. Stores `shift_notes_out`. (risk low)
4. [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md): Get current vital signs and trends. Stores `vitals_out`. (risk low)
5. [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md): Get pending orders and tasks. Stores `pending_tasks_out`. (risk low)
6. [`search`](https://acs.synapti.ai/capabilities/search/index.md): Find any recent alerts or events. Stores `events_out`. (risk low)
7. [`integrate`](https://acs.synapti.ai/capabilities/integrate/index.md): Merge all patient data for handoff. Stores `integrated_handoff_out`. (risk low)
8. [`detect`](https://acs.synapti.ai/capabilities/detect/index.md): Identify critical items requiring emphasis. Stores `critical_items_out`. (risk low)
9. [`classify`](https://acs.synapti.ai/capabilities/classify/index.md): Classify patient acuity for handoff. Stores `acuity_out`. (risk low)
10. [`compare`](https://acs.synapti.ai/capabilities/compare/index.md): Rank pending tasks by urgency. Stores `task_priority_out`. (risk low)
11. [`generate`](https://acs.synapti.ai/capabilities/generate/index.md): Create structured handoff document (SBAR format). Stores `handoff_doc_out`. (risk low)
12. [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md): Checkpoint handoff preparation. Stores `checkpoint_out`. (risk low, changes state)
13. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Record handoff preparation. Stores `audit_out`. (risk low, changes state)

## Data flow

**Figure: Which step reads which stored output.** 6 steps read the output of earlier steps, 21 reads in all; step 11 (generate) reads the most, from 8 steps.

- Step 7 reads from steps 1, 2, 3, 4, 5 and 6.
- Step 8 reads from step 7.
- Step 9 reads from step 7.
- Step 10 reads from step 5.
- Step 11 reads from steps 1, 2, 3, 4, 6, 8, 9 and 10.
- Step 13 reads from steps 5, 8, 9 and 12.

## Risk

Declared and highest step risk are both low; the catalog gives no computed risk; the highest-risk step is step 1 (retrieve), with 12 others at the same level. The step map above gives each step's risk.

## Success criteria

- Patient status summarized comprehensively
- Critical items highlighted
- Pending tasks identified
- Structured handoff document prepared

## Related

- Domain: [healthcare](https://acs.synapti.ai/domains/healthcare/index.md)
- Listed by the [healthcare](https://acs.synapti.ai/domains/healthcare/index.md) profile

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflows/healthcare_workflows.yaml
```

## Workflow YAML

```yaml
handoff_preparation:
  goal: Prepare comprehensive patient handoff documentation for care transitions.
  risk: low
  domain: healthcare
  profile: schemas/profiles/healthcare.yaml
  description: |
    Handoff preparation workflow for care transitions.
    Synthesizes patient information, identifies critical items,
    and prepares structured handoff documentation.

    NOTE: Final handoff communication is between clinical staff.
  success:
    - Patient status summarized comprehensively
    - Critical items highlighted
    - Pending tasks identified
    - Structured handoff document prepared
  steps:
    - capability: retrieve
      purpose: Get patient demographic and admission info.
      risk: low
      mutation: false
      store_as: patient_info_out
      input_bindings:
        target: ${patient.id}
        format: patient_demographics

    - capability: retrieve
      purpose: Get current care plan and active problems.
      risk: low
      mutation: false
      store_as: care_plan_out
      input_bindings:
        target: ${patient.id}
        format: care_plan_summary

    - capability: search
      purpose: Gather clinical notes from current shift.
      risk: low
      mutation: false
      store_as: shift_notes_out
      input_bindings:
        query:
          patient_id: ${patient.id}
          date_range: ${shift_window}
        scope: clinical_notes

    - capability: retrieve
      purpose: Get current vital signs and trends.
      risk: low
      mutation: false
      store_as: vitals_out
      input_bindings:
        target: ${patient.id}
        format: vital_signs_summary
        filter:
          time_range: ${shift_window}

    - capability: retrieve
      purpose: Get pending orders and tasks.
      risk: low
      mutation: false
      store_as: pending_tasks_out
      input_bindings:
        target: ${patient.id}
        format: pending_orders

    - capability: search
      purpose: Find any recent alerts or events.
      risk: low
      mutation: false
      store_as: events_out
      input_bindings:
        query:
          patient_id: ${patient.id}
          date_range: ${shift_window}
        scope: clinical_events_and_alerts

    - capability: integrate
      purpose: Merge all patient data for handoff.
      risk: low
      mutation: false
      store_as: integrated_handoff_out
      input_bindings:
        sources:
          - "${patient_info_out.data: object}"
          - "${care_plan_out.data: object}"
          - "${shift_notes_out.results: array<object>}"
          - "${vitals_out.data: object}"
          - "${pending_tasks_out.data: array<object>}"
          - "${events_out.results: array<object>}"
        strategy: structured_merge
        conflict_resolution: prefer_recent

    - capability: detect
      purpose: Identify critical items requiring emphasis.
      domain: critical_item
      risk: low
      mutation: false
      store_as: critical_items_out
      input_bindings:
        data: ${integrated_handoff_out.merged}
        pattern: critical_for_handoff

    - capability: classify
      purpose: Classify patient acuity for handoff.
      risk: low
      mutation: false
      store_as: acuity_out
      input_bindings:
        item: ${integrated_handoff_out.merged}
        taxonomy: [stable, guarded, critical]

    - capability: compare
      purpose: Rank pending tasks by urgency.
      domain: task_urgency
      risk: low
      mutation: false
      store_as: task_priority_out
      input_bindings:
        options: "${pending_tasks_out.data: array<object>}"
        criteria:
          - time_sensitivity
          - clinical_importance
          - dependency

    - capability: generate
      purpose: Create structured handoff document (SBAR format).
      domain: handoff_document
      risk: low
      mutation: false
      store_as: handoff_doc_out
      input_bindings:
        specification:
          type: sbar_handoff
          patient: "${patient_info_out.data: object}"
          situation: "${acuity_out.labels[0]: object}"
          background: "${care_plan_out.data: object}"
          assessment:
            vitals: "${vitals_out.data: object}"
            events: "${events_out.results: array<object>}"
            notes: "${shift_notes_out.results: array<object>}"
          recommendation:
            critical_items: "${critical_items_out.matches: array<object>}"
            pending_tasks: "${task_priority_out.ranking: array<object>}"
        format: sbar

    - capability: checkpoint
      purpose: Checkpoint handoff preparation.
      risk: low
      mutation: true
      store_as: checkpoint_out
      input_bindings:
        scope: handoff_preparation
        label: "HANDOFF-${patient.id}"

    - capability: audit
      purpose: Record handoff preparation.
      risk: low
      mutation: true
      store_as: audit_out
      input_bindings:
        event:
          type: handoff_preparation
          patient_id: ${patient.id}
          acuity: "${acuity_out.labels[0]: object}"
          critical_items: "${critical_items_out.matches: array<object>}"
          pending_tasks: "${pending_tasks_out.data: array<object>}"
          handoff_from: ${shift_info.outgoing_provider}
          handoff_to: ${shift_info.incoming_provider}
          checkpoint_id: ${checkpoint_out.checkpoint_id}
        retention: 2555d

  inputs:
    patient:
      type: object
      required: true
      properties:
        id: {type: string}
    shift_window:
      type: string
      default: "12h"
    shift_info:
      type: object
      properties:
        outgoing_provider: {type: string}
        incoming_provider: {type: string}
    profile:
      type: object
      ref: schemas/profiles/healthcare.yaml
```
