01
Why medication data is harder than it looks
The same drug can be described as a brand, a generic, an ingredient, a strength-and-form combination or a specific package. A pharmacy label, an EHR order, a claims record and a patient typing into an app will each name it differently. Without a normalization strategy, lists never reconcile.
Patients also take things that are not on any list: over-the-counter products, supplements, samples and medicines prescribed by other clinicians. Adherence is behavioral, so reminders alone seldom change it. Add regulated content such as drug interaction databases, and the product has both clinical and legal exposure.
- Medication histories from different sources conflict, and dose instructions are free text more often than structured.
- Interaction and allergy checking requires maintained, licensed clinical content, not a hand-built table.
- Over-alerting causes alert fatigue, which is its own safety problem.
- Caregiver and multi-user households need role-based access that respects privacy.
02
What a medication management app can do
Medication list and reconciliation
A single patient medication list assembled from the EHR, pharmacy fill history and patient entry, with a clear status for each item: active, stopped, changed or unverified. Clinicians and pharmacists confirm discrepancies in a reconciliation view.
Reminders and adherence tracking
Flexible schedules (daily, as needed, tapering, weekly injections), snooze and skip reasons, caregiver notifications and refill-due prompts. We keep reminder content discreet by default on the lock screen.
Refills and pharmacy connection
Refill requests routed to a pharmacy or prescriber, with status tracking and delivery or pickup information, designed around your pharmacy partners' interfaces.
Medication safety checks
Duplicate therapy, allergy and interaction checks using a licensed knowledge base, with severity filtering that your clinical lead approves, and pharmacist review for higher-risk cases.
Specialty and chronic therapy support
Injection training, dose logs, prior authorization status and side-effect reporting for specialty programs, tied to chronic disease management workflows.
03
Medication management architecture and drug data
The core design decision is a canonical medication model keyed on RxNorm. RxNorm, maintained by the National Library of Medicine, assigns normalized concept identifiers (RxCUI) to ingredients, clinical drugs and branded products, and links them to many source vocabularies. We map every incoming drug to an RxCUI and keep the original source code and text next to it, so nothing is lost when mapping is ambiguous.
The National Drug Code (NDC), published in FDA's NDC Directory, identifies a specific labeler, product and package. It is the key you meet in pharmacy fills and claims. NDCs appear in 10-digit formats (4-4-2, 5-3-2 or 5-4-1) and an 11-digit 5-4-2 form used in billing, so normalization code must handle padding correctly. NDC-to-RxCUI mapping is a lookup, not a calculation, and some NDCs map poorly or are inactive.
In practice we run an ingestion service that normalizes sources into FHIR MedicationRequest, MedicationStatement, MedicationDispense and MedicationAdministration resources, backed by PostgreSQL. A terminology service wraps RxNorm release files and the NLM RxNav APIs, with a local copy for uptime. Reminder scheduling runs in a job queue with time zone and daylight saving handling, and delivers through APNs, FCM and SMS, with delivery receipts stored for audit.
04
Regulatory and security notes for medication software
HIPAA applies if you act for a covered entity, such as a pharmacy, provider or plan, in which case a BAA and Security Rule safeguards are required. Direct-to-consumer apps may fall under the FTC Health Breach Notification Rule and state privacy laws instead. Hosting choice alone does not create compliance.
Electronic prescribing of controlled substances is regulated by the DEA, whose rules require identity proofing, multi-factor authentication and an application that meets the DEA's technical requirements. If your product creates or transmits prescriptions, it enters that world. Many teams instead integrate a certified e-prescribing component rather than building one.
Software that recommends a dose or acts as an interaction decision tool may be a regulated device or may fit the clinical decision support exception, depending on its design and users. We document intended use and flag these features early.
05
E-prescribing, pharmacy and EHR integrations
- NCPDP SCRIPT is the standard for electronic prescribing messages between prescribers and pharmacies in the US. Most teams connect through an e-prescribing network or a certified vendor and do not implement SCRIPT directly. Version requirements change over time, so we confirm the current required version with your network partner.
- FHIR R4 medication resources and US Core profiles for EHR exchange, covered in FHIR integration services and EHR/EMR integration services.
- Pharmacy fill and benefit data through intermediaries and pharmacy APIs, managed under healthcare API integration.
- FDA DailyMed and openFDA for label content, and licensed interaction databases for safety checks.
- Smart pill dispensers and connected devices via medical device integration.
06
How we build medication products
Scope and data sources
We define which medication sources are authoritative and what the app may and may not do. Deliverable: a source-of-truth matrix and an intended-use statement.
Terminology and mapping
Mapping rules, unmatched-drug handling and test sets built from fictional but realistic medication histories.
Build and clinical review
Pharmacist or clinician review of reminders, alerts and wording before each release.
Pilot and monitor
Measure reminder delivery, mapping failure rate and user-reported errors, then adjust.
07
Medication management use cases
- A pharmacy app that shows fill history, sends refill reminders and supports delivery tracking.
- A post-discharge program where nurses reconcile medications within a set number of days after a hospital stay.
- A specialty drug support app with injection training, dose logs and side-effect reporting.
- An older-adult caregiver app with shared schedules and missed-dose notifications.
- A clinical trial companion for dosing diaries, built for life sciences sponsors.
08
Medication app cost and timeline factors
Licensed drug content, pharmacy integrations and clinical review drive cost more than UI does. Treat the ranges as planning estimates that depend on scope, not quotes.
| Scope tier | Typical timeline | Main cost drivers |
|---|---|---|
| Reminder and list app | 2 to 4 months | Schedule engine, notifications, basic RxNorm lookup |
| Reconciliation with EHR and pharmacy data | 5 to 8 months | FHIR integration, mapping rules, pharmacist review tools |
| Pharmacy or e-prescribing platform | 9 to 14 months or more | Network integration, safety content licensing, security review |
Frequently asked questions
What is the difference between RxNorm and NDC?
RxNorm normalizes drug concepts, such as an ingredient, strength and form, into RxCUI identifiers. An NDC identifies a specific labeled product and package from a specific manufacturer. You usually map NDCs from pharmacy and claims data to RxNorm so that different sources of the same drug can be compared.
Can we build our own drug interaction checker?
We advise against it. Interaction data requires clinical curation and constant updates. Licensed knowledge bases exist for that reason. We integrate one, let your clinical lead tune alert severity, and plan for override logging. Whether the feature is regulated depends on how it is presented and who uses it.
Do we need to implement NCPDP SCRIPT ourselves?
Usually not. Most products connect to an e-prescribing network or a vendor that handles SCRIPT messaging and pharmacy routing. You still need to understand message types and error handling. Controlled substances add DEA requirements, so confirm them with your vendor and counsel.
Is a medication reminder app a medical device?
A simple reminder or log generally is not. Features that calculate doses, adjust therapy or interpret data to guide treatment may be. Intended use and claims decide, so we document them early and review borderline features against FDA's published policies.
Can the app work offline?
Yes. Schedules and recent medication lists can be stored encrypted on the device, with local notifications that fire without a connection. Edits sync later, and conflicts are flagged for review rather than silently overwritten.
Sources and further reading
- NLM: RxNorm overview
- FDA: National Drug Code Directory
- HealthIt.gov: e-prescribing and interoperability
- HL7 FHIR R4: Medication resources
This page is general information, not legal or regulatory advice. Requirements depend on your product, data and organization; consult qualified counsel for your situation.