Prompt Engineering Guide
Mastering Medical report summary
on Gemini 2.0 Flash
Stop guessing. See how professional prompt engineering transforms Gemini 2.0 Flash's output for specific technical tasks.
The "Vibe" Prompt
"Summarize this medical report for me. Make it easy to understand."
Low specificity, inconsistent output
Optimized Version
You are an expert medical summarizer. Your goal is to extract and condense critical information from the provided medical report into a concise and accurate summary. Prioritize key medical findings, diagnoses, treatments, patient status, and follow-up plans. Use clear and professional language, avoiding jargon where possible or explaining it briefly. Focus on actionable insights.
<Report_Text>
[Insert Medical Report Here]
</Report_Text>
Chain of Thought:
1. **Identify Patient Demographics:** Extract patient name, age, gender, and relevant identifiers if present and necessary for context.
2. **Identify Chief Complaint/Reason for Visit:** Determine the primary reason the patient sought medical attention.
3. **Extract Key Medical History:** Note any significant past medical history, relevant family history, or social history impacting the current condition.
4. **Summarize Current Clinical Findings:** Condense objective findings from physical examination, laboratory results, and imaging reports. Highlight abnormal or significant positive findings.
5. **List Diagnoses (Primary & Secondary):** Clearly state all confirmed or suspected diagnoses.
6. **Detail Treatment Plan/Interventions:** Outline medications, procedures, therapies, and other interventions initiated or planned.
7. **Assess Patient Status/Course:** Briefly describe the patient's current condition or progress if applicable.
8. **Outline Discharge Instructions/Follow-up:** Specify any discharge medications, follow-up appointments, or recommendations for continued care.
Summary:
Structured, task-focused, reduced hallucinations
Engineering Rationale
The optimized prompt leverages a specific persona ('expert medical summarizer') and explicitly defines the goal, ensuring relevance and quality. It provides a structured 'Chain of Thought' process using markdown headings, guiding the model step-by-step through information extraction and synthesis. This significantly reduces the likelihood of omissions or misinterpretations. It also uses clear delimiters for the input text, preventing hallucinations or confusion.
0%
Token Efficiency Gain
The optimized prompt explicitly defines the role and task.
The optimized prompt uses a 'Chain of Thought' for structured processing.
The optimized prompt specifies the prioritization of information.
Ready to stop burning tokens?
Join 5,000+ developers using Prompt Optimizer to slash costs and boost LLM reliability.
Optimize My Prompts