RxProfile

Introduction

A friend recently shared a web project with me that allowed users to input data and export it as Word, PDF, and JSON files.

  • Backing up, transferring, and restoring data via JSON files enables seamless data sharing without relying on complex, costly cloud databases like Firestore or setting up real-time sync infrastructure.

Realizing that a local data store could be managed entirely via JSON files while providing clean document exports, I began exploring how to apply this architecture to healthcare.

  • This inspired RxProfile: a PWA designed for healthcare professionals to generate patient medication profiles as PDFs while allowing them to back up patient data locally as JSON files (or sync them via personal cloud storage like Dropbox) for future access.



Prototyping and Refactoring

While using "vibe coding" to set up the core structure of RxProfile was relatively straightforward, new edge cases and requirements constantly emerged.

  • For instance, I needed to expand the available routes of administration to support sublingual formulations, oral drops, and sachets.
  • Adding ophthalmic and otic preparations required introducing specific lateral fields for "left," "right," or "both."
  • I also had to look beyond standard daily dosing frequencies (such as OD, BD, TDS, QID, and PRN) to support complex regimens like alternate-day, weekly, and monthly schedules, alongside short-term courses like acute antibiotic therapy.

Additionally, creating a pre-populated drug database - enabling users to select a medication and automatically fill in default routes, frequencies, indications, and special instructions -proved to be a significant undertaking.



Summary

The core goal of RxProfile is to enable pharmacists across various practice settings to generate a clear medication summary for patients.

  • Patients can carry this profile with them and present it to healthcare providers during emergency care or transitions of care.

To build on this foundation, I later introduced a health metrics tracker.

  • This allows both providers and patients to record key laboratory values and clinical parameters, including fasting blood glucose, lipid panels, blood pressure, and HbA1c.

Comments