Insurance document handling

Medical Data Extraction for Insurance Claims and Underwriting

Datagrid Team·Published ·Last updated on ·5 min read
Medical Data Extraction for Insurance Claims and Underwriting

Medical data extraction pulls specific clinical and billing fields from medical records, such as diagnoses, procedures, medications, lab results, and service dates, and turns them into structured data that claims or underwriting systems can use. Automated medical record extraction uses software that reads faxed, scanned and electronic records, then validates each value before release.

Underwriters, claims examiners, and nurse reviewers already pull these fields by hand from attending physician statements (APS) and other records, and their judgment drives each decision. The slow part is finding and rekeying values spread across long, mixed-format files, where one medication history may span a faxed clinic note, a pharmacy printout, and a discharge summary. Extraction automation takes over that step of medical records processing, so the reviewer starts from organized evidence.

The sections that follow show which fields come from which documents, how faxed and scanned records become structured fields, how accuracy is checked, and where extraction fits in underwriting, claims, and policy work.

Which Fields Come From Which Medical Documents

Each document type in an insurance file carries a predictable set of fields, so extraction can be set up one document type at a time:

Document

Fields Typically Extracted

Attending Physician Statement and Clinical Notes

Diagnoses, medications, procedures, treatment history, physician observations, visit dates

Lab Reports

Test name, result value, unit, reference range, collection date, ordering provider

Claim Forms

Patient and provider identifiers, diagnosis codes, procedure codes, service dates, charges

Itemized Bills

Line items, codes, charges, dates of service

Discharge Summaries

Admission and discharge dates, principal diagnosis, procedures, discharge medications

Pharmacy Records

Drug name, dose, frequency, fill dates, prescriber

Diagnosis and procedure fields follow standard vocabularies. The Centers for Medicare & Medicaid Services (CMS) overview of coding systems describes International Classification of Diseases (ICD-10) codes for diagnoses and hospital inpatient procedures, and Current Procedural Terminology (CPT) codes for services and procedures.

Standard claim forms, such as the CMS-1500 professional claim form and the UB-04 uniform billing form used for institutional claims, have fixed layouts. Those fixed layouts make claims form processing more predictable than reading clinical narratives, where the same diagnosis can appear as a code, a full name, or an abbreviation.

How Automated Medical Record Extraction Works

A typical extraction run moves through the stages below, starting with a faxed or scanned record and ending with structured fields, each tied to the page it came from.

Intake and Classification

AI data extraction for healthcare faxes starts by splitting the file into separate documents and labeling each page by type, such as APS, lab report, or bill, because faxed records usually arrive as one long image PDF with no text layer. Intake also keeps each document's pages together, so a lab table stays connected to its collection date. Next comes patient verification, which matches name, date of birth, and policy number on each document so values from another person's record never reach the file.

Because these files carry protected health information (PHI), intake should run in an environment where PHI is encrypted, access is logged, and access is limited to the roles that need it. For health plans and other entities covered by the Health Insurance Portability and Accountability Act (HIPAA), access should also follow the minimum necessary standard, and any vendor handling the files should have business associate agreement (BAA) terms in place where they apply.

Text Recovery With OCR

Optical character recognition (OCR) converts each page image into machine-readable text after cleanup steps that straighten skewed pages and remove fax noise. Most character errors come from handwritten notes, low-resolution faxes, and stamps over text. Those errors carry into every later step, so fields from those pages should get lower confidence scores.

Field Extraction

Extraction software, often called a medical record parser, then identifies clinical entities in the text and links related values, such as a medication to its dose or a lab value to its unit and date. Rule-based patterns work well for fields with a fixed format, such as dates and codes. Language models handle narrative text and context spanning several pages, such as a medication started on one page and discontinued on another.

For a faxed APS, the structured output for a reviewer might look like this illustrative record:

Field

Extracted Value

Source

Diagnosis

Type 2 diabetes mellitus (ICD-10 code as recorded, if present)

Page 14

Medication

Metformin 500 mg, twice daily

Page 22

Lab Result

HbA1c 7.2%, with collection date and reference range

Page 31

Procedure

None found in record

Flagged for review

The source column lets a reviewer quickly confirm any value, and the flag shows where the record may be incomplete.

How Extraction Accuracy Is Checked

Check extraction output before it reaches an underwriting, claims, or policy system, because accuracy varies by field type. In a 2026 proof-of-concept study in the Journal of Medical Internet Research on German discharge letters, physicians reviewing 30 real-world letters rated a fine-tuned model's extractions correct for 93.0% of medication cases but only 61.3% of procedure cases. The authors describe it as a single-site study, and the result reminds us to measure each field type separately.

