link start!

This commit is contained in:
2025-10-18 13:49:53 -04:00
commit c2906611fd
14 changed files with 2878 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/home/mai/documents/school/capstone/vitallink-BS/vitallink/backend/server.py:369: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
+1
View File
@@ -0,0 +1 @@
29497
+41
View File
@@ -0,0 +1,41 @@
╔══════════════════════════════════════════════════════════════════════════╗
║ VitalLink Wristband Simulator ║
║ Emergency Department Monitoring System ║
╚══════════════════════════════════════════════════════════════════════════╝
Available Patient Profiles:
- stable: Normal vitals, no deterioration
- mild_anxiety: Elevated HR, improves over time
- deteriorating: Gradually worsening condition
- critical: Severe vitals, triggers emergency tier
- sepsis: Rapid deterioration pattern
Usage Examples:
1. Run demo scenarios (below)
2. Create custom scenarios using BaseStationSimulator
3. Integrate with FastAPI backend for web portal
Running Demo Scenario 1...
================================================================================
DEMO SCENARIO 1: Mixed Patient Population
================================================================================
[BASE] Added wristband VitalLink-A1B2 with profile 'Stable Patient'
[BASE] Added wristband VitalLink-C3D4 with profile 'Mild Anxiety'
[BASE] Added wristband VitalLink-E5F6 with profile 'Deteriorating Condition'
[BASE] Starting base station simulation...
================================================================================
🟢 [VitalLink-A1B2] P100001 | HR=66 SpO2=98% Temp=36.9°C | NORMAL | Seq=0
🟢 [VitalLink-C3D4] P100002 | HR=91 SpO2=97% Temp=37.0°C | NORMAL | Seq=0
🟢 [VitalLink-E5F6] P100003 | HR=88 SpO2=92% Temp=37.7°C | NORMAL | Seq=0
[BASE] Stopping base station...
================================================================================
SUMMARY:
{'total_bands': 3, 'active_bands': 3, 'tiers': {'EMERGENCY': 0, 'ALERT': 0, 'NORMAL': 3}, 'total_packets': 3}
================================================================================
+1
View File
@@ -0,0 +1 @@
29507