SimClinic

Clinical simulation learning MVP

Case Admin Preview

Inspect seed cases, validation status, and source JSON.

Chest Pain in a Shop Owner

Case ID: chest-pain-acs

Schema valid
Preview JSON
{
  "id": "chest-pain-acs",
  "title": "Chest Pain in a Shop Owner",
  "specialty": "Emergency Medicine",
  "difficulty": "medium",
  "estimatedMinutes": 12,
  "xpReward": 100,
  "tags": [
    "chest pain",
    "emergency",
    "cardiology",
    "india-opd"
  ],
  "learningObjectives": [
    "Identify red flags in acute chest pain",
    "Order urgent ECG and cardiac markers",
    "Start first-line management and urgent escalation"
  ],
  "patient": {
    "name": "Ramesh Verma",
    "age": 54,
    "sex": "Male",
    "occupation": "Shop owner",
    "languageStyle": "mixed",
    "personality": "Concerned but cooperative",
    "healthLiteracy": "medium",
    "emotionalState": "Anxious",
    "context": "Primary breadwinner, worried about missing work"
  },
  "openingLine": "Doctor, I have tightness in my chest since morning.",
  "hiddenDiagnosis": {
    "name": "Acute coronary syndrome",
    "explanation": "Typical ischemic chest pain with autonomic symptoms and elevated troponin."
  },
  "diagnosisSynonyms": [
    "heart attack",
    "myocardial infarction",
    "mi",
    "acs"
  ],
  "differentials": [
    {
      "name": "Gastroesophageal reflux disease",
      "likelihood": "low"
    },
    {
      "name": "Costochondritis",
      "likelihood": "low"
    },
    {
      "name": "Pulmonary embolism",
      "likelihood": "medium"
    }
  ],
  "history": [
    {
      "id": "hx-chest-onset",
      "category": "hpi",
      "questionHints": [
        "when did it start",
        "since when",
        "duration"
      ],
      "patientAnswer": "It started around 45 minutes ago while opening my shop.",
      "requiredForScore": true
    },
    {
      "id": "hx-chest-character",
      "category": "hpi",
      "questionHints": [
        "describe pain",
        "tightness",
        "pressure"
      ],
      "patientAnswer": "It feels like heavy pressure in the center of my chest.",
      "requiredForScore": true
    },
    {
      "id": "hx-chest-radiation",
      "category": "red_flags",
      "questionHints": [
        "go anywhere",
        "radiate",
        "arm",
        "jaw"
      ],
      "patientAnswer": "Yes, the pain is moving to my left arm and shoulder.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-chest-associated",
      "category": "red_flags",
      "questionHints": [
        "associated symptoms",
        "sweating",
        "nausea",
        "vomit"
      ],
      "patientAnswer": "I am sweating a lot and felt nauseated twice.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-chest-past",
      "category": "past_history",
      "questionHints": [
        "history",
        "diabetes",
        "bp",
        "sugar"
      ],
      "patientAnswer": "I have diabetes for 8 years and I smoke around 8 cigarettes a day.",
      "requiredForScore": true
    },
    {
      "id": "hx-chest-allergy",
      "category": "allergies",
      "questionHints": [
        "allergy",
        "aspirin allergy",
        "medicine reaction"
      ],
      "patientAnswer": "No known medicine allergies, including aspirin.",
      "requiredForScore": true
    }
  ],
  "physicalExam": [
    {
      "id": "ex-vitals-chest",
      "examType": "vitals",
      "label": "Check vital signs",
      "finding": "BP 150/95 mmHg, HR 104/min, RR 20/min, SpO2 96% on room air",
      "abnormal": true,
      "requiredForScore": true
    },
    {
      "id": "ex-cvs-chest",
      "examType": "cardiac",
      "label": "Focused cardiovascular exam",
      "finding": "Tachycardia present. No murmurs. Peripheral perfusion preserved.",
      "abnormal": true,
      "requiredForScore": true
    }
  ],
  "tests": [
    {
      "id": "test-ecg-chest",
      "name": "ECG",
      "category": "bedside",
      "result": "ST depression in lateral leads",
      "interpretation": "Suggestive of myocardial ischemia",
      "cost": 500,
      "timeMinutes": 5,
      "requiredForScore": true
    },
    {
      "id": "test-troponin-chest",
      "name": "Troponin I",
      "category": "lab",
      "result": "Elevated",
      "interpretation": "Supports acute myocardial injury",
      "cost": 1800,
      "timeMinutes": 20,
      "requiredForScore": true
    },
    {
      "id": "test-cxr-chest",
      "name": "Chest X-ray",
      "category": "imaging",
      "result": "No acute cardiopulmonary abnormality",
      "interpretation": "No alternate acute chest pathology seen",
      "cost": 700,
      "timeMinutes": 12,
      "unnecessary": true
    }
  ],
  "treatments": [
    {
      "id": "tx-aspirin-chest",
      "name": "Chewed Aspirin 325 mg",
      "category": "medication",
      "effect": "Early antiplatelet therapy initiated.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-antacid-only-chest",
      "name": "Only Antacid and Observe",
      "category": "supportive",
      "effect": "Misses time-critical ACS management.",
      "safe": false,
      "dangerous": true,
      "contraindicationWarning": "Unsafe as sole therapy in suspected ACS."
    }
  ],
  "escalationOptions": [
    {
      "id": "esc-cardiology-urgent-chest",
      "label": "Urgent cardiology referral / monitored transfer",
      "result": "Senior team informed and patient moved to monitored care.",
      "requiredForScore": true
    },
    {
      "id": "esc-call-senior-chest",
      "label": "Call medicine senior for bedside review",
      "result": "Senior resident arrives for co-management.",
      "requiredForScore": true
    }
  ],
  "criticalActions": [
    {
      "id": "crit-chest-onset",
      "type": "ask",
      "label": "Ask onset and duration",
      "points": 5,
      "category": "history",
      "match": [
        "hx-chest-onset"
      ]
    },
    {
      "id": "crit-chest-character",
      "type": "ask",
      "label": "Ask pain character",
      "points": 5,
      "category": "history",
      "match": [
        "hx-chest-character"
      ]
    },
    {
      "id": "crit-chest-radiation",
      "type": "ask",
      "label": "Ask pain radiation",
      "points": 5,
      "category": "history",
      "match": [
        "hx-chest-radiation"
      ]
    },
    {
      "id": "crit-chest-associated",
      "type": "ask",
      "label": "Ask associated symptoms",
      "points": 5,
      "category": "history",
      "match": [
        "hx-chest-associated"
      ]
    },
    {
      "id": "crit-chest-vitals",
      "type": "exam",
      "label": "Check vital signs",
      "points": 10,
      "category": "exam",
      "match": [
        "ex-vitals-chest"
      ]
    },
    {
      "id": "crit-chest-ecg",
      "type": "test",
      "label": "Order ECG",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-ecg-chest"
      ]
    },
    {
      "id": "crit-chest-troponin",
      "type": "test",
      "label": "Order troponin",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-troponin-chest"
      ]
    },
    {
      "id": "crit-chest-diagnosis",
      "type": "diagnosis",
      "label": "Identify ACS diagnosis",
      "points": 5,
      "category": "reasoning"
    },
    {
      "id": "crit-chest-aspirin",
      "type": "treatment",
      "label": "Give aspirin if no contraindication",
      "points": 5,
      "category": "management",
      "match": [
        "tx-aspirin-chest"
      ]
    },
    {
      "id": "crit-chest-escalate",
      "type": "escalation",
      "label": "Urgent escalation",
      "points": 5,
      "category": "management",
      "match": [
        "esc-cardiology-urgent-chest",
        "esc-call-senior-chest"
      ]
    },
    {
      "id": "crit-chest-safe",
      "type": "escalation",
      "label": "Avoid unsafe discharge",
      "points": 20,
      "category": "safety",
      "match": [
        "esc-cardiology-urgent-chest",
        "esc-call-senior-chest"
      ]
    },
    {
      "id": "crit-chest-communication",
      "type": "communication",
      "label": "Use empathy and explain urgency",
      "points": 10,
      "category": "communication"
    },
    {
      "id": "crit-chest-efficiency",
      "type": "test",
      "label": "Use focused tests first",
      "points": 10,
      "category": "efficiency",
      "match": [
        "test-ecg-chest",
        "test-troponin-chest"
      ]
    },
    {
      "id": "crit-chest-doc",
      "type": "documentation",
      "label": "Document assessment and plan",
      "points": 5,
      "category": "documentation",
      "match": [
        "chest pain",
        "ecg",
        "plan"
      ]
    }
  ],
  "dangerousActions": [
    {
      "id": "danger-chest-antacid-only",
      "type": "treatment",
      "label": "Treat as acidity only",
      "points": -10,
      "category": "safety",
      "match": [
        "tx-antacid-only-chest"
      ]
    }
  ],
  "scoringRubric": {
    "history": 20,
    "exam": 10,
    "reasoning": 15,
    "safety": 20,
    "communication": 10,
    "efficiency": 10,
    "documentation": 5,
    "management": 10
  },
  "teachingNotes": {
    "summary": "This was an ACS-pattern chest pain requiring rapid structured assessment.",
    "correctReasoning": "Typical pressure-like pain with radiation, autonomic symptoms, and positive biomarkers indicates ACS until proven otherwise.",
    "commonMistakes": [
      "Dismissing chest pain as gastritis without ECG",
      "Skipping risk-factor and allergy checks before treatment",
      "Delayed escalation despite high-risk presentation"
    ],
    "nextSteps": [
      "Repeat with strict 5-minute chest pain checklist: onset, character, radiation, associated symptoms, risk factors."
    ]
  }
}

