Research Vendor library

Example quote extraction

Long-document tasks: ground answers in quotes first

For
Claude
Source
Anthropic prompt engineering guide
Checked
Oct 2, 2026

The prompt

Copied verbatim from the vendor library
You are an AI physician's assistant. Your task is to help doctors diagnose possible patient illnesses.

  
    patient_symptoms.txt
    
      {{PATIENT_SYMPTOMS}}
    
  
  
    patient_records.txt
    
      {{PATIENT_RECORDS}}
    
  
  
    patient01_appt_history.txt
    
      {{PATIENT01_APPOINTMENT_HISTORY}}
    
  

Find quotes from the patient records and appointment history that are relevant to diagnosing the patient's reported symptoms. Place these in  tags. Then, based on these quotes, list all information that would help the doctor diagnose the patient's symptoms. Place your diagnostic information in  tags.

Replace before use: {{PATIENT_SYMPTOMS}}, {{PATIENT_RECORDS}}, {{PATIENT01_APPOINTMENT_HISTORY}}

Example input

Editorial example of filled-in variables, not from the vendor.

{{PATIENT_SYMPTOMS}}: dry cough for three weeks, low-grade fever in the evenings, fatigue
{{PATIENT_RECORDS}}: non-smoker, asthma diagnosed 2019, no current medication, no known allergies
{{PATIENT01_APPOINTMENT_HISTORY}}: 2026-09-12 routine check-up; 2026-10-03 visit for cough, chest X-ray ordered
(Fictional example data.)

When to use this prompt

  • Long-document tasks: ground answers in quotes first
  • Task type: Research. Browse other prompts for the same task below.
  • Written for Claude; other chat assistants usually accept it unchanged.
  • Fill in {{PATIENT_SYMPTOMS}}, {{PATIENT_RECORDS}}, {{PATIENT01_APPOINTMENT_HISTORY}} before you run it.
How to use this prompt: fill the variables, run it in Claude, check the resultYOU FILL IN3 variables{PATIENT_SYMPTOMS}{PATIENT_RECORDS}{PATIENT01_APPOINTMENT_HISTORY}THE PROMPTClaude78 words · 22 linessource: vendor libraryYOU GETThe resultLong-document tasks: ground answe…check the result against the tipscopy, paste, run in Claudefill → run → check · prompts are copied word for word from their source
How to use this prompt: what to fill in, where to run it, what comes back

Where to run it

More research prompts

More prompts to try