Medisense AI
Medical & Diagnosis reports make sense with AI
Created on 30th August 2025
•
Medisense AI
Medical & Diagnosis reports make sense with AI
The problem Medisense AI solves
People need a simple, safe, and intelligent way to upload their reports, understand them instantly, and get actionable insights without replacing doctors, but making their health journey much clearer and proactive.
Patients and families receive medical reports filled with jargon, scattered numbers, and unstructured information. This makes it hard to track progress, understand risks, or make informed lifestyle changes.
Challenges
Medical reports are filled with technical terms and scattered values, making them confusing for non-medical users.
People often need to depend on repeated doctor visits or manual effort just to understand what their reports mean.
Information about lifestyle, habits, and medical history is stored separately from medical reports — there’s no single place to see a full picture of one’s health.
Without clear insights or early warnings, small issues (like slightly high cholesterol) can be missed until they become serious.
Challenges I ran into
The limitations and scope of the project were huge, but it was not a straight journey in terms of the functional and technical aspects of the building Medisense AI.
Technical Challenges
PDF Worker Integration Issue
One of the biggest challenges was integrating PDF.js inside a modern Vite + React setup. Vite doesn’t support url imports out of the box, which caused repeated errors like:
“Cannot load script at: http://localhost:8080/pdf.worker.min.js”
“Cannot read properties of undefined (reading 'WorkerMessageHandler')”
This blocked file uploads completely at one stage.
Data Parsing & Structure Alignment
Another challenge was mapping raw medical report data (JSON/Text) into our structured health model. Ensuring each parameter (like cholesterol, glucose, blood pressure) mapped consistently across dashboard, reports, and user profile required multiple iterations.
Context & State Management
Designing the HealthContext so reports, summaries, and AI insights all sync properly across the dashboard and other components was tricky. At first, summaries showed up but didn’t update the dashboard — debugging that flow took time.
Functional challenges
Multiple formats of the medical reports analysis
PDF/JSON file formats were easy to integrate and analyze LLMs to provide a summary of the report. But reports that were handwritten, in image format, failed to summarize the reports.
Synchronization of medical, physical, and lifestyle activities with health historical data
Generic models analyze the reports with one shot or two short learning. But including every aspect of the user in the model delays the response and hampers the accuracy.
Overcome
For the PDF worker bug, I used vite-plugin-static-copy and configured Vite to serve the worker correctly, after carefully debugging errors step by step.
For data structure alignment, I iterated on the health.ts model until it could handle AI insights, summaries, and raw parameters smoothly.
For state management, I refactored context and updated types so the dashboard always reflects the most recent analysis.
I leaned on AI-powered tools like Lovable & Windsurf to accelerate debugging, refactoring, and scaffolding code. Instead of getting stuck, I broke problems down, tested fast, and learned from each error.
Tracks Applied (3)
Top 100 Participants
Lovable
All Registered Participants
Windsurf
Vibecoding your Idea | Powered by Rocket.new
Rocket
Technologies used