Fever With Warning Signs

Case ID: dengue-warning-signs

Schema valid
Preview JSON
{
  "id": "dengue-warning-signs",
  "title": "Fever With Warning Signs",
  "specialty": "Medicine / Infectious Disease",
  "difficulty": "medium",
  "estimatedMinutes": 11,
  "xpReward": 100,
  "tags": [
    "fever",
    "dengue",
    "emergency",
    "india-opd"
  ],
  "learningObjectives": [
    "Identify warning signs in suspected dengue",
    "Choose appropriate labs by illness day",
    "Avoid NSAIDs and plan safe escalation"
  ],
  "patient": {
    "name": "Ananya Sahu",
    "age": 22,
    "sex": "Female",
    "occupation": "College student",
    "languageStyle": "mixed",
    "personality": "Fatigued but responsive",
    "healthLiteracy": "medium",
    "emotionalState": "Worried about worsening symptoms"
  },
  "openingLine": "I have fever and body pain for four days.",
  "hiddenDiagnosis": {
    "name": "Dengue fever with warning signs",
    "explanation": "Warning signs include abdominal pain, vomiting, bleeding, and borderline hypotension."
  },
  "diagnosisSynonyms": [
    "severe dengue risk",
    "dengue with warning signs",
    "dengue"
  ],
  "differentials": [
    {
      "name": "Viral fever (non-dengue)",
      "likelihood": "medium"
    },
    {
      "name": "Typhoid fever",
      "likelihood": "low"
    },
    {
      "name": "Malaria",
      "likelihood": "medium"
    }
  ],
  "history": [
    {
      "id": "hx-den-duration",
      "category": "hpi",
      "questionHints": [
        "how many days",
        "duration",
        "since when"
      ],
      "patientAnswer": "Fever has been high for four days now.",
      "requiredForScore": true
    },
    {
      "id": "hx-den-redflags",
      "category": "red_flags",
      "questionHints": [
        "bleeding",
        "gum bleed",
        "blood"
      ],
      "patientAnswer": "My gums bled once while brushing this morning.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-den-abdominal",
      "category": "red_flags",
      "questionHints": [
        "abdominal pain",
        "stomach pain",
        "vomiting"
      ],
      "patientAnswer": "I have new abdominal pain and have vomited twice today.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-den-fluid",
      "category": "hpi",
      "questionHints": [
        "fluid",
        "drinking",
        "urine",
        "hydration"
      ],
      "patientAnswer": "I am drinking less because I feel nauseous.",
      "requiredForScore": true
    },
    {
      "id": "hx-den-nsaid",
      "category": "medications",
      "questionHints": [
        "medicines",
        "painkiller",
        "ibuprofen",
        "tablet"
      ],
      "patientAnswer": "I took ibuprofen tablets from a pharmacy yesterday.",
      "requiredForScore": true
    }
  ],
  "physicalExam": [
    {
      "id": "ex-den-vitals",
      "examType": "vitals",
      "label": "Check vitals and temperature",
      "finding": "BP 95/65 mmHg, HR 112/min, Temp 39°C, SpO2 98%",
      "abnormal": true,
      "requiredForScore": true
    },
    {
      "id": "ex-den-hydration",
      "examType": "general",
      "label": "Assess hydration status",
      "finding": "Dry mucosa and delayed capillary refill suggest dehydration.",
      "abnormal": true,
      "requiredForScore": true
    }
  ],
  "tests": [
    {
      "id": "test-den-cbc",
      "name": "CBC with Platelet Count",
      "category": "lab",
      "result": "Platelets 88,000/uL, WBC 3,100/uL",
      "interpretation": "Thrombocytopenia with leukopenia supports dengue pattern",
      "cost": 350,
      "timeMinutes": 20,
      "requiredForScore": true
    },
    {
      "id": "test-den-hct",
      "name": "Hematocrit",
      "category": "lab",
      "result": "Hematocrit mildly elevated from baseline estimate",
      "interpretation": "Suggestive of plasma leakage risk",
      "cost": 200,
      "timeMinutes": 15,
      "requiredForScore": true
    },
    {
      "id": "test-den-ns1",
      "name": "Dengue NS1/IgM",
      "category": "lab",
      "result": "NS1 positive",
      "interpretation": "Consistent with dengue infection in early illness window",
      "cost": 1200,
      "timeMinutes": 30,
      "requiredForScore": true
    },
    {
      "id": "test-den-ct",
      "name": "CT Abdomen",
      "category": "imaging",
      "result": "No major structural abnormality",
      "interpretation": "Not first-line in this stable-but-warning-sign scenario",
      "cost": 6500,
      "timeMinutes": 60,
      "unnecessary": true
    }
  ],
  "treatments": [
    {
      "id": "tx-den-fluid",
      "name": "Oral/IV fluid protocol with close monitoring",
      "category": "supportive",
      "effect": "Improves perfusion and hydration in warning-sign dengue.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-den-avoid-nsaid",
      "name": "Avoid NSAIDs; use paracetamol only",
      "category": "counseling",
      "effect": "Reduces bleeding risk linked to NSAID use in dengue.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-den-ibuprofen",
      "name": "Ibuprofen for body ache",
      "category": "medication",
      "effect": "Increases bleeding risk in suspected dengue.",
      "safe": false,
      "dangerous": true
    }
  ],
  "escalationOptions": [
    {
      "id": "esc-den-admit",
      "label": "Admit for monitored care due warning signs",
      "result": "Patient moved for close fluid, vitals, and bleeding monitoring.",
      "requiredForScore": true
    },
    {
      "id": "esc-den-urgent-review",
      "label": "Urgent senior review",
      "result": "Senior physician reviews and confirms high-risk observation plan.",
      "requiredForScore": true
    }
  ],
  "criticalActions": [
    {
      "id": "crit-den-history-duration",
      "type": "ask",
      "label": "Ask fever duration",
      "points": 4,
      "category": "history",
      "match": [
        "hx-den-duration"
      ]
    },
    {
      "id": "crit-den-history-redflag-bleed",
      "type": "ask",
      "label": "Ask bleeding symptoms",
      "points": 4,
      "category": "history",
      "match": [
        "hx-den-redflags"
      ]
    },
    {
      "id": "crit-den-history-redflag-abd",
      "type": "ask",
      "label": "Ask abdominal pain and vomiting",
      "points": 4,
      "category": "history",
      "match": [
        "hx-den-abdominal"
      ]
    },
    {
      "id": "crit-den-history-fluid",
      "type": "ask",
      "label": "Ask fluid intake",
      "points": 4,
      "category": "history",
      "match": [
        "hx-den-fluid"
      ]
    },
    {
      "id": "crit-den-history-med",
      "type": "ask",
      "label": "Ask medication history",
      "points": 4,
      "category": "history",
      "match": [
        "hx-den-nsaid"
      ]
    },
    {
      "id": "crit-den-exam",
      "type": "exam",
      "label": "Check vitals",
      "points": 10,
      "category": "exam",
      "match": [
        "ex-den-vitals"
      ]
    },
    {
      "id": "crit-den-cbc",
      "type": "test",
      "label": "Order CBC/platelets",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-den-cbc"
      ]
    },
    {
      "id": "crit-den-hct",
      "type": "test",
      "label": "Order hematocrit",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-den-hct"
      ]
    },
    {
      "id": "crit-den-dx",
      "type": "diagnosis",
      "label": "Recognize dengue with warning signs",
      "points": 5,
      "category": "reasoning"
    },
    {
      "id": "crit-den-safety",
      "type": "escalation",
      "label": "Escalate due warning signs",
      "points": 20,
      "category": "safety",
      "match": [
        "esc-den-admit",
        "esc-den-urgent-review"
      ]
    },
    {
      "id": "crit-den-management-fluid",
      "type": "treatment",
      "label": "Start fluid management",
      "points": 5,
      "category": "management",
      "match": [
        "tx-den-fluid"
      ]
    },
    {
      "id": "crit-den-management-avoid-nsaid",
      "type": "treatment",
      "label": "Avoid NSAIDs",
      "points": 5,
      "category": "management",
      "match": [
        "tx-den-avoid-nsaid"
      ]
    },
    {
      "id": "crit-den-comm",
      "type": "communication",
      "label": "Explain warning signs and return precautions",
      "points": 10,
      "category": "communication"
    },
    {
      "id": "crit-den-efficiency",
      "type": "test",
      "label": "Use focused dengue workup",
      "points": 10,
      "category": "efficiency",
      "match": [
        "test-den-cbc",
        "test-den-hct",
        "test-den-ns1"
      ]
    },
    {
      "id": "crit-den-doc",
      "type": "documentation",
      "label": "Document warning signs and plan",
      "points": 5,
      "category": "documentation",
      "match": [
        "warning",
        "fluid",
        "monitor"
      ]
    }
  ],
  "dangerousActions": [
    {
      "id": "danger-den-nsaid",
      "type": "treatment",
      "label": "Give ibuprofen/NSAID",
      "points": -10,
      "category": "safety",
      "match": [
        "tx-den-ibuprofen"
      ]
    }
  ],
  "scoringRubric": {
    "history": 20,
    "exam": 10,
    "reasoning": 15,
    "safety": 20,
    "communication": 10,
    "efficiency": 10,
    "documentation": 5,
    "management": 10
  },
  "teachingNotes": {
    "summary": "This case required early recognition of warning signs and cautious supportive management.",
    "correctReasoning": "Warning signs in febrile illness with low platelets demand close monitoring, careful fluids, and avoidance of NSAIDs.",
    "commonMistakes": [
      "Treating as simple viral fever despite warning signs",
      "Using NSAIDs in possible dengue",
      "No escalation for hypotension and bleeding history"
    ],
    "nextSteps": [
      "Practice documenting a concise warning-sign checklist and follow-up instructions."
    ]
  }
}

