#347 Demo: Patient Post-Procedure Monitoring

closed medium demo workflow Created 2025-12-10 06:39 · Updated 2026-01-02 06:26

Description

Edit
## Overview Healthcare workflow for 30-day patient recovery tracking. ## Workflow Steps 1. Surgery complete (trigger) 2. Sleep 1 day 3. Send SMS: How is your pain level (1-10)? 4. Wait for SMS reply 5. If reply > 7: Page nurse immediately 6. If reply < 7: Log data 7. Sleep 24 hours 8. Repeat for 30 days ## Tools Required - tools.sms.send ❌ (NEW - needs implementation) - tools.http.request ✅ (nurse paging) - SMS App ❌ (marketplace - Twilio) ## DSL Operators WaitOperator, WaitForEventOperator (SMS reply), ConditionalOperator, LoopOperator (30 iterations) ## Mock Implementation - Mock SMS via logging or email fallback - Simulate replies via event API - Nurse paging via HTTP webhook ## Durable Advantages - 30-day care plan in single workflow - Persists across server restarts - Handles patient responses asynchronously

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...