- A practical guide to extracting structured data from Hebrew medical reports using AI, without missing abnormal values or critical clinical findings.
Most medical reports in Israel are still processed manually, leading to reading errors in more than 5% of cases on average at unprotected clinics.
Automating Data Extraction and Analysis from Hebrew Medical Test Reports with AI
Automating the analysis of Hebrew medical test reports with AI is both feasible and effective, but it requires careful data design and prompt engineering to prevent clinically significant misses. The key is combining strong Hebrew-capable models (such as Claude), clinically precise prompts, and rigorous validation of anomalous findings with 100% accuracy.
What Is AI-Based Data Extraction from Medical Reports?
AI-based data extraction from medical reports is an automated process in which a language model parses the content of a report (in Hebrew or other languages) and extracts:
- Structured information: patient name, report number, test date, test name
- Measured values: numbers with units (for example: hemoglobin 35 g/L, neutrophils 7,200 cells/mL)
- Qualitative findings: descriptive observations ("enlarged liver," "reduced bone density")
- Flags and results: whether a value falls within, above, or below the normal range
- Critical abnormal values: findings requiring immediate intervention (for example: blood oxygen saturation 75%, glucose 450 mg/dL)
Why this matters: a significant reduction in human reading errors, faster processing times, and immediate surfacing of important findings for clinicians and physicians.
The Core Problem: Clinical Misses and Reading Errors
Every physician in Israel knows it: a medical report that is read incorrectly or only partially can lead to diagnostic and treatment errors. When using AI to process reports, the main risks are:
- Missing serious abnormal values: for example, the model failing to flag that a result is 3 standard deviations above normal
- Hebrew reading errors: Hebrew words misread by the model (for example, "absence" parsed as "presence")
- Failure to understand clinical context: a value that is "normal" in a standard context but "abnormal" in a patient on specific medications or with a particular condition
- Missing incorrect units of measurement: for example, confusion between mg/dL and micromol/L
Practical Steps for Building a Safe Automation System
1. Laying the Foundation: Collecting and Processing Reports
Before you bring in AI:
- Initial scanning / OCR: if reports are images or PDFs, run Claude Vision or an Israeli OCR tool to convert them to Hebrew text
- Formatting cleanup: clean the text, remove special punctuation characters and unnecessary whitespace, verify UTF-8 encoding
- Split by test type: separate blood reports from X-rays from mammograms. Each type requires a different clinical vocabulary
2. Designing the Clinical Prompt
This is the hardest part. Your prompt to the AI model needs to include:
You are an expert in reading Hebrew medical test reports.
Read the report below and extract:
1. Test metadata: test name, date, report number
2. Every measured value: [parameter name] = [value] [units]
3. Reference range (normal) for each value
4. Status: [within normal range / high / low / critical]
5. Serious abnormal findings (red): any value that is:
- More than 2 standard deviations above normal, or
- More than 2 standard deviations below normal, or
- Flagged in the report itself as "abnormal" or "requires review"
6. Qualitative findings: any description of a radiological or clinical finding
Output: JSON in Hebrew with the following structure:
{
"בדיקה": "...",
"תאריך": "...",
"ערכים": [{...}],
"ממצאים_חריגים": [...],
"סיכום_קליני": "..."
}
Important: attach to the prompt a catalog of Israeli normal reference ranges, for example:
- Hemoglobin: 14-18 g/dL
- Neutrophils: 2,000-7,500 per mm³
- Fasting glucose: 70-100 mg/dL
3. Using the API or Claude Code
Method 1: Direct interface (simple) Send the report as text to Claude together with the detailed prompt. Receive JSON in return.
Method 2: Full automation with Claude Code If you have a Claude Code subscription:
import anthropic
client = anthropic.Anthropic(api_key="YOUR_KEY")
def extract_medical_data(report_text, reference_ranges):
prompt = f"""
Medical report to analyze:
{report_text}
Reference ranges:
{reference_ranges}
Please extract values and flag abnormal findings as specified in the instructions.
"""
message = client.messages.create(
model="claude-3-5-sonnet-20241022",
max_tokens=1024,
messages=[
{"role": "user", "content": prompt}
]
)
return message.content[0].text
# Example usage
report = "Blood report from 15.1.2026..." # the medical report in Hebrew
ref_ranges = {"hemoglobin": "14-18", "neutrophils": "2000-7500"}
result = extract_medical_data(report, ref_ranges)
print(result)
4. Testing and Validation
Key safeguards:
- Manual review of 50 test reports: have yourself (or a clinical team member) review every report processed by AI and check for missed abnormal values
- Build an error matrix: document every miss or mistake, then revisit the prompt to improve it
- Statistical benchmarking: at least 95% accuracy in extracting normal values, and 100% accuracy in extracting abnormals (zero tolerance for misses)
A Concrete Israeli Example
Scenario: A Tel Aviv clinic processes 200 blood reports per month. Over 3 months there were 12 manual reading errors, three of which were missed abnormal values.
Solution with AI:
- Collected 100 previous reports and manually annotated them
- Trained Claude with the Hebrew prompt and the clinic's own reference ranges
- Tested on 20 new reports: 98.5% accuracy, all 3 abnormals caught
- Automated the process: every new report is sent to the server, the AI analyzes it, and results are presented to the physician within 2 minutes (instead of 15)
Outcome: 90% reduction in processing time, zero missed abnormals in the first two months after launch.
Common Mistakes to Avoid
| Mistake | Consequence | Prevention |
|---|---|---|
| Using a generic prompt (without a specific test type) | Missing abnormal values | Write a separate prompt for each test type (blood, urine, imaging) |
| No accurate reference range attachment | Incorrect "abnormal" determinations | Attach an up-to-date catalog for Israel or the specific hospital |
| No manual validation of test reports | AI errors propagate | Review at least 50 reports; if error rate is above 5%, revise the prompt |
| Feeding PDF directly without clean OCR | Garbled text, incorrect results | Run through OCR first, clean the text, verify UTF-8 |
| Incorrect units of measurement | A single abnormal value misclassified as normal | Include a units parser in the prompt (mg/dL vs. mmol/L) |
When to Bring in a Professional
If you are:
- Comfortable with code and APIs: build it yourself or with a small IT team. Claude Code is well suited to self-directed iteration
- Looking for a complete solution integrated with existing systems: contact an AI specialist in Israel with clinical knowledge
- Requiring compliance and legal accountability: a medtech company with an established track record in Israel can put legally sound validation steps in place for the client
- Facing complex tasks: if the work goes beyond extraction to include integration with existing EHR systems or automated report generation for patients
Comparison of Approaches
| Approach | Processing Time | Cost | Accuracy | Flexibility |
|---|---|---|---|---|
| Manual by physicians | Very high (15+ min/report) | Very high (salaries) | 92-95% | None |
| OCR + text search | Medium (3-5 min) | Medium | 85-90% | Moderate |
| AI with simple prompt | Low (30 seconds) | Low | 85-92% | High but risky |
| AI with tailored clinical prompt | Low (30 seconds) | Low | 96-99% | High and predictable |
| AI + partial manual review | Medium (3 min) | Medium-low | 99%+ | High |
The Bottom Line
Automating data extraction from Hebrew medical test reports with AI is practical and cost-effective, but it depends on three pillars: (1) a clinically precise Hebrew prompt, (2) correct, location-specific reference ranges, and (3) proactive validation of test reports. Claude and Claude Code are especially well suited to Hebrew and capable of deep clinical reasoning, provided they are prompted correctly.
There is no "fully free data tool," but with a modest investment in testing and calibration, you can reach 99% accuracy and save thousands of clinical hours per year.
Act now: if you manage a clinic or hospital in Israel, start with a single report type only (blood, for example). Come to a private lesson to work through your specific scenario and the right prompt for it. Contact me for a private lesson here or explore our AI course for medical organizations.