Chronic Cough With Weight Loss

Case ID: chronic-cough-tb

Schema valid
Preview JSON
{
  "id": "chronic-cough-tb",
  "title": "Chronic Cough With Weight Loss",
  "specialty": "Medicine / Pulmonology",
  "difficulty": "medium",
  "estimatedMinutes": 13,
  "xpReward": 100,
  "tags": [
    "tb",
    "respiratory",
    "india-opd"
  ],
  "learningObjectives": [
    "Recognize prolonged cough red flags for TB",
    "Order focused TB diagnostics",
    "Counsel precautions and follow-up safely"
  ],
  "patient": {
    "name": "Sanjay Netam",
    "age": 36,
    "sex": "Male",
    "occupation": "Factory worker",
    "languageStyle": "hinglish",
    "personality": "Reserved but cooperative",
    "healthLiteracy": "low",
    "emotionalState": "Worried about income and stigma",
    "context": "Lives in shared rental room with 6 workers"
  },
  "openingLine": "I have cough for more than a month and I feel weak.",
  "hiddenDiagnosis": {
    "name": "Pulmonary tuberculosis",
    "explanation": "Chronic cough, constitutional symptoms, crowding risk, and hemoptysis suggest pulmonary TB."
  },
  "diagnosisSynonyms": [
    "tb",
    "pulmonary tb",
    "tuberculosis"
  ],
  "differentials": [
    {
      "name": "Chronic bronchitis",
      "likelihood": "medium"
    },
    {
      "name": "Lung malignancy",
      "likelihood": "low"
    },
    {
      "name": "Post-viral cough",
      "likelihood": "low"
    }
  ],
  "history": [
    {
      "id": "hx-tb-duration",
      "category": "hpi",
      "questionHints": [
        "how long cough",
        "duration",
        "since when"
      ],
      "patientAnswer": "Cough has been there for around five weeks.",
      "requiredForScore": true
    },
    {
      "id": "hx-tb-sputum",
      "category": "hpi",
      "questionHints": [
        "sputum",
        "phlegm",
        "blood"
      ],
      "patientAnswer": "There is phlegm, and sometimes I see streaks of blood.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-tb-constitutional",
      "category": "red_flags",
      "questionHints": [
        "fever",
        "night sweats",
        "weight loss"
      ],
      "patientAnswer": "I have evening fever, night sweats, and my weight dropped this month.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-tb-exposure",
      "category": "social_history",
      "questionHints": [
        "contact",
        "crowded",
        "room",
        "tb exposure"
      ],
      "patientAnswer": "I stay in a crowded room and one coworker had TB last year.",
      "requiredForScore": true
    },
    {
      "id": "hx-tb-risk",
      "category": "past_history",
      "questionHints": [
        "hiv",
        "diabetes",
        "immunity",
        "risk factors"
      ],
      "patientAnswer": "No known HIV history, but I was told sugar was borderline once.",
      "requiredForScore": true
    }
  ],
  "physicalExam": [
    {
      "id": "ex-tb-vitals",
      "examType": "vitals",
      "label": "Check vitals",
      "finding": "Low-grade fever 37.8°C, pulse 96/min, BP stable.",
      "abnormal": true,
      "requiredForScore": true
    },
    {
      "id": "ex-tb-chest",
      "examType": "respiratory",
      "label": "Focused chest exam",
      "finding": "Coarse crackles over upper lung fields.",
      "abnormal": true,
      "requiredForScore": true
    }
  ],
  "tests": [
    {
      "id": "test-tb-cxr",
      "name": "Chest X-ray",
      "category": "imaging",
      "result": "Patchy upper-zone infiltrates with possible cavitary change",
      "interpretation": "Radiology suspicious for pulmonary TB",
      "cost": 700,
      "timeMinutes": 15,
      "requiredForScore": true
    },
    {
      "id": "test-tb-gx",
      "name": "Sputum GeneXpert/NAAT",
      "category": "lab",
      "result": "MTB detected",
      "interpretation": "Confirms TB organism detection",
      "cost": 1500,
      "timeMinutes": 120,
      "requiredForScore": true
    },
    {
      "id": "test-tb-cbc",
      "name": "CBC",
      "category": "lab",
      "result": "Mild anemia, otherwise non-specific",
      "interpretation": "Supportive but non-diagnostic",
      "cost": 300,
      "timeMinutes": 20
    },
    {
      "id": "test-tb-ct",
      "name": "CT Thorax",
      "category": "imaging",
      "result": "Findings consistent with active upper lobe disease",
      "interpretation": "Not first-line before sputum testing in this setting",
      "cost": 6500,
      "timeMinutes": 50,
      "unnecessary": true
    }
  ],
  "treatments": [
    {
      "id": "tx-tb-counsel",
      "name": "Counsel cough etiquette and mask use",
      "category": "counseling",
      "effect": "Reduces household transmission while awaiting full treatment pathway.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-tb-followup",
      "name": "Arrange rapid TB clinic follow-up",
      "category": "referral",
      "effect": "Enables treatment linkage and contact tracing.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-tb-cough-syrup-only",
      "name": "Cough syrup only and discharge",
      "category": "supportive",
      "effect": "Misses infectious TB and delays treatment.",
      "safe": false,
      "dangerous": true
    }
  ],
  "escalationOptions": [
    {
      "id": "esc-tb-program",
      "label": "Refer to TB program / chest clinic",
      "result": "Program pathway initiated for diagnostics and treatment registration.",
      "requiredForScore": true
    }
  ],
  "criticalActions": [
    {
      "id": "crit-tb-hx-duration",
      "type": "ask",
      "label": "Ask chronicity",
      "points": 4,
      "category": "history",
      "match": [
        "hx-tb-duration"
      ]
    },
    {
      "id": "crit-tb-hx-blood",
      "type": "ask",
      "label": "Ask sputum and blood",
      "points": 4,
      "category": "history",
      "match": [
        "hx-tb-sputum"
      ]
    },
    {
      "id": "crit-tb-hx-systemic",
      "type": "ask",
      "label": "Ask constitutional symptoms",
      "points": 4,
      "category": "history",
      "match": [
        "hx-tb-constitutional"
      ]
    },
    {
      "id": "crit-tb-hx-exposure",
      "type": "ask",
      "label": "Ask exposure and crowding",
      "points": 4,
      "category": "history",
      "match": [
        "hx-tb-exposure"
      ]
    },
    {
      "id": "crit-tb-hx-risk",
      "type": "ask",
      "label": "Ask HIV/diabetes risk sensitively",
      "points": 4,
      "category": "history",
      "match": [
        "hx-tb-risk"
      ]
    },
    {
      "id": "crit-tb-exam-vitals",
      "type": "exam",
      "label": "Check vitals",
      "points": 5,
      "category": "exam",
      "match": [
        "ex-tb-vitals"
      ]
    },
    {
      "id": "crit-tb-exam-chest",
      "type": "exam",
      "label": "Perform chest exam",
      "points": 5,
      "category": "exam",
      "match": [
        "ex-tb-chest"
      ]
    },
    {
      "id": "crit-tb-test-cxr",
      "type": "test",
      "label": "Order chest X-ray",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-tb-cxr"
      ]
    },
    {
      "id": "crit-tb-test-gx",
      "type": "test",
      "label": "Order sputum molecular test",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-tb-gx"
      ]
    },
    {
      "id": "crit-tb-dx",
      "type": "diagnosis",
      "label": "Recognize probable pulmonary TB",
      "points": 5,
      "category": "reasoning"
    },
    {
      "id": "crit-tb-safety",
      "type": "escalation",
      "label": "Ensure referral for infectious disease control",
      "points": 20,
      "category": "safety",
      "match": [
        "esc-tb-program"
      ]
    },
    {
      "id": "crit-tb-manage-counsel",
      "type": "treatment",
      "label": "Counsel precautions",
      "points": 5,
      "category": "management",
      "match": [
        "tx-tb-counsel"
      ]
    },
    {
      "id": "crit-tb-manage-followup",
      "type": "treatment",
      "label": "Arrange follow-up pathway",
      "points": 5,
      "category": "management",
      "match": [
        "tx-tb-followup"
      ]
    },
    {
      "id": "crit-tb-comm",
      "type": "communication",
      "label": "Use non-stigmatizing communication",
      "points": 10,
      "category": "communication"
    },
    {
      "id": "crit-tb-efficiency",
      "type": "test",
      "label": "Avoid shotgun imaging",
      "points": 10,
      "category": "efficiency",
      "match": [
        "test-tb-cxr",
        "test-tb-gx"
      ]
    },
    {
      "id": "crit-tb-doc",
      "type": "documentation",
      "label": "Document chronic cough pathway",
      "points": 5,
      "category": "documentation",
      "match": [
        "cough",
        "tb",
        "follow-up"
      ]
    }
  ],
  "dangerousActions": [
    {
      "id": "danger-tb-dismiss",
      "type": "treatment",
      "label": "Dismiss with cough syrup only",
      "points": -10,
      "category": "safety",
      "match": [
        "tx-tb-cough-syrup-only"
      ]
    }
  ],
  "scoringRubric": {
    "history": 20,
    "exam": 10,
    "reasoning": 15,
    "safety": 20,
    "communication": 10,
    "efficiency": 10,
    "documentation": 5,
    "management": 10
  },
  "teachingNotes": {
    "summary": "Persistent cough with systemic symptoms requires structured TB workup.",
    "correctReasoning": "Chronic cough, weight loss, night sweats, and blood-streaked sputum in a crowded setting should trigger TB-focused testing and referral.",
    "commonMistakes": [
      "Ignoring symptom duration and red flags",
      "Empiric symptomatic treatment without TB tests",
      "Missing infection-control counseling"
    ],
    "nextSteps": [
      "Practice concise risk-sensitive history taking for TB without causing stigma."
    ]
  }
}

