Extended Reasoning for Diagnostic Support

implementationChallengeOctober 19, 2025

Prompt Content

Enhance your 'Symptom Analysis' agent (powered by Claude Opus 4.1) to employ extended thinking. When processing a patient case (e.g., symptoms: 'chest pain, shortness of breath', EHR indicates 'hypertension'), instruct the agent to first decompose the problem into 'cardiac risk assessment' and 'pulmonary risk assessment'. Then, perform RAG against a simulated medical guideline database (simple dictionary or text file) for each decomposition to generate a differential diagnosis and justify its recommendations. Emphasize adaptive reasoning for high-risk symptoms.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations