Fix issues with critical alerts breaking the simulation

This commit is contained in:
voltsrage
2026-06-25 02:06:35 +08:00
parent df6fbed401
commit 09a84f34ba
29 changed files with 196 additions and 155 deletions
@@ -29,7 +29,7 @@ const enrichment = {
admissionReason: 'Sepsis workup',
patient: { allergies: 'Penicillin' },
},
openAlerts: [{ alertType: 'News2Emergency' }],
openAlerts: [{ alertType: 'NEWS2_EMERGENCY' }],
pendingOrders: [{ description: 'Blood cultures', status: 'Pending' }],
vitals: extractLatestVitals([
{ observationCode: 'HEART_RATE', value: 110, unit: 'bpm', recordedAt: '2026-06-23T10:00:00Z' },