DEV Community

Cover image for 🩺 How I Built MedicOS to Reduce Drug Errors
Artak Matiniani
Artak Matiniani

Posted on

🩺 How I Built MedicOS to Reduce Drug Errors

Ever since I left medicine to become a developer, I dreamed of building something that could help doctors and patients at the same time. MedicOS is that dream taking shape.

In Georgia, many patients see doctors too late — with advanced conditions that require multiple medications. This means doctors must juggle polypharmacy, and even the best doctors can struggle to catch every drug interaction.

That’s where MedicOS comes in.

What is MedicOS?
It’s a Django-based medication safety assistant that checks for drug interactions using OpenFDA, suggests alternatives, and reminds patients to take their medications through text or voice messages. I wanted patients to stay on track, and doctors to prescribe more confidently.

API integrations
One of the biggest wins was integrating with OpenFDA. They offer a huge amount of structured data, which made building the drug safety checks much faster. Storing patient medication lists securely was also crucial — PostgreSQL gave me a solid, reliable backend for this.

Voice reminders with Polly
I learned that many elderly patients struggle with text reminders. So I used AWS Polly to generate voice messages. That was my first time working with async Python — sending messages and transcribing them without blocking the system. It was a mind-expanding moment, even if a bit scary at first.

What I learned about data structure and flow
MedicOS taught me how critical it is to keep the data simple and predictable. From normalizing drug entries, to mapping side effects, to handling multilingual voice instructions — every layer had to flow seamlessly. PostgreSQL schemas, Django models, and message queues all had to align.

Was it hard?
Of course — I’m human, and the bugs were relentless. But every bug taught me something.

How I feel
Pride. Pure pride. Watching MedicOS come alive and do exactly what I imagined feels incredible. It wasn’t stressful — it was a pleasure. I got to blend my medical knowledge with my engineering skills and create something that might, one day, actually save lives.

👉 If you could automate one thing in healthcare, what would it be? I’d love to hear your ideas — maybe they’ll spark my next project.

Top comments (2)

Collapse
 
dotallio profile image
Dotallio

Adding voice reminders for elderly patients is spot on. If I could automate one thing, it’d be real-time insurance eligibility checks so people can get care faster - have you thought about touching that next?

Collapse
 
arttheache98 profile image
Artak Matiniani

Actually I haven't. It's a great idea!