Acute Breathlessness in Known Asthma

Case ID: asthma-exacerbation

Schema valid
Preview JSON
{
  "id": "asthma-exacerbation",
  "title": "Acute Breathlessness in Known Asthma",
  "specialty": "Emergency / Respiratory",
  "difficulty": "easy",
  "estimatedMinutes": 9,
  "xpReward": 100,
  "tags": [
    "asthma",
    "emergency",
    "respiratory"
  ],
  "learningObjectives": [
    "Rapidly assess respiratory severity",
    "Provide timely oxygen and bronchodilator treatment",
    "Reassess before disposition"
  ],
  "patient": {
    "name": "Arjun Patel",
    "age": 17,
    "sex": "Male",
    "occupation": "Student",
    "languageStyle": "mixed",
    "personality": "Breathless and frightened",
    "healthLiteracy": "medium",
    "emotionalState": "Panicked"
  },
  "openingLine": "I cannot breathe properly.",
  "hiddenDiagnosis": {
    "name": "Acute asthma exacerbation",
    "explanation": "Known asthma, wheeze, hypoxia, and tachypnea suggest acute exacerbation."
  },
  "diagnosisSynonyms": [
    "acute asthma attack",
    "asthma flare",
    "asthma exacerbation"
  ],
  "differentials": [
    {
      "name": "Pneumonia",
      "likelihood": "low"
    },
    {
      "name": "Panic attack",
      "likelihood": "low"
    },
    {
      "name": "Pneumothorax",
      "likelihood": "medium"
    }
  ],
  "history": [
    {
      "id": "hx-ast-duration",
      "category": "hpi",
      "questionHints": [
        "since when",
        "when started",
        "night"
      ],
      "patientAnswer": "Wheezing started last night and got much worse this morning.",
      "requiredForScore": true
    },
    {
      "id": "hx-ast-known",
      "category": "past_history",
      "questionHints": [
        "known asthma",
        "history",
        "inhaler"
      ],
      "patientAnswer": "Yes, I have asthma and usually use an inhaler during attacks.",
      "requiredForScore": true
    },
    {
      "id": "hx-ast-trigger",
      "category": "hpi",
      "questionHints": [
        "trigger",
        "dust",
        "allergy"
      ],
      "patientAnswer": "I was cleaning a dusty storeroom yesterday.",
      "requiredForScore": true
    },
    {
      "id": "hx-ast-redflag",
      "category": "red_flags",
      "questionHints": [
        "can speak",
        "full sentences",
        "fever"
      ],
      "patientAnswer": "I can only speak in short phrases. No fever.",
      "requiredForScore": true,
      "redFlag": true
    }
  ],
  "physicalExam": [
    {
      "id": "ex-ast-vitals",
      "examType": "vitals",
      "label": "Check vitals and SpO2",
      "finding": "HR 118/min, RR 30/min, SpO2 91% on room air",
      "abnormal": true,
      "requiredForScore": true
    },
    {
      "id": "ex-ast-resp",
      "examType": "respiratory",
      "label": "Focused respiratory exam",
      "finding": "Diffuse expiratory wheeze with prolonged expiration.",
      "abnormal": true,
      "requiredForScore": true
    }
  ],
  "tests": [
    {
      "id": "test-ast-peakflow",
      "name": "Peak Expiratory Flow",
      "category": "bedside",
      "result": "Around 45% of predicted",
      "interpretation": "Moderate-severe exacerbation",
      "cost": 150,
      "timeMinutes": 3,
      "requiredForScore": true
    },
    {
      "id": "test-ast-cxr",
      "name": "Chest X-ray",
      "category": "imaging",
      "result": "No focal consolidation or pneumothorax",
      "interpretation": "No immediate alternate cause identified",
      "cost": 700,
      "timeMinutes": 15,
      "unnecessary": true
    }
  ],
  "treatments": [
    {
      "id": "tx-ast-oxygen",
      "name": "Start oxygen therapy",
      "category": "supportive",
      "effect": "SpO2 improves toward target.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-ast-neb",
      "name": "Nebulized salbutamol",
      "category": "medication",
      "effect": "Wheeze and distress begin to improve.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-ast-steroid",
      "name": "Systemic corticosteroid",
      "category": "medication",
      "effect": "Reduces relapse risk and ongoing airway inflammation.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-ast-delay",
      "name": "Delay treatment and wait for imaging first",
      "category": "supportive",
      "effect": "Respiratory distress worsens during delay.",
      "safe": false,
      "dangerous": true
    }
  ],
  "escalationOptions": [
    {
      "id": "esc-ast-senior",
      "label": "Call emergency senior for reassessment",
      "result": "Senior review confirms acute asthma protocol continuation.",
      "requiredForScore": true
    },
    {
      "id": "esc-ast-observe",
      "label": "Keep under observation and reassess after therapy",
      "result": "Patient re-evaluated with improved oxygenation.",
      "requiredForScore": true
    }
  ],
  "criticalActions": [
    {
      "id": "crit-ast-hx1",
      "type": "ask",
      "label": "Ask onset",
      "points": 5,
      "category": "history",
      "match": [
        "hx-ast-duration"
      ]
    },
    {
      "id": "crit-ast-hx2",
      "type": "ask",
      "label": "Ask asthma history",
      "points": 5,
      "category": "history",
      "match": [
        "hx-ast-known"
      ]
    },
    {
      "id": "crit-ast-hx3",
      "type": "ask",
      "label": "Ask triggers and speaking ability",
      "points": 5,
      "category": "history",
      "match": [
        "hx-ast-trigger",
        "hx-ast-redflag"
      ]
    },
    {
      "id": "crit-ast-hx4",
      "type": "ask",
      "label": "Ask associated warning signs",
      "points": 5,
      "category": "history",
      "match": [
        "hx-ast-redflag"
      ]
    },
    {
      "id": "crit-ast-exam",
      "type": "exam",
      "label": "Assess vitals",
      "points": 10,
      "category": "exam",
      "match": [
        "ex-ast-vitals"
      ]
    },
    {
      "id": "crit-ast-reason1",
      "type": "test",
      "label": "Assess airflow severity",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-ast-peakflow"
      ]
    },
    {
      "id": "crit-ast-reason2",
      "type": "diagnosis",
      "label": "Diagnose asthma exacerbation",
      "points": 10,
      "category": "reasoning"
    },
    {
      "id": "crit-ast-safe",
      "type": "treatment",
      "label": "Treat promptly",
      "points": 20,
      "category": "safety",
      "match": [
        "tx-ast-oxygen",
        "tx-ast-neb"
      ]
    },
    {
      "id": "crit-ast-mgmt1",
      "type": "treatment",
      "label": "Give bronchodilator",
      "points": 4,
      "category": "management",
      "match": [
        "tx-ast-neb"
      ]
    },
    {
      "id": "crit-ast-mgmt2",
      "type": "treatment",
      "label": "Give steroid",
      "points": 3,
      "category": "management",
      "match": [
        "tx-ast-steroid"
      ]
    },
    {
      "id": "crit-ast-mgmt3",
      "type": "escalation",
      "label": "Reassess or escalate",
      "points": 3,
      "category": "management",
      "match": [
        "esc-ast-senior",
        "esc-ast-observe"
      ]
    },
    {
      "id": "crit-ast-comm",
      "type": "communication",
      "label": "Reassure and explain steps",
      "points": 10,
      "category": "communication"
    },
    {
      "id": "crit-ast-eff",
      "type": "test",
      "label": "Avoid unnecessary delay tests",
      "points": 10,
      "category": "efficiency",
      "match": [
        "test-ast-peakflow"
      ]
    },
    {
      "id": "crit-ast-doc",
      "type": "documentation",
      "label": "Document reassessment plan",
      "points": 5,
      "category": "documentation",
      "match": [
        "spo2",
        "reassess",
        "nebulized"
      ]
    }
  ],
  "dangerousActions": [
    {
      "id": "danger-ast-delay",
      "type": "treatment",
      "label": "Delay bronchodilator/oxygen for imaging",
      "points": -10,
      "category": "safety",
      "match": [
        "tx-ast-delay"
      ]
    }
  ],
  "scoringRubric": {
    "history": 20,
    "exam": 10,
    "reasoning": 15,
    "safety": 20,
    "communication": 10,
    "efficiency": 10,
    "documentation": 5,
    "management": 10
  },
  "teachingNotes": {
    "summary": "Acute breathlessness in known asthma needs immediate protocolized treatment and reassessment.",
    "correctReasoning": "Low SpO2 with tachypnea and wheeze requires oxygen plus bronchodilator first, then objective reassessment and escalation if needed.",
    "commonMistakes": [
      "Waiting for imaging before treating airway distress",
      "No reassessment after initial treatment",
      "Underestimating severity based on age"
    ],
    "nextSteps": [
      "Practice a 3-step asthma emergency loop: assess, treat, reassess."
    ]
  }
}

