Prescription
Overview
EkaCare’s prescription parsing solution leverages its customised vision-LLM to accurately extract structured data such as symptoms, diagnosis, medical history, vitals and medications. Designed specifically for the Indian healthcare ecosystem our solution offers high level of accuracy and doesn’t involve human in a loop.
This service offers:
- Extraction of symptoms, diagnosis, medical history, vitals, lab investigations, medications, advices etc.
- Linking of concepts with SNOMED-CT identifiers
- Linking of medications with unified EkaCare identifiers
- Output as HL7 FHIR document
- Ability to work with PDFs as well as scanned / clicked images of prescriptions
Example**
Use Cases
1. HealthCare providers
- Better clinical decision making leveraging comprehensive 360 degree view of patient’s health based on the past prescriptions.
2. Health Insurance Companies
- Streamlining the processing of prescriptions submitted during insurance claims.
- Automate fraud detection by validating extracted prescription data.
- Health profiling based on historical medical encounters.
3. Personal Health Record (PHR)
- Comprehensive health view based on past prescription data.
- Improved awareness and management of health data.
Technology Deep-Dive
Our prescription parsing technology is powered by or custom Large Language Models (LLMs), specifically trained on millions of anonymized medical documents. These documents span diverse formats and contexts, with a particular focus on the Indian healthcare ecosystem. Our models understand drug names which are specific to India, something that SOTA models such as GPT-4o and Sonnet 3.5 fails often.
Our rigorous training and fine-tuning process ensures exceptional accuracy while minimizing common pitfalls like hallucinations that often impact other SOTA LLMs. The result is a highly reliable system, as demonstrated in the benchmarks provided in the subsequent section.
Our process consists of two core steps:
1. Medical Information Extraction:
Extracting structured medical entities such as condition and medications from unstructured or pseudo-structured PDFs or images.
2. Medical Entity Linking:
Assigning SNOMED-CT identifiers to the extracted medical concepts. This is what enables interoperability and interpretability of this rich medical data.
Evaluation and Benchmarks
Our benchmark experiments with evaluation dataset comprising thousands of documents showcase Eka’s superior performance in terms of accuracy compared to other SOTA models. NOTE this evaluation dataset contains both PDF and clicked images.
Task | Parrotlet-V (Eka Care’s LLM) | OpenAI GPT-4o | Claude Sonnet 3.5 | Qwen2-VL (7B) | Llama-3.2-Vision (11B) | Phi-3.5-vision (4.2B) |
---|---|---|---|---|---|---|
Prescription parsing | 0.921 | 0.853 | 0.867 | 0.630 | 0.593 | 0.433 |
A deeper view on results of these experiments are summarised below.
Field Name | Parrotlet-V | GPT-4o | Claude Sonnet 3.5 |
---|---|---|---|
drug_name | 0.92 | 0.848 | 0.892 |
drug_generic | 0.886 | 0.879 | 0.898 |
drug_dosage | 0.828 | 0.658 | 0.629 |
drug_duration | 0.903 | 0.904 | 0.913 |
drug_frequency | 0.904 | 0.792 | 0.761 |
medication_time | 0.838 | 0.648 | 0.605 |
diagnosis | 0.955 | 0.907 | 0.934 |
labtests | 0.93 | 0.868 | 0.908 |
symptoms | 0.953 | 0.909 | 0.954 |
medical_history | 0.972 | 0.921 | 0.936 |
findings | 0.937 | 0.946 | 0.944 |
current_medication | 0.99 | 0.946 | 0.967 |
advice | 0.884 | 0.737 | 0.815 |
family_history | 0.995 | 0.981 | 0.987 |
Average | 0.921 | 0.853 | 0.867 |
Spotlight
Try Out
Experience the power of EkaCare’s prescription parsing with our developer-friendly API.
- Visit our API Documentation to get started.
- Upload a sample prescription and see our technology in action.
- Contact us for a custom demo tailored to your use case.
Ready to unlock the full potential of prescription data? Get in Touch today.