Process Laboratory Results Extractor — HIPAA Compliant
Healthcare organizations process thousands of documents daily. Manual processing delays patient care and increases compliance risk.
Common Pain Points
- HIPAA violations cost $50K-$1.5M per incident
- Manual processing delays patient care
- Paper-based workflows increase error rates
- Audit preparation takes weeks without structured data
What This Template Does
AI-powered extraction using gemini-2.5-flash. Part of 113 production-ready templates.
Capabilities
- Healthcare Extraction
- Lab Results Processing
- Clinical Data Extraction
- Laboratory
- Lab Results
Output Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Laboratory Results Extraction Schema",
"description": "Schema for extracted laboratory test results from clinical lab reports",
"type": "object",
"required": [
"document_type",
"report_date",
"patient_info",
"test_panels"
],
"properties": {
"document_type": {
"type": "string",
"const": "lab_results",
"description": "Document type identifier"
},
"report_date": {
"typ
...Quick Start
See It In Action
Real extraction example showing input document and structured output.
METROPOLITAN CLINICAL LABORATORY
1234 Medical Center Drive, Suite 500
Chicago, IL 60601
Phone: (312) 555-0100 Fax: (312) 555-0101
CLIA: 14D0987654 NPI: 1234567890
Medical Director: Robert Chen, MD, PhD
===============================================================================
LABORATORY REPORT
===============================================================================
PATIENT INFORMATION
-------------------
Name: DOE, JANE MARIE
DOB: 03/15/1975
Gender: Female{
"document_type": "lab_results",
"report_date": "2024-01-10",
"report_time": "14:22",
"report_status": "Final",
"laboratory_info": {
"lab_name": "Metropolitan Clinical Laboratory",
"lab_address": "1234 Medical Center Drive, Suite 500, Chicago, IL 60601",
"clia_number": "14D0987654",
"npi": "1234567890",
"phone": "(312) 555-0100",
"medical_director": "Robert Chen, MD, PhD"
},
"patient_info": {
"name": "DOE, JANE MARIE",
"date_of_birth": "1975-03-15",
"gender": "F",
"mrn": "MRN-445566",
"account_number": "ACC-2024-78901",
"location": null
},
"ordering_info": {
"ordering_provider": "Dr. Sarah Williams, MD",
"ordering_provider_npi": "0987654321",
"ordering_facility": "Internal Medicine Associates",
"order_date": "2024-01-10",
"order_number": "ORD-20240110-5544"
},
"specimen_info": {
"specimen_type": "Blood",
"collection_date": "2024-01-10",
"collection_time": "08:15",
"received_date": "2024-01-10",
"received_time": "09:30",
"specimen_source": "Venous",
"fasting": true,
"specimen_id": "SP-2024-112233"
},
"test_panels": [
{
"panel_name": "Comprehensive Metabolic Panel (CMP)",
"panel_code": "24323-8",
"tests": [
{
"test_name": "Glucose, Fasting",
"test_code": "2345-7",
"result": 95,
"result_unit": "mg/dL",
"reference_range": "70-100",
"reference_range_low": 70,
"reference_range_high": 100,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "BUN",
"test_code": "3094-0",
"result": 18,
"result_unit": "mg/dL",
"reference_range": "7-20",
"reference_range_low": 7,
"reference_range_high": 20,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Creatinine",
"test_code": "2160-0",
"result": 0.9,
"result_unit": "mg/dL",
"reference_range": "0.6-1.1",
"reference_range_low": 0.6,
"reference_range_high": 1.1,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Sodium",
"test_code": "2951-2",
"result": 142,
"result_unit": "mEq/L",
"reference_range": "136-145",
"reference_range_low": 136,
"reference_range_high": 145,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Potassium",
"test_code": "2823-3",
"result": 4.2,
"result_unit": "mEq/L",
"reference_range": "3.5-5.0",
"reference_range_low": 3.5,
"reference_range_high": 5,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Chloride",
"test_code": "2075-0",
"result": 103,
"result_unit": "mEq/L",
"reference_range": "98-106",
"reference_range_low": 98,
"reference_range_high": 106,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "CO2 (Bicarbonate)",
"test_code": "2028-9",
"result": 25,
"result_unit": "mEq/L",
"reference_range": "23-29",
"reference_range_low": 23,
"reference_range_high": 29,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Calcium",
"test_code": "17861-6",
"result": 9.4,
"result_unit": "mg/dL",
"reference_range": "8.5-10.5",
"reference_range_low": 8.5,
"reference_range_high": 10.5,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Total Protein",
"test_code": "2885-2",
"result": 7.1,
"result_unit": "g/dL",
"reference_range": "6.0-8.3",
"reference_range_low": 6,
"reference_range_high": 8.3,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Albumin",
"test_code": "1751-7",
"result": 4.2,
"result_unit": "g/dL",
"reference_range": "3.5-5.0",
"reference_range_low": 3.5,
"reference_range_high": 5,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Bilirubin, Total",
"test_code": "1975-2",
"result": 0.8,
"result_unit": "mg/dL",
"reference_range": "0.1-1.2",
"reference_range_low": 0.1,
"reference_range_high": 1.2,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Alkaline Phosphatase",
"test_code": "6768-6",
"result": 72,
"result_unit": "U/L",
"reference_range": "44-147",
"reference_range_low": 44,
"reference_range_high": 147,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "AST (SGOT)",
"test_code": "1920-8",
"result": 24,
"result_unit": "U/L",
"reference_range": "10-40",
"reference_range_low": 10,
"reference_range_high": 40,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "ALT (SGPT)",
"test_code": "1742-6",
"result": 28,
"result_unit": "U/L",
"reference_range": "7-56",
"reference_range_low": 7,
"reference_range_high": 56,
"flag": "Normal",
"result_status": "Final"
}
]
},
{
"panel_name": "Lipid Panel",
"panel_code": "24331-1",
"tests": [
{
"test_name": "Total Cholesterol",
"test_code": "2093-3",
"result": 218,
"result_unit": "mg/dL",
"reference_range": "<200",
"reference_range_high": 200,
"flag": "H",
"flag_meaning": "High",
"result_status": "Final"
},
{
"test_name": "Triglycerides",
"test_code": "2571-8",
"result": 165,
"result_unit": "mg/dL",
"reference_range": "<150",
"reference_range_high": 150,
"flag": "H",
"flag_meaning": "High",
"result_status": "Final"
},
{
"test_name": "HDL Cholesterol",
"test_code": "2085-9",
"result": 52,
"result_unit": "mg/dL",
"reference_range": ">50",
"reference_range_low": 50,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "LDL Cholesterol (calc)",
"test_code": "2089-1",
"result": 133,
"result_unit": "mg/dL",
"reference_range": "<100",
"reference_range_high": 100,
"flag": "H",
"flag_meaning": "High",
"result_status": "Final"
},
{
"test_name": "VLDL Cholesterol",
"test_code": "2089-1",
"result": 33,
"result_unit": "mg/dL",
"reference_range": "5-40",
"reference_range_low": 5,
"reference_range_high": 40,
"flag": "Normal",
"result_status": "Final"
}
]
},
{
"panel_name": "Complete Blood Count (CBC)",
"panel_code": "58410-2",
"tests": [
{
"test_name": "WBC",
"test_code": "6690-2",
"result": 7.2,
"result_unit": "x10^3/uL",
"reference_range": "4.5-11.0",
"reference_range_low": 4.5,
"reference_range_high": 11,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "RBC",
"test_code": "789-8",
"result": 4.45,
"result_unit": "x10^6/uL",
"reference_range": "4.0-5.0",
"reference_range_low": 4,
"reference_range_high": 5,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Hemoglobin",
"test_code": "718-7",
"result": 13.2,
"result_unit": "g/dL",
"reference_range": "12.0-16.0",
"reference_range_low": 12,
"reference_range_high": 16,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Hematocrit",
"test_code": "4544-3",
"result": 39.5,
"result_unit": "%",
"reference_range": "36.0-48.0",
"reference_range_low": 36,
"reference_range_high": 48,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "MCV",
"test_code": "787-2",
"result": 88.8,
"result_unit": "fL",
"reference_range": "80-100",
"reference_range_low": 80,
"reference_range_high": 100,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Platelets",
"test_code": "777-3",
"result": 245,
"result_unit": "x10^3/uL",
"reference_range": "150-400",
"reference_range_low": 150,
"reference_range_high": 400,
"flag": "Normal",
"result_status": "Final"
}
]
},
{
"panel_name": "Thyroid Panel",
"panel_code": "24348-5",
"tests": [
{
"test_name": "TSH",
"test_code": "3016-3",
"result": 2.35,
"result_unit": "mIU/L",
"reference_range": "0.40-4.50",
"reference_range_low": 0.4,
"reference_range_high": 4.5,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Free T4",
"test_code": "3024-7",
"result": 1.1,
"result_unit": "ng/dL",
"reference_range": "0.8-1.8",
"reference_range_low": 0.8,
"reference_range_high": 1.8,
"flag": "Normal",
"result_status": "Final"
},
{
"test_name": "Free T3",
"test_code": "3051-0",
"result": 2.8,
"result_unit": "pg/mL",
"reference_range": "2.3-4.2",
"reference_range_low": 2.3,
"reference_range_high": 4.2,
"flag": "Normal",
"result_status": "Final"
}
]
}
],
"individual_tests": [],
"microbiology_results": null,
"pathology_info": null,
"critical_values": [],
"calculated_values": {
"egfr": 85,
"ldl_calculated": 133,
"anion_gap": 14,
"bun_creatinine_ratio": 20
},
"interpretation": {
"overall_interpretation": "Comprehensive metabolic panel within normal limits indicating normal kidney and liver function. Lipid panel indicates hyperlipidemia requiring attention. CBC shows no abnormalities. Thyroid function is normal.",
"clinical_comments": [
"Patient fasting status confirmed at time of collection",
"Recommend dietary consultation for lipid management",
"Follow-up lipid panel in 3 months recommended"
],
"follow_up_recommended": "Repeat lipid panel in 3 months"
},
"previous_results": [],
"validation": {
"all_results_final": true,
"critical_values_flagged": false,
"reference_ranges_included": true,
"patient_info_complete": true
}
}Example of comprehensive metabolic panel, lipid panel, and CBC from routine clinical laboratory testing. Demonstrates normal fasting blood work results with standard reference ranges.
Related Templates
CMS-1500 Claim Form Extractor
Extract professional/physician claim data from CMS-1500 (HCFA-1500) forms. Captures patient, provider, diagnosis, procedure, and billing information for claims processing.
Explanation of Benefits (EOB) Extractor
Extract payment and benefit information from Explanation of Benefits statements. Captures claim details, allowed amounts, deductibles, copays, and patient responsibility.
EU European Health Insurance Card Extractor
Extract information from European Health Insurance Cards (EHIC) and UK Global Health Insurance Cards (GHIC). Supports cards from all EU/EEA member states plus Switzerland and UK.
Frequently Asked Questions
What documents can Laboratory Results Extractor process?
The Laboratory Results Extractor template processes healthcare documents including various formats and layouts. See the instructions for specific document types supported.
How accurate is the Laboratory Results Extractor extraction?
The Laboratory Results Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.
Can I customize the Laboratory Results Extractor template?
Yes, you can modify the extraction schema, add custom fields, or adjust the instructions to match your specific requirements.
Start Extracting Data Today
Process your first document in under 5 minutes. No credit card required.