From Paper to Structured JSON: An Agentic Workflow for Compliant BMR Digital Transformation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Agarwal, Bhavik, Bendre, Nidhi, Rojkova, Viktoria
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909984325894144
author Agarwal, Bhavik
Bendre, Nidhi
Rojkova, Viktoria
author_facet Agarwal, Bhavik
Bendre, Nidhi
Rojkova, Viktoria
contents Pharmaceutical manufacturers generate thousands of batch manufacturing records (BMRs) each year under FDA 21 CFR Part 211 and EU GMP rules. These long documents combine tables, calculations, images, and handwritten notes, and are usually digitized by hand with hours of expert review per record. We present an AI workflow that converts unstructured BMRs into structured JSON using token based chunking, parallel large language model extraction, and a fixed schema that covers 11 content types while preserving the original Group-Phase-Step hierarchy. The system applies three layers of validation (JSON syntax, structural integrity of classes and references, and pharmaceutical compliance checks aligned with GMP) and reports coverage metrics for text, tables, images, and calculations. On three real BMRs between 15 and 66 pages, it achieves composite confidence scores in the low to high eighties while reducing processing time from hours to minutes on a single GPU. This enables practical, human in the loop BMR digitization at scale and unlocks historical manufacturing data for downstream analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2601_04368
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle From Paper to Structured JSON: An Agentic Workflow for Compliant BMR Digital Transformation
Agarwal, Bhavik
Bendre, Nidhi
Rojkova, Viktoria
Digital Libraries
Pharmaceutical manufacturers generate thousands of batch manufacturing records (BMRs) each year under FDA 21 CFR Part 211 and EU GMP rules. These long documents combine tables, calculations, images, and handwritten notes, and are usually digitized by hand with hours of expert review per record. We present an AI workflow that converts unstructured BMRs into structured JSON using token based chunking, parallel large language model extraction, and a fixed schema that covers 11 content types while preserving the original Group-Phase-Step hierarchy. The system applies three layers of validation (JSON syntax, structural integrity of classes and references, and pharmaceutical compliance checks aligned with GMP) and reports coverage metrics for text, tables, images, and calculations. On three real BMRs between 15 and 66 pages, it achieves composite confidence scores in the low to high eighties while reducing processing time from hours to minutes on a single GPU. This enables practical, human in the loop BMR digitization at scale and unlocks historical manufacturing data for downstream analysis.
title From Paper to Structured JSON: An Agentic Workflow for Compliant BMR Digital Transformation
topic Digital Libraries
url https://arxiv.org/abs/2601.04368