Rule engines check claims against fixed conditions. Document-level AI looks inside the medical records, bills and photos behind each claim. Most insurers and TPAs end up using both. This page explains the difference and where each fits.
Medically reviewed by Dr. N. S. Santosh Varma, MBBS, FIIM, FIDM, FICCM · Medical Officer, YIRA MedSense · Updated 14 October 2026
Rules are fast and transparent for known patterns. Document-level AI adds checks that rules cannot do, because rules only see structured claim fields.
| Question | Rule-based engine | Document-level AI (e.g. YIRA MedSense) |
|---|---|---|
| What it looks at | Structured claim fields: codes, amounts, dates, provider IDs | The documents themselves: medical histories, lab reports, bills, tariffs and photos |
| Typical checks | Amount limits, frequency rules, code combinations, waiting periods | Field-by-field match with prior records, ID photo vs hospital photo, bill lines vs agreed tariff |
| Reused or recycled documents | Not visible unless someone re-keys them | New documents compared with earlier records; matches flagged |
| Identity substitution | Not visible | Face comparison between ID photo and hospital photo, with a confidence score |
| New patterns | Need a new rule written by hand | Flags come from comparing documents, not from a fixed rule list |
| Explainability | Very clear: rule X fired | Shows which fields matched and which prior records were found |
| Final decision | Investigator | Investigator — flags start a review, they are not a fraud finding |
Forged or edited document detection is not part of the standard MedSense product today; it can be built as a scoped custom module.

Keep the rules you trust for known patterns, and add document-level checks for what rules cannot see.
Fast, cheap filters for limits, waiting periods and code combinations.
Prior-record matching and identity checks on the medical documents.
Flags from both feed one queue for your fraud team.
Confirmed cases help you tune rules and review priorities.
These patterns are hard to see from claim fields alone.
The same lab report or bill submitted again with small changes.
A different person treated under the insured member's policy.
Bill lines above the rate agreed for that room category.
The same episode claimed through different channels.
A rule-based system checks each claim against fixed conditions written by the insurer or TPA, such as amount limits, how often a procedure can be claimed, or invalid code combinations, and flags claims that break a rule.
Document-level AI reads the medical documents and photos behind the claim. It can match new documents against earlier records, compare the patient's face with the ID photo and check bill lines against the agreed tariff, which rules on claim fields cannot do.
Usually not. Rules stay useful for known patterns. Document-level AI adds checks on the paperwork itself. Most teams run both and send all flags to one investigator queue.
No. YIRA MedSense flags matches and risks for investigators. A field match is not a fraud determination; your team decides.
Tampering and forgery checks can be built for your requirements as a scoped custom module. They are not part of the standard MedSense product today.
Across insurance operations, MedSense has flagged more than 5,000 cases for review and parsed more than 100,000 medical documents.
See MedSense on the documents and fields that matter to your claims team.