Multimodal Optical Document Parsing and Semantic Equivalence Mapping for Accessible Healthcare Formulations
Prescription interpretation in outpatient clinical settings is frequently hindered by non-standard physician handwriting, unstructured layouts, optical noise, and proprietary pharmaceutical branding. These barriers exacerbate dispensing errors and inflate patient healthcare expenditures, particularly where bioequivalent generic formulations are available at a fraction of branded costs. In this paper, we introduce SERVE (Scalable Equitable Rx-Vector Engine), an end-to-end multimodal document intelligence and semantic retrieval framework designed to parse noisy prescription imagery, extract active pharmaceutical ingredients (APIs), and map them to verified, cost-optimal generic therapeutic equivalents. The proposed architecture integrates an adaptive computer vision preprocessing pipeline (CLAHE and radon-transform deskewing) with a fine-tuned layout-aware transformer (LayoutLMv3) for joint spatio-textual token classification. Extracted pharmaceutical entities are resolved against a canonical pharmacopeial knowledge graph via BioBERT dense semantic embeddings and FAISS vector similarity indexing. Benchmarked across synthetic and real-world clinical documents, our framework achieves an OCR Word Error Rate reduction from 34.2% to 11.8%, an active ingredient NER F1-score of 0.892, and a semantic equivalence mapping accuracy of 94.7%. The platform operates with sub-420ms inference latency, demonstrating an average therapeutic substitution cost reduction of 58.4% across monitored clinical trials.
Authors
- suryansh
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24687933
- Primary Topic
- Handwritten Text Recognition Techniques
- Type
- preprint