Severe Headache in Late Pregnancy

Case ID: pregnancy-preeclampsia

Schema valid
Preview JSON
{
  "id": "pregnancy-preeclampsia",
  "title": "Severe Headache in Late Pregnancy",
  "specialty": "Obstetrics",
  "difficulty": "hard",
  "estimatedMinutes": 14,
  "xpReward": 120,
  "tags": [
    "pregnancy",
    "obstetrics",
    "emergency"
  ],
  "learningObjectives": [
    "Identify severe-feature hypertensive disorder in pregnancy",
    "Perform immediate risk-focused evaluation",
    "Escalate urgently with maternal-fetal safety priorities"
  ],
  "patient": {
    "name": "Neha Yadav",
    "age": 28,
    "sex": "Female",
    "occupation": "Homemaker",
    "languageStyle": "mixed",
    "personality": "Distressed but cooperative",
    "healthLiteracy": "medium",
    "emotionalState": "Anxious about baby safety"
  },
  "openingLine": "I have a bad headache and swelling in my feet.",
  "hiddenDiagnosis": {
    "name": "Severe preeclampsia",
    "explanation": "Severe hypertension with headache and visual symptoms in late pregnancy is obstetric emergency."
  },
  "diagnosisSynonyms": [
    "preeclampsia with severe features",
    "severe pre-eclampsia",
    "preeclampsia"
  ],
  "differentials": [
    {
      "name": "Migraine in pregnancy",
      "likelihood": "low"
    },
    {
      "name": "Gestational hypertension",
      "likelihood": "medium"
    },
    {
      "name": "Eclampsia evolving",
      "likelihood": "medium"
    }
  ],
  "history": [
    {
      "id": "hx-pre-gest",
      "category": "hpi",
      "questionHints": [
        "weeks pregnant",
        "gestational age",
        "trimester"
      ],
      "patientAnswer": "I am 34 weeks pregnant.",
      "requiredForScore": true
    },
    {
      "id": "hx-pre-visual",
      "category": "red_flags",
      "questionHints": [
        "vision",
        "blurring",
        "spots"
      ],
      "patientAnswer": "Yes, I see blur and flashing spots at times.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-pre-epigastric",
      "category": "red_flags",
      "questionHints": [
        "epigastric pain",
        "upper abdominal pain"
      ],
      "patientAnswer": "I have mild upper abdominal discomfort since afternoon.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-pre-fetal",
      "category": "red_flags",
      "questionHints": [
        "fetal movements",
        "baby movement"
      ],
      "patientAnswer": "I feel movements but maybe less than usual.",
      "requiredForScore": true,
      "redFlag": true
    }
  ],
  "physicalExam": [
    {
      "id": "ex-pre-vitals",
      "examType": "vitals",
      "label": "Check blood pressure and pulse",
      "finding": "BP 164/108 mmHg, HR 92/min",
      "abnormal": true,
      "requiredForScore": true
    },
    {
      "id": "ex-pre-edema",
      "examType": "general",
      "label": "Assess edema and neurologic symptoms",
      "finding": "Bilateral pedal edema with severe headache complaints.",
      "abnormal": true,
      "requiredForScore": true
    }
  ],
  "tests": [
    {
      "id": "test-pre-urine",
      "name": "Urine protein",
      "category": "bedside",
      "result": "Proteinuria present",
      "interpretation": "Supports hypertensive disorder of pregnancy",
      "cost": 150,
      "timeMinutes": 5,
      "requiredForScore": true
    },
    {
      "id": "test-pre-labs",
      "name": "Preeclampsia lab panel (CBC/LFT/renal)",
      "category": "lab",
      "result": "Platelets borderline low, liver enzymes mildly elevated",
      "interpretation": "Consistent with severe-feature risk",
      "cost": 1800,
      "timeMinutes": 40,
      "requiredForScore": true
    },
    {
      "id": "test-pre-brain-mri",
      "name": "Brain MRI immediate",
      "category": "imaging",
      "result": "No acute intracranial bleed",
      "interpretation": "Not first-line before obstetric stabilization",
      "cost": 8500,
      "timeMinutes": 90,
      "unnecessary": true
    }
  ],
  "treatments": [
    {
      "id": "tx-pre-mgso4",
      "name": "Start magnesium sulfate as per protocol",
      "category": "medication",
      "effect": "Seizure prophylaxis initiated in severe preeclampsia.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-pre-admit",
      "name": "Counsel immediate admission for maternal-fetal monitoring",
      "category": "counseling",
      "effect": "Improves safety through monitored high-risk care.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-pre-painkiller-only",
      "name": "Painkiller only and home rest",
      "category": "medication",
      "effect": "Misses life-threatening hypertensive emergency risk.",
      "safe": false,
      "dangerous": true
    }
  ],
  "escalationOptions": [
    {
      "id": "esc-pre-obgyn",
      "label": "Urgent obstetric emergency escalation",
      "result": "Obstetric emergency team activated for high-risk management.",
      "requiredForScore": true
    }
  ],
  "criticalActions": [
    {
      "id": "crit-pre-hx1",
      "type": "ask",
      "label": "Ask gestational age",
      "points": 5,
      "category": "history",
      "match": [
        "hx-pre-gest"
      ]
    },
    {
      "id": "crit-pre-hx2",
      "type": "ask",
      "label": "Ask visual symptoms",
      "points": 5,
      "category": "history",
      "match": [
        "hx-pre-visual"
      ]
    },
    {
      "id": "crit-pre-hx3",
      "type": "ask",
      "label": "Ask epigastric pain",
      "points": 5,
      "category": "history",
      "match": [
        "hx-pre-epigastric"
      ]
    },
    {
      "id": "crit-pre-hx4",
      "type": "ask",
      "label": "Ask fetal movements",
      "points": 5,
      "category": "history",
      "match": [
        "hx-pre-fetal"
      ]
    },
    {
      "id": "crit-pre-exam",
      "type": "exam",
      "label": "Check severe BP",
      "points": 10,
      "category": "exam",
      "match": [
        "ex-pre-vitals"
      ]
    },
    {
      "id": "crit-pre-test1",
      "type": "test",
      "label": "Order urine protein",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-pre-urine"
      ]
    },
    {
      "id": "crit-pre-test2",
      "type": "test",
      "label": "Order severity labs",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-pre-labs"
      ]
    },
    {
      "id": "crit-pre-dx",
      "type": "diagnosis",
      "label": "Recognize severe preeclampsia",
      "points": 5,
      "category": "reasoning"
    },
    {
      "id": "crit-pre-safety",
      "type": "escalation",
      "label": "Escalate obstetric emergency",
      "points": 20,
      "category": "safety",
      "match": [
        "esc-pre-obgyn"
      ]
    },
    {
      "id": "crit-pre-mgmt1",
      "type": "treatment",
      "label": "Consider magnesium sulfate",
      "points": 5,
      "category": "management",
      "match": [
        "tx-pre-mgso4"
      ]
    },
    {
      "id": "crit-pre-mgmt2",
      "type": "treatment",
      "label": "Counsel admission",
      "points": 5,
      "category": "management",
      "match": [
        "tx-pre-admit"
      ]
    },
    {
      "id": "crit-pre-comm",
      "type": "communication",
      "label": "Explain risk clearly and calmly",
      "points": 10,
      "category": "communication"
    },
    {
      "id": "crit-pre-eff",
      "type": "test",
      "label": "Prioritize obstetric stabilization first",
      "points": 10,
      "category": "efficiency",
      "match": [
        "test-pre-urine",
        "test-pre-labs"
      ]
    },
    {
      "id": "crit-pre-doc",
      "type": "documentation",
      "label": "Document severe features and referral plan",
      "points": 5,
      "category": "documentation",
      "match": [
        "bp",
        "pregnancy",
        "urgent"
      ]
    }
  ],
  "dangerousActions": [
    {
      "id": "danger-pre-discharge",
      "type": "treatment",
      "label": "Discharge with only painkiller despite severe BP",
      "points": -10,
      "category": "safety",
      "match": [
        "tx-pre-painkiller-only"
      ]
    }
  ],
  "scoringRubric": {
    "history": 20,
    "exam": 10,
    "reasoning": 15,
    "safety": 20,
    "communication": 10,
    "efficiency": 10,
    "documentation": 5,
    "management": 10
  },
  "teachingNotes": {
    "summary": "Late-pregnancy severe headache with high BP is emergency until proven otherwise.",
    "correctReasoning": "Severe-range blood pressure plus neurologic symptoms in third trimester strongly suggests severe preeclampsia and mandates urgent escalation.",
    "commonMistakes": [
      "Treating as simple headache",
      "Not checking proteinuria and severity labs",
      "Failure to escalate to obstetric emergency pathway"
    ],
    "nextSteps": [
      "Practice maternal emergency scripts for rapid escalation and counseling."
    ]
  }
}