Four checks cover the main sources of error:

  • Deterministic checks: Dates must parse and fall in a plausible order, diagnosis and procedure codes must exist in the approved code sets, and lab values must keep their units and reference ranges.

  • Confidence thresholds by field and source: Fields from handwritten or degraded pages, and high-impact fields such as diagnoses, should route to review at stricter thresholds.

  • Source references: Every value should link to its page and passage, because language models can produce content that reads correctly but is not in the source. A 2025 clinicians' guide to large language model hallucinations notes that models may generate nonfactual content without flagging it.

  • Sampling against a reviewed baseline: Compare extracted fields with records experienced reviewers have already processed by hand. Track precision (the share of extracted values that are correct) and recall (the share of true values the system found) for each field type, starting with a record type that has fixed fields, such as lab reports, before free-form physician narratives.

Medical Data Extraction in Insurance Workflows

The same pipeline feeds three insurance workflows, and each workflow sets its own review triggers.

Underwriting and APS Review

Extraction gives an underwriter reviewing a long APS a source-linked summary of diagnoses, medications, procedures, and treatment history, so the risk review starts from the evidence. Those fields then feed insurance document review across the rest of the application, such as checking the applicant's disclosures against the APS. Conflicting entries and low-confidence fields go to the underwriter or a nurse reviewer, who makes the risk decision.

For a specific question, such as which records mention a given medication, an underwriter can ask Datagrid's Fast Search Agent and get an answer with its sources listed.

Medical Claims Extraction With AI

Medical claims extraction with AI pulls codes, service dates, and provider details from bills and clinical notes into a single structure, then checks them against business rules before they enter claims workflows. Layouts differ by provider, so a parser that reads one hospital's bills well needs testing on others. An automated fraud flag sends the claim to a qualified reviewer, who makes any fraud or denial decision.

Before extraction starts, Datagrid's Audit Agent can check each claim file against the insurer's required-document checklist and return a gap list, so a missing itemized bill surfaces early.

Policy Administration

An extraction workflow can compare new physician notes, lab results, and medication changes with the prior record and pass the differences into the policy team's policy document processing queue. This post-issue comparison matters for lines that review medical evidence after a policy is issued, such as reinstatements or changes to disability and long-term care coverage. The comparison works best when the prior record uses the same field definitions. Policy changes based on ambiguous evidence should require human confirmation.

Extract Medical Record Fields for Review With Datagrid's AI Agent

Datagrid's AI agents can process faxed, scanned, and digital records and prepare structured, source-linked fields for underwriting and claims reviewers:

  • Page classification and grouping: Split mixed fax PDFs into document types and keep each document's pages together.

  • Field extraction with source references: Pull diagnoses, medications, lab values, codes, and dates, each linked to the page it came from.

  • Rule-based validation: Check dates, code formats, units, and required fields against the insurer's rules.

  • Exception routing: Send low-confidence or conflicting values to a named reviewer by email, Slack, or Microsoft Teams.

  • Structured output: Deliver reviewed fields as a spreadsheet or file a downstream system can import.

Underwriting and claims decisions, including any fraud finding, stay with qualified reviewers.

Get started with Datagrid by extracting one batch of lab reports, a record type with fixed, predictable fields.

Frequently Asked Questions About Medical Data Extraction

What Is a Medical Record Parser?

A medical record parser is software that reads a medical document and breaks its text into labeled fields, such as diagnosis, medication, dose, lab value, and date. Parsers combine OCR for scanned pages with rules and language models for narrative text.

How Does Medical Data Extraction Work for Faxed Records?

The system splits a faxed record into documents, cleans it, and converts it to text using OCR. The system then extracts clinical fields, validates them against code sets and format rules, links them to their source pages, and sends low-confidence values to a reviewer.

What Types of Data Are There in Healthcare?

Healthcare records contain clinical data, such as diagnoses, medications, lab results, and physician notes, as well as administrative and billing data, including patient and provider identifiers, dates of service, procedure codes, and charges. They arrive as electronic health records (EHRs), PDFs, faxes, handwritten notes, claim forms, and bills, and paper charts often require digitization before any fields can be extracted.

Can Medical Data Extraction Make Underwriting or Claims Decisions?

No, it prepares structured, source-linked evidence for the people who make those decisions. Qualified reviewers should make underwriting, denial, and fraud determinations.

Agents in this guide

Works with

Related articles

You've got more important things to do. Let Datagrid handle the rest.

Watch our quick demo to see how Datagrid transforms workflows. Discover the seamless integration of our AI assistants in real-time tasks.