medagent / data /sample_cases.py
apook's picture
Add system status log panel + fix all ML dependencies
63a4a7f
"""
Sample patient cases for demo / testing.
"""
SAMPLE_CASES = {
"Case 1: Possible Pneumonia": {
"symptoms": "65-year-old male. Fever 38.9°C for 3 days, productive cough with yellow-green sputum, shortness of breath on exertion, right-sided chest pain worsening with deep breathing. Started with cold symptoms 1 week ago.",
"history": "Type 2 diabetes (on metformin), hypertension (on amlodipine), ex-smoker (30 pack-years, quit 5 years ago). No known allergies. Flu vaccine received this season.",
"labs": "WBC: 14.2 (high), Neutrophils: 85%, CRP: 87 mg/L (high), Procalcitonin: 0.8 ng/mL (elevated), SpO2: 93% on room air, Glucose: 210 mg/dL (high), HbA1c: 8.1%",
"vitals": "BP: 145/88, HR: 102 bpm, RR: 22/min, Temp: 38.9°C, SpO2: 93%"
},
"Case 2: Possible MI": {
"symptoms": "55-year-old female. Sudden crushing chest pain radiating to left arm and jaw, started 2 hours ago. Associated sweating, nausea, shortness of breath. Describes pain as 9/10 intensity.",
"history": "Hyperlipidaemia (on statin), post-menopausal, family history of heart disease (father had MI at 60). Non-smoker. Sedentary lifestyle. BMI 31.",
"labs": "Troponin I: 2.4 ng/mL (very high), CK-MB: 45 U/L (high), BNP: 180 pg/mL (elevated), Total cholesterol: 240 mg/dL, LDL: 165 mg/dL, Blood glucose: 145 mg/dL",
"vitals": "BP: 160/95, HR: 115 bpm (irregular), RR: 20/min, Temp: 37.1°C, SpO2: 96%"
},
"Case 3: Possible Appendicitis": {
"symptoms": "22-year-old male. Severe abdominal pain starting around the navel 12 hours ago, now localised to right lower abdomen. Nausea, one episode of vomiting, loss of appetite. Pain worsens with movement.",
"history": "No significant past medical history. No medications. No prior surgeries. No similar episodes before.",
"labs": "WBC: 15.8 (high), Neutrophils: 88%, CRP: 65 mg/L (high), Urine analysis: normal, Beta-HCG: negative, Lipase: normal",
"vitals": "BP: 118/76, HR: 98 bpm, RR: 18/min, Temp: 38.3°C, SpO2: 99%"
}
}