Prompt Details
Model
(v3)
Token size
150
Example input
[Domain or Environment]: hospital emergency diagnostic systems
[Agent’s Task or Goal]: triaging incoming patients based on symptoms and vitals
[Target Audience]: medical professionals and hospital administrators
[Application Context]: clinical auditing and real-time patient safety assessments
Example output
### **Step-by-Step Explanation of AI Agent Decision-Making in Hospital Emergency Diagnostic Systems**
**Audience:** Medical Professionals & Hospital Administrators
**Application Context:** Clinical Auditing & Real-Time Patient Safety Assessments
---
### **1. Patient Data Ingestion & Validation**
**Inputs:**
- Structured EHR data (age, sex, medical history)
- Presenting symptoms (e.g., chest pain, shortness of breath)
- Vitals (e.g., heart rate, blood pressure, SpO₂, temperature)
- Triage nurse notes (free-text, if NLP-enabled)
**Decision Process:**
1. **Data Completeness Check:**
- The AI verifies all critical fields (e.g., vitals, chief complaint) are present.
- If missing, flags for human review (e.g., "Blood pressure not recorded—escalate to nurse").
2. **Data Plausibility Check:**
- Validates vitals against physiological norms (e.g., heart rate > 250 bpm → flagged as outlier).
- Cross-references conflicting inputs (e.g., "unconscious" but "normal GCS" → inconsistency alert).
**Output:**
- **Validated dataset** ready for analysis OR **error log** for human intervention.
---
### **2. Risk Stratification & Triage Priority Assignment**
**Inputs:**
- Validated patient data
- Pre-trained clinical risk models (e.g., Modified Early Warning Score [MEWS], ESI criteria)
**Decision Process:**
1. **Acuity Scoring:**
- Applies MEWS:
- **HR 120 → +2**
- **SBP 80 → +3**
- **RR 28 → +2**
- **Total MEWS = 7** → High risk of deterioration.
2. **Symptom Pattern Matching:**
- Chest pain + diaphoresis + ST-elevation on EKG → **STEMI likelihood: 92%**.
- Compares against historical cases with similar profiles (e.g., 98% of STEMI cases in database had priority 1 triage).
3. **Contextual Adjustments:**
- Considers comorbidities (e.g., diabetes → higher risk for silent MI).
- Adjusts for age (e.g., elderly patients may have atypical symptoms).
**Output:**
- **Triage Priority Level (1-5)** with confidence score (e.g., "Priority 1, 95% confidence").
- **Key Rationale:** "High MEWS, STEMI symptoms, and history of CAD warrant immediate intervention."
---
### **3. Differential Diagnosis Generation**
**Inputs:**
- Triage priority
- Symptom clusters (e.g., "fever + cough + hypoxia")
**Decision Process:**
1. **Rule-Out Critical Conditions:**
- **Hypoxia + fever →** Checks for:
- Pneumonia (CURB-65 score)
- PE (Wells criteria)
- COVID-19 (if PCR pending).
2. **Bayesian Probability Ranking:**
- Calculates likelihoods:
- **Pneumonia: 65%** (consolidation on CXR, CRP elevated)
- **PE: 20%** (no Wells criteria met)
- **COVID-19: 15%** (no recent exposure).
3. **Safety Netting:**
- Flags "cannot miss" diagnoses (e.g., "PE probability low but cannot exclude without D-dimer").
**Output:**
- **Ranked Differential Diagnoses** with probabilities.
- **Recommended Tests:** "CXR, CBC, CRP, consider D-dimer if Wells >4."
---
### **4. Resource Allocation & Escalation**
**Inputs:**
- Triage priority
- Hospital capacity (e.g., ICU beds, staff availability)
**Decision Process:**
1. **Dynamic Bed Assignment:**
- Priority 1 + STEMI → **Direct to cath lab** (if available).
- Priority 2 + sepsis → **ICU consult** (if beds > threshold).
2. **Conflict Resolution:**
- If ICU full, compares patients using **SOFA scores** (e.g., "Patient A (SOFA 9) prioritized over Patient B (SOFA 6)").
**Output:**
- **Actionable Alert:** "Route to cath lab, notify cardiology."
- **Audit Trail:** "Decision based on MEWS, STEMI criteria, and cath lab availability at [timestamp]."
---
### **5. Real-Time Monitoring & Feedback**
**Inputs:**
- Post-triage outcomes (e.g., lab results, clinician overrides)
**Decision Process:**
1. **Performance Validation:**
- Compares AI’s triage priority vs. final diagnosis (e.g., "AI: Priority 1, Actual: STEMI → Correct").
- Flags discrepancies (e.g., "AI: Priority 3, but patient later intubated → Review needed").
2. **Continuous Learning:**
- Anonymized cases added to training data if validated by clinicians.
**Output:**
- **Audit Report:** "98% alignment with gold-standard triage over 30 days."
- **Drift Detection:** "Recent increase in sepsis cases—recalibrate model weights."
---
### **Key Features for Trust & Transparency**
1. **Traceability:** Every decision linked to input data + clinical guidelines.
2. **Interpretability:** Plain-language rationale (e.g., "Priority 1 due to MEWS >5").
3. **Human-in-the-Loop:** Escalates edge cases (e.g., "Uncertainty score >30% → MD review").
4. **Regulatory Alignment:** Logs adhere to FDA/CE standards for AI in healthcare.
**Example Output Summary:**
> "**Patient ID 1234**: Priority 1 (Critical).
> **Rationale**: MEWS=7 (HR 120, SBP 80), STEMI symptoms, prior CAD.
> **Action**: Immediate cath lab activation.
> **Confidence**: 94%.
> **Audit ID**: TRG-2025-06-09-1425."
---
This framework ensures **clinically auditable, real-time decision-making** while maintaining the rigor required for patient safety and regulatory compliance. Would you like to refine any step for specific workflows (e.g., pediatric triage, mass casualty incidents)?
Get this prompt + 9 more with Select$14 first month, then $19/mo · Cancel anytime$14 first month · then $19/mo
View SelectBy purchasing this prompt, you agree to our terms of service
V3
🧠 Transparent AI Agent Reasoning Tool
This prompt helps you generate detailed, step-by-step explanations for AI agent decisions, boosting trust and auditability.
🔍 What it creates:
√ Clear, structured reasoning for any AI decision
✅ How it's useful:
√ Builds transparency, trust & compliance
√ Perfect for AI audits & critical systems
👤 Who it's for:
√ Data scientists, auditors, enterprise teams
🧾 Format:
√ Fully editable sections with human-friendly output
❓ Questions? Reach out anytime!
...more
Added over 1 month ago
