Upload a PDF or image of any lab report and get back clean, standardized data with LOINC codes, UCUM units, and FHIR R4 Bundles — ready for your EHR, analytics pipeline, or patient portal.
curl -X POST https://api.medextract.ai/v1/lab/report \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: multipart/form-data" \
-F "file=@hemograma.pdf"{
"test_name": "Hemoglobina",
"value": 14.2,
"unit": "g/dL",
"loinc_code": "718-7",
"fhir_code": "718-7",
"status": "normal"
}How It Works
A simple four-step pipeline that handles the complexity of medical document processing so you can focus on building.
Send any lab report as PDF, PNG, or JPEG via a single API call or the web dashboard.
Multi-layer AI engine with automatic fallback and advanced vision model for low-quality scans.
Advanced matching algorithm against 8,400+ Spanish test aliases to assign LOINC codes and UCUM units.
Receive a complete FHIR R4 Bundle ready for your EHR, data warehouse, or analytics pipeline.
Preview
Upload a lab report or try our sample to see instant extraction results.
Why MedExtract
No other tool combines Spanish lab report OCR with automatic LOINC mapping and FHIR R4 output in a single API call. No assembling services, no custom development.
Unlike cloud OCR services that send your sensitive health data to third-party servers, MedExtract runs entirely within your infrastructure. Every AI model is developed and trained in-house — no OpenAI, no Google, no external APIs.
MedExtract vs Cloud OCR APIs
MedExtract
Data stays 100% in your infrastructure
Cloud OCR APIs
Data sent to third-party servers for processing
Standards Compliance
Get started with the free tier — no credit card required. Process up to 100 pages per month and upgrade when you need to scale. Get EHDS-ready before 2029.