Medical malpractice closed claim reporting

Insurance United States

Checks a medical professional liability insurer’s closed claims before they’re reported to a state, then sums them into summary tables and line 2 of the Schedule T reconciliation: every claim’s NPDB provider, facility and allegation codes, the injury, its dates, how and when the claim was disposed of, the indemnity and defence costs, and the verdict for claims decided at trial.

From the codebook in the NAIC’s Guideline for Implementation of Medical Professional Liability Closed Claim Reporting (GL-1077), for the states that collect closed claim reports, such as Missouri, Illinois, Iowa, Connecticut and Massachusetts.

Medical malpractice closed claim reporting
Rules, test data, expected summaries and a pipeline snapshot. Zip, 88 KB.
Download the template

See it in Quantemplate

The pipeline

The medical malpractice closed claims pipeline in Quantemplate, showing 11 of its 12 stages: Prepare closed claims, Claim keys, Claims by identifier, Claims by incident, the two joins, Check closed claims and the summary stages by severity of injury, allegation group, disposition and indemnity paid. The Uploads tab lists the test file, uploaded to stage 1.

The validations

The test run’s Validations tab: the one rule set, 01 Closed claims in the Check closed claims stage. Its bar is mostly red for failures, with a little yellow for warnings and green for rows that pass, as the test file is built to fail every rule.

Claims by severity

Stage 8’s summary of the clean data by severity of injury: one row for each of 9 severity codes, with the number of closed claims, claims with indemnity, and the indemnity paid, economic and non-economic indemnity and total defence costs. The two claims with major permanent injuries, code 7, were paid $5,500,000, and the one death, code 9, $900,000. The one claim for an insignificant temporary injury, code 2, was paid nothing but cost $3,200 to defend.

What it checks

68 rules 60 Fail 8 Warning

A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Warnings are only reported. Validation never removes a row. Every rule and its formula is listed in VALIDATIONS.md in the download.

How the pipeline works

  1. Stage 1 Prepare closed claims Detect headers and tidy the file: trim, collapse spaces and upper-case
  2. Stage 2 Claim keys Set the reporting state and period, work out each date’s year, month and day, key each claim by its claim and incident identifiers, and label the severity, allegation group, disposition, timing and indemnity range
  3. Stages 3–4 Counts Count the claims with each claim identifier, and the companion claims in each incident with their highest and lowest severity and gender
  4. Stages 5–6 Joins Join both counts to each claim
  5. Stage 7 Check closed claims Turn blank counts into 0 and run the rules
  6. Stages 8–11 Summaries Count the claims and the paid claims, and add up the indemnity and defence costs, by severity of injury, allegation group, disposition and timing, and indemnity paid
  7. Stage 12 Schedule T reconciliation Count the paid claims and add up their indemnity, for line 2 of the guideline’s Schedule T reconciliation form

What’s in the download

The guideline isn’t included. Download the Guideline for Implementation of Medical Professional Liability Closed Claim Reporting from the NAIC, and your state’s form or instructions from its insurance department.

Build it

  1. Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
  2. With Claude in Chrome signed in to Quantemplate, ask Claude Code:
    Build the medical malpractice closed claim reporting pipeline from the med-mal-closed-claims folder.
  3. Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 2 minutes.

The agent builds through the Quantemplate app’s own API in your browser. That API isn’t published, so if a release changes it, the build stops and tells you what went wrong. Review what the agent builds before you rely on it.

Using real claims

Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.

Limits