Overview
The Patient Handoff feature enables nurses to generate comprehensive, AI-powered handoff notes from patient records. The system analyzes patient data, tasks, vitals, and medical history to create structured summaries suitable for nurse-to-nurse handoff communication.Key Features
AI-Powered Note Generation
The system uses Claude Sonnet 4 to generate handoff notes that include:- Patient Overview - Demographics, chief complaint, and code status
- Clinical Status - Current condition and vital signs with trend analysis
- Lab/Imaging Findings - Key results and trends
- Medications & Treatments - Active medications and allergies
- Task Status - Completed and outstanding tasks organized by priority
- Safety Concerns - Fall risk, allergies, code status
The AI prioritizes trends in vitals, labs, and condition changes to help incoming nurses quickly identify what’s changing.
Incremental Updates
When regenerating notes, the system compares current data with previous handoff notes to highlight:- CHANGED: Items that differ from previous notes
- NEW: Items not mentioned in previous notes
- RESOLVED: Issues that were in previous notes but are now resolved
- COMPLETED: Tasks that were pending but are now done
Workflow
Generating Handoff Notes
From the patient detail page at~/workspace/source/src/components/PatientDetail.jsx:91-154:
- Click “Generate from Record” button
- The system sends patient data including tasks to the backend
- AI analyzes the record and generates structured notes
- Notes are automatically saved to the database
- Success message confirms generation and save
Task Integration
The handoff notes prominently feature task status from~/workspace/source/src/components/PatientDetail.jsx:160-176:
Completed Tasks
Tasks marked as complete during the shift are listed with:
- Time scheduled
- Description
- Priority level
- Task type
Outstanding Tasks
Pending tasks are organized by priority:
- Critical
- High
- Medium
- Low
Editing Notes
From~/workspace/source/src/components/PatientDetail.jsx:340-366:
- Click “Edit Notes” to enter edit mode
- Modify the text in the textarea
- Click “Save Changes” to persist updates
- Notes are saved with timestamp to database
API Endpoint
Generate Handoff Summary
~/workspace/source/server/index.js:145-296:
Claude Prompt Structure
Claude Prompt Structure
The system sends a detailed prompt that includes:
- Patient record JSON
- Task completion status (total, completed, outstanding)
- Completed tasks list with priority and type
- Outstanding tasks requiring attention organized by priority
- Previous handoff notes for comparison
- Optional image analysis to integrate
- Creating a “Changes Since Last Handoff” section
- Using prefixes (CHANGED, NEW, RESOLVED, COMPLETED)
- Highlighting trends in vitals and labs
- Making task status prominent and scannable
Save Handoff Notes
~/workspace/source/server/index.js:469-554
Task Management
Toggle Task Completion
Tasks can be marked complete/incomplete by clicking them in the Task Status section at~/workspace/source/src/components/PatientDetail.jsx:453-509:
Features Summary
Auto-Save
Generated notes are automatically saved to the database
Copy to Clipboard
One-click copy of handoff notes for external use
Trend Analysis
AI highlights changes in vitals, labs, and condition
Task Focus
Prominent task status section organized by priority
Incremental Updates
Compare with previous notes to show changes
Image Integration
Merge handoff images with electronic records
Next Steps
Image Analysis
Learn how to upload and analyze handoff document images
AI Providers
Understand Claude integration and configuration
