{
  "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
  "workflow_id": "stroke_assessment",
  "state": "COMPLETED",
  "tasks": {
    "fast_assessment": {
      "task_id": "fast_assessment",
      "name": "FAST Protocol Assessment",
      "action": "fast_assessment",
      "dependencies": [],
      "max_retries": 3,
      "timeout_seconds": 300,
      "state": "COMPLETED",
      "result": {
        "status": "success",
        "stroke_suspected": true
      },
      "error": null,
      "start_time": 1761651223.1341665,
      "end_time": 1761651223.134607,
      "retry_count": 0
    },
    "time_check": {
      "task_id": "time_check",
      "name": "Symptom Onset Time Check",
      "action": "check_symptom_onset_time",
      "dependencies": [],
      "max_retries": 3,
      "timeout_seconds": 300,
      "state": "COMPLETED",
      "result": {
        "status": "success",
        "hours_since_onset": 3.919444444444444e-07
      },
      "error": null,
      "start_time": 1761651223.1347504,
      "end_time": 1761651223.134982,
      "retry_count": 0
    },
    "assess_stroke_risk": {
      "task_id": "assess_stroke_risk",
      "name": "Assess Stroke Risk",
      "action": "assess_stroke_risk",
      "dependencies": [
        "fast_assessment",
        "time_check"
      ],
      "max_retries": 3,
      "timeout_seconds": 300,
      "state": "COMPLETED",
      "result": {
        "status": "success",
        "risk_level": "CRITICAL"
      },
      "error": null,
      "start_time": 1761651223.135063,
      "end_time": 1761651223.1352515,
      "retry_count": 0
    },
    "tpa_eligibility": {
      "task_id": "tpa_eligibility",
      "name": "Check tPA Eligibility",
      "action": "check_tpa_eligibility",
      "dependencies": [
        "assess_stroke_risk",
        "time_check"
      ],
      "max_retries": 3,
      "timeout_seconds": 300,
      "state": "COMPLETED",
      "result": {
        "status": "success",
        "tpa_eligible": true
      },
      "error": null,
      "start_time": 1761651223.1353335,
      "end_time": 1761651223.1355371,
      "retry_count": 0
    },
    "stroke_alert": {
      "task_id": "stroke_alert",
      "name": "Activate Stroke Alert",
      "action": "activate_stroke_alert",
      "dependencies": [
        "assess_stroke_risk"
      ],
      "max_retries": 3,
      "timeout_seconds": 300,
      "state": "COMPLETED",
      "result": {
        "status": "alert_activated",
        "critical": true
      },
      "error": null,
      "start_time": 1761651223.1356065,
      "end_time": 1761651223.1357543,
      "retry_count": 0
    }
  },
  "context": {
    "patient_id": "PATIENT_003",
    "fast": {
      "face_droop": true,
      "arm_weakness": true,
      "speech_difficulty": false,
      "positive_findings": 2,
      "stroke_suspected": true
    },
    "symptom_onset_time": "2025-10-28T07:33:43.133489",
    "fast_assessment": {
      "face_droop": true,
      "arm_weakness": true,
      "speech_difficulty": false,
      "positive_findings": 2,
      "stroke_suspected": true
    },
    "time_check": {
      "onset_time": "2025-10-28T07:33:43.133489",
      "current_time": "2025-10-28T07:33:43.134900",
      "hours_since_onset": 0.0,
      "within_tpa_window": true
    },
    "stroke_assessment": {
      "risk_level": "CRITICAL",
      "stroke_suspected": true,
      "time_sensitive": true,
      "immediate_action_required": true
    },
    "tpa_eligibility": {
      "eligible": true,
      "time_window_met": true,
      "contraindications_checked": true,
      "recommendation": "Consider tPA administration"
    },
    "stroke_alert": {
      "type": "CODE_STROKE",
      "patient_id": "PATIENT_003",
      "fast_positive": 2,
      "tpa_eligible": true,
      "time_since_onset": 0.0,
      "timestamp": "2025-10-28T07:33:43.135746",
      "recipients": [
        "STROKE_TEAM",
        "NEUROLOGY",
        "CT_SCAN",
        "PHARMACY"
      ]
    }
  },
  "start_time": 1761651223.133607,
  "end_time": 1761651223.1358333,
  "error": null,
  "audit_log": [
    {
      "timestamp": "2025-10-28T07:33:43.133749",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "WORKFLOW_STARTED",
      "details": {
        "workflow_id": "stroke_assessment"
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.134336",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_STARTED",
      "details": {
        "task_id": "fast_assessment",
        "task_name": "FAST Protocol Assessment"
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.134736",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_COMPLETED",
      "details": {
        "task_id": "fast_assessment",
        "duration_seconds": 0.0004405975341796875,
        "attempt": 1
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.134835",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_STARTED",
      "details": {
        "task_id": "time_check",
        "task_name": "Symptom Onset Time Check"
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135043",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_COMPLETED",
      "details": {
        "task_id": "time_check",
        "duration_seconds": 0.00023174285888671875,
        "attempt": 1
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135119",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_STARTED",
      "details": {
        "task_id": "assess_stroke_risk",
        "task_name": "Assess Stroke Risk"
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135318",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_COMPLETED",
      "details": {
        "task_id": "assess_stroke_risk",
        "duration_seconds": 0.00018858909606933594,
        "attempt": 1
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135398",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_STARTED",
      "details": {
        "task_id": "tpa_eligibility",
        "task_name": "Check tPA Eligibility"
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135597",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_COMPLETED",
      "details": {
        "task_id": "tpa_eligibility",
        "duration_seconds": 0.00020360946655273438,
        "attempt": 1
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135670",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_STARTED",
      "details": {
        "task_id": "stroke_alert",
        "task_name": "Activate Stroke Alert"
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135822",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "TASK_COMPLETED",
      "details": {
        "task_id": "stroke_alert",
        "duration_seconds": 0.00014781951904296875,
        "attempt": 1
      }
    },
    {
      "timestamp": "2025-10-28T07:33:43.135897",
      "execution_id": "253a065f-6ba5-48a5-8c7e-56b080ead813",
      "event": "WORKFLOW_COMPLETED",
      "details": {
        "duration_seconds": 0.0022263526916503906
      }
    }
  ]
}