Snakebite in a Rural Field Worker

Case ID: snakebite-rural

Schema valid
Preview JSON
{
  "id": "snakebite-rural",
  "title": "Snakebite in a Rural Field Worker",
  "specialty": "Emergency Medicine",
  "difficulty": "medium",
  "estimatedMinutes": 10,
  "xpReward": 100,
  "tags": [
    "snakebite",
    "emergency",
    "rural"
  ],
  "learningObjectives": [
    "Perform first-aid and risk assessment after snakebite",
    "Avoid harmful traditional interventions",
    "Escalate promptly for antivenom protocol when needed"
  ],
  "patient": {
    "name": "Mahesh Markam",
    "age": 31,
    "sex": "Male",
    "occupation": "Farmer",
    "languageStyle": "hinglish",
    "personality": "Alert but worried",
    "healthLiteracy": "low",
    "emotionalState": "Fearful"
  },
  "openingLine": "Something bit my foot in the field. My leg is swelling.",
  "hiddenDiagnosis": {
    "name": "Venomous snakebite with progressive local envenomation",
    "explanation": "Fang marks with progressive swelling and early bleeding signs indicate clinically significant envenomation risk."
  },
  "diagnosisSynonyms": [
    "venomous snakebite",
    "snake envenomation",
    "snakebite"
  ],
  "differentials": [
    {
      "name": "Non-venomous bite reaction",
      "likelihood": "low"
    },
    {
      "name": "Insect bite with cellulitis",
      "likelihood": "low"
    },
    {
      "name": "Dry bite",
      "likelihood": "medium"
    }
  ],
  "history": [
    {
      "id": "hx-snake-time",
      "category": "hpi",
      "questionHints": [
        "when bite",
        "time of bite",
        "how long ago"
      ],
      "patientAnswer": "It happened about one hour ago while cutting grass.",
      "requiredForScore": true
    },
    {
      "id": "hx-snake-site",
      "category": "hpi",
      "questionHints": [
        "where bitten",
        "which leg",
        "location"
      ],
      "patientAnswer": "On my right foot near the ankle. Two puncture marks are visible.",
      "requiredForScore": true
    },
    {
      "id": "hx-snake-firstaid",
      "category": "hpi",
      "questionHints": [
        "first aid",
        "tourniquet",
        "cut",
        "suck wound"
      ],
      "patientAnswer": "No tourniquet yet, but family is asking if they should tie it tight.",
      "requiredForScore": true,
      "redFlag": true
    },
    {
      "id": "hx-snake-symptoms",
      "category": "red_flags",
      "questionHints": [
        "bleeding",
        "neuro",
        "breathing",
        "vomit"
      ],
      "patientAnswer": "Swelling is increasing. I noticed mild gum bleeding recently.",
      "requiredForScore": true,
      "redFlag": true
    }
  ],
  "physicalExam": [
    {
      "id": "ex-snake-vitals",
      "examType": "vitals",
      "label": "Check vitals",
      "finding": "BP 110/70 mmHg, HR 102/min, RR 22/min, SpO2 97%",
      "abnormal": true,
      "requiredForScore": true
    },
    {
      "id": "ex-snake-local",
      "examType": "local",
      "label": "Inspect bite and swelling progression",
      "finding": "Fang marks present with swelling extending above ankle.",
      "abnormal": true,
      "requiredForScore": true
    }
  ],
  "tests": [
    {
      "id": "test-snake-clot",
      "name": "20-minute whole blood clotting test",
      "category": "bedside",
      "result": "Delayed clotting observed",
      "interpretation": "Suggestive of hemotoxic envenomation",
      "cost": 100,
      "timeMinutes": 20,
      "requiredForScore": true
    },
    {
      "id": "test-snake-cbc",
      "name": "CBC and coagulation profile",
      "category": "lab",
      "result": "Platelets mildly reduced, prolonged clotting profile",
      "interpretation": "Supports systemic envenomation monitoring",
      "cost": 500,
      "timeMinutes": 30,
      "requiredForScore": true
    },
    {
      "id": "test-snake-renal",
      "name": "Renal function tests",
      "category": "lab",
      "result": "Baseline renal function normal",
      "interpretation": "Useful for monitoring systemic venom effects",
      "cost": 450,
      "timeMinutes": 35,
      "requiredForScore": true
    },
    {
      "id": "test-snake-ct",
      "name": "CT leg soft tissue",
      "category": "imaging",
      "result": "Diffuse edema only",
      "interpretation": "Not first-line for early snakebite management",
      "cost": 6000,
      "timeMinutes": 70,
      "unnecessary": true
    }
  ],
  "treatments": [
    {
      "id": "tx-snake-immobilize",
      "name": "Limb immobilization and reassurance",
      "category": "supportive",
      "effect": "Limits venom spread and improves safety.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-snake-avoid-harmful",
      "name": "Counsel against tourniquet/cut/suction",
      "category": "counseling",
      "effect": "Prevents harmful first-aid practices.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-snake-antivenom-plan",
      "name": "Prepare antivenom protocol if systemic signs progress",
      "category": "referral",
      "effect": "Aligns treatment with envenomation severity.",
      "safe": true,
      "requiredForScore": true
    },
    {
      "id": "tx-snake-tourniquet",
      "name": "Apply tight tourniquet",
      "category": "procedure",
      "effect": "Increases local tissue injury and ischemia risk.",
      "safe": false,
      "dangerous": true
    },
    {
      "id": "tx-snake-cut",
      "name": "Cut and suck the wound",
      "category": "procedure",
      "effect": "Causes tissue trauma and infection risk without benefit.",
      "safe": false,
      "dangerous": true
    }
  ],
  "escalationOptions": [
    {
      "id": "esc-snake-referral",
      "label": "Urgent referral for monitored antivenom-capable center",
      "result": "Emergency referral activated with monitoring and transport.",
      "requiredForScore": true
    }
  ],
  "criticalActions": [
    {
      "id": "crit-snake-hx1",
      "type": "ask",
      "label": "Ask bite timing",
      "points": 5,
      "category": "history",
      "match": [
        "hx-snake-time"
      ]
    },
    {
      "id": "crit-snake-hx2",
      "type": "ask",
      "label": "Ask bite location and marks",
      "points": 5,
      "category": "history",
      "match": [
        "hx-snake-site"
      ]
    },
    {
      "id": "crit-snake-hx3",
      "type": "ask",
      "label": "Ask first aid done",
      "points": 5,
      "category": "history",
      "match": [
        "hx-snake-firstaid"
      ]
    },
    {
      "id": "crit-snake-hx4",
      "type": "ask",
      "label": "Ask bleeding/systemic symptoms",
      "points": 5,
      "category": "history",
      "match": [
        "hx-snake-symptoms"
      ]
    },
    {
      "id": "crit-snake-exam",
      "type": "exam",
      "label": "Assess vitals and local findings",
      "points": 10,
      "category": "exam",
      "match": [
        "ex-snake-vitals",
        "ex-snake-local"
      ]
    },
    {
      "id": "crit-snake-reason1",
      "type": "test",
      "label": "Order clotting test",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-snake-clot"
      ]
    },
    {
      "id": "crit-snake-reason2",
      "type": "test",
      "label": "Order CBC/renal profile",
      "points": 5,
      "category": "reasoning",
      "match": [
        "test-snake-cbc",
        "test-snake-renal"
      ]
    },
    {
      "id": "crit-snake-dx",
      "type": "diagnosis",
      "label": "Recognize envenomation risk",
      "points": 5,
      "category": "reasoning"
    },
    {
      "id": "crit-snake-safe",
      "type": "escalation",
      "label": "Escalate and avoid harmful first aid",
      "points": 20,
      "category": "safety",
      "match": [
        "esc-snake-referral"
      ]
    },
    {
      "id": "crit-snake-mgmt1",
      "type": "treatment",
      "label": "Immobilize limb",
      "points": 4,
      "category": "management",
      "match": [
        "tx-snake-immobilize"
      ]
    },
    {
      "id": "crit-snake-mgmt2",
      "type": "treatment",
      "label": "Counsel harmful practices",
      "points": 3,
      "category": "management",
      "match": [
        "tx-snake-avoid-harmful"
      ]
    },
    {
      "id": "crit-snake-mgmt3",
      "type": "treatment",
      "label": "Plan antivenom pathway",
      "points": 3,
      "category": "management",
      "match": [
        "tx-snake-antivenom-plan"
      ]
    },
    {
      "id": "crit-snake-comm",
      "type": "communication",
      "label": "Calmly counsel family",
      "points": 10,
      "category": "communication"
    },
    {
      "id": "crit-snake-eff",
      "type": "test",
      "label": "Prioritize bedside and essential labs",
      "points": 10,
      "category": "efficiency",
      "match": [
        "test-snake-clot",
        "test-snake-cbc",
        "test-snake-renal"
      ]
    },
    {
      "id": "crit-snake-doc",
      "type": "documentation",
      "label": "Document bite timeline and progression",
      "points": 5,
      "category": "documentation",
      "match": [
        "bite",
        "swelling",
        "referral"
      ]
    }
  ],
  "dangerousActions": [
    {
      "id": "danger-snake-tourniquet",
      "type": "treatment",
      "label": "Apply tight tourniquet",
      "points": -8,
      "category": "safety",
      "match": [
        "tx-snake-tourniquet"
      ]
    },
    {
      "id": "danger-snake-cut",
      "type": "treatment",
      "label": "Cut/suck wound",
      "points": -8,
      "category": "safety",
      "match": [
        "tx-snake-cut"
      ]
    }
  ],
  "scoringRubric": {
    "history": 20,
    "exam": 10,
    "reasoning": 15,
    "safety": 20,
    "communication": 10,
    "efficiency": 10,
    "documentation": 5,
    "management": 10
  },
  "teachingNotes": {
    "summary": "Early stabilization and avoiding harmful first aid are central in snakebite care.",
    "correctReasoning": "Progressive swelling and bleeding signs require monitored referral with essential clotting and systemic evaluation.",
    "commonMistakes": [
      "Applying tourniquet or cutting the wound",
      "Delayed referral despite progression",
      "Ignoring serial monitoring needs"
    ],
    "nextSteps": [
      "Practice a rural snakebite checklist with first aid, danger signs, and referral triggers."
    ]
  }
}