Flags in 2025
Flag Requirements for MSF
Category | Type of Observation | Flag label | Limits / Thresholds | Location on UI | Logic / Trigger | Color / Severity | Clickable Action | Category | Notes / Comments |
Patient Safety | Allergy |
| Any active allergy | Top banner | Patient has recorded allergy | Red | Click to open allergy details | active allergy |
|
Vitals | Blood Pressure | High BP Low BP | SBP >180 / <80, DBP >110 / <50 | Top-right banner | Latest reading exceeds threshold, disappear if latest reading become normal | Red | Click to open full BP trend chart | last reading vitals | Need timeline logic: The last recording? within X hours? within 1 day? Adults only? (since this is an Adult-specific range) |
Vitals | Heart Rate | High HR Low HR | HR >130 / <40
| Top-right banner | Latest reading exceeds threshold, disappear if latest reading become normal | Red | Click to open HR trend | last reading vitals | Need timeline logic: The last recording? within X hours? within 1 day? Adults only? (since this is an Adult-specific range) |
Vitals | Oxygen Saturation |
| SpO₂ <90% | Top-right banner | Latest reading below threshold, disappear if latest reading become normal | Red | Click to open oxygen trend | last reading vitals | Need timeline logic: The last recording? within X hours? within 1 day? |
Vitals | Fever |
| Temp >39.5°C | Top-right banner | Latest measurement exceeds threshold, disappear if latest reading become normal | Orange | Click to open temperature trend | last reading vitals | Need timeline logic: The last recording? within X hours? within 1 day? Non-babies only? (since this is an Adult-specific range) |
Labs | High WBC / Infection Alert |
| WBC >15 x10⁹/L | Top right summary - Lab summary section | Show if WBC >15; disappear if <12 | Orange | Click to open lab details | lab |
|
Labs | Low Hemoglobin / Severe Anemia |
| Hb <7 g/dL | Top right summary - Lab summary section | Show if Hb <7; disappear if ≥8 | Red | Click to open lab details | lab |
|
Labs | High INR / Bleeding Risk |
| INR >5 | Top right summary - Lab summary section | Show if INR >5; disappear if ≤3 | Red | Click to open lab details | lab |
|
Labs | Critical Potassium |
| K⁺ >6 mmol/L or <2.5 mmol/L | Top right summary - Lab summary section | Show if K⁺ out of range; disappear if normalized | Red | Click to open lab details | lab |
|
Labs | Acute Kidney Injury |
| Creatinine ↑ >1.5x baseline | Top right summary - Lab summary section | Show if Cr >1.5x baseline; disappear if normalized | Orange | Click to open lab details | lab
| Need to define “baseline” - is it the first Creat result ever for that pt? |
Medications | High-risk Medication |
| Insulin, anticoagulant, opioid | Medication section | Medication flagged as high-risk | Yellow | Click to open medication details | active cond / med ? out of date |
|
High Risk Conditions | Patient with pregnancy |
| Active problem flagged | Top banner | Condition present in patient record | Red | Click to open conditions | active cond / med ? out of date | Emphasis on active - don’t want pt to flag “pregnant” forever |
Chronic Conditions | Patient diagnosed with Diabetes, HT, CHF, CKD, Cancer |
| Active problem flagged | Condition section | Condition present in patient record | Yellow | Click to open conditions | active cond / med ? out of date |
|
Infectious Disease Conditions | Patient diagnosed with TB, COVID-19, MRSA, Hepatitis B/C, or other reportable disease |
| Active problem flagged | Top banner | Condition present in patient record | Red | Click to open conditions | active cond / med ? out of date |
|
Procedures | Pending Surgery |
| Scheduled within 7 days | Care coordination section | Show procedures scheduled within 7 days | Yellow | Click to open Procedures | appointments |
|
Appointments | Missed Clinic Appointment |
| Missed appointment | Appointment section | Patient did not show up for previous scheduled appointment | Yellow | Click to open Appointments | appointments |
|