How to Build a Medical App in 2026: Users, PHI, FDA and EHRs

In this article
- Four answers shape a medical app more than any feature list: who the user is (patient, clinician or both), whether it touches PHI, whether it is a medical device in the FDA’s eyes, and whether it reads or writes EHR data.
- Most healthcare apps are not medical devices. Scheduling, records access, messaging and billing are not. Software that diagnoses, treats or drives clinical decisions can be, and the intended use you write down decides it.
- EHR integration in the US runs on FHIR APIs and SMART on FHIR. Certified EHRs must offer standard APIs, but each health system still approves your app on its own calendar.
- A HIPAA patient app usually takes 4–7 months, an EHR-integrated clinical platform 7–12 months, and FDA-regulated software 12–24 months.
Jump to
- Start with four decisions
- How to build a medical app, step by step
- Is your app a medical device?
- EHR integration: FHIR, SMART and site approvals
- What you build and what you rent
- Architecture rules for a medical app
- What goes into the first version
- Timeline and budget at a glance
- Mistakes that cost the most later
- Medical app readiness checklist
- Where Gilzor fits
Start with four decisions
A medical app is not one product category. A symptom diary, a doctor appointment app and an insulin dose calculator all count, and they live under very different rules.
Four questions sort them out:
- Who is the user? Patients, clinicians, caregivers or staff. Each role needs its own screens, permissions and often its own app.
- Does it touch PHI? If a covered entity or its vendor stores health data tied to a person, HIPAA applies. Consumer apps may fall under the FTC instead.
- Is it a medical device? Software that diagnoses, treats or drives clinical decisions can be regulated by the FDA.
- Does it read or write EHR data? Integration with hospital records means FHIR, SMART on FHIR and a security review at every site.
Your answers usually place you in one of four product types:
- Examples: doctor appointment apps, patient portals, medication reminders, lab results, care plans.
- You rent: HIPAA-eligible hosting, messaging and email under BAAs, payments, sometimes a scheduling engine.
- You build: the patient journey, booking and intake, notifications without PHI, a staff console.
- Watch out: patients forgive slow features, not lost appointments. Sync with the clinic's schedule is the real work.
- Examples: clinical documentation, care coordination, referral management, rounding and task apps.
- You rent: EHR APIs and developer programs, single sign-on, speech or AI services under BAAs.
- You build: a workflow that saves clinicians clicks, a FHIR integration layer, role-based access, audit trails.
- Watch out: clinicians won't switch windows. If it doesn't launch inside the EHR, adoption suffers.
- Examples: blood pressure and glucose programs, post-surgery follow-up, wearable-based stress or sleep tracking.
- You rent: devices or a device data platform, Apple HealthKit and Android Health Connect, cellular-connected hubs.
- You build: pairing and sync, thresholds and alerts, a clinician dashboard, time tracking if the program bills for monitoring.
- Watch out: Bluetooth pairing and background sync fail in ways no simulator shows. Test on real phones and real devices early.
- Examples: image analysis that flags findings, dose calculators, digital therapeutics, diagnostic algorithms.
- You rent: less. A regulatory consultant, a quality management system tool, clinical study partners.
- You build: the software under design controls, risk management files, verification and validation evidence.
- Watch out: adding a clinical claim late turns an app into a device. Decide the intended use before the first sprint.
Each type has its own budget band. The tier check in our healthcare app development cost guide places your idea in one and shows the range.
How to build a medical app, step by step
Eight steps, ordered so the regulated questions are settled before anyone designs a screen. The same order works for a healthcare app of any size.
- Write the intended use in one paragraphWho uses it, for what, and what it does not do. "Helps patients book and prepare for lab visits" is a scope. This paragraph later decides whether the FDA has a say, so write it carefully and keep it.
- Map the roles and the workflowSit with the people who will use it: a nurse, a front desk lead, a patient with the condition. Draw the journey from first contact to follow-up. Most medical apps have three or more roles, and each needs different screens and permissions.
- Classify the dataList every field you will store and mark which ones are PHI. Decide what stays on the phone, what goes to your servers, and what never leaves the EHR. This drives your HIPAA scope and your vendor list.
- Get a regulatory read on clinical featuresIf any feature scores, flags, recommends or calculates something clinical, ask a regulatory specialist whether it is a device function. The answer can move your timeline by a year.
- Pick your integration pathDecide which EHRs, labs, devices or pharmacies you connect to in version one. Register in the EHR developer programs and test in sandboxes early. Production access comes later and slower.
- Design for each role and for accessibilityPatients may be older, anxious or unwell. Clinicians are busy and interrupted. Follow WCAG for contrast, text size and screen readers, and test with real users in each role.
- Build in thin slices with security from sprint oneAccess control, audit logging and encryption go in with the first feature, not before launch. Retrofitting them means touching every endpoint twice.
- Pilot with one clinic or one health systemReal workflows expose what interviews missed: double bookings, shared devices at the nurse station, patients without email. Fix those, then sign the next site.
Is your app a medical device?
This is the question with the biggest price tag, so answer it on paper first. The FDA regulates software as a medical device when it is intended to diagnose, cure, mitigate, treat or prevent a disease or condition. Intended use is judged by what you claim, in the app, on the store listing and in your marketing.
Most healthcare software sits outside that line:
- Not devices: scheduling, billing, records access, secure messaging, telehealth visits, care team coordination.
- General wellness: low-risk apps that support a healthy lifestyle, such as sleep, stress or activity tracking, without disease claims. FDA's general wellness policy covers these.
- Enforcement discretion: some low-risk tools that technically meet the device definition, such as apps that help patients self-manage a condition without suggesting treatment changes. FDA's policy on device software functions and mobile medical apps lists examples.
- Clinical decision support: software that gives recommendations to clinicians can fall outside device rules if it meets the criteria in FDA's clinical decision support guidance. A key one: the clinician can review the basis for the recommendation and doesn't rely mainly on the software.
- Devices: software that analyzes images or signals, calculates doses, or tells patients to change treatment. These need a regulatory pathway such as 510(k), De Novo or premarket approval, plus design controls and a quality system.
FDA and HIPAA rules depend on your exact intended use, claims and business relationships, and FDA updates its digital health guidance from time to time. Confirm your classification with a regulatory specialist and your data obligations with healthcare counsel before you build clinical features.
EHR integration: FHIR, SMART and site approvals
If your app needs records, orders or results from a hospital, you will integrate with an EHR. In the US that now starts with FHIR.
The 21st Century Cures Act pushed the industry here. Certified EHRs must offer standard FHIR APIs for patient and clinical data, and the information blocking rules discourage health systems and vendors from unreasonably blocking access to electronic health information. In practice that means you can get the data. It doesn't mean you get it fast.
- FHIR R4 and US Core. The data model most US EHRs expose: patients, encounters, conditions, medications, observations, appointments. Map to it once in your own integration layer.
- SMART on FHIR. An authorization standard based on OAuth 2.0. An EHR launch opens your app inside the clinician's EHR with the patient already selected. A standalone launch lets a patient connect your app to their portal account.
- Scopes. Ask for the minimum data you need. Health system reviewers notice broad scopes, and so do patients on the consent screen.
- Sandbox to production. The vendor sandbox works in days. Each health system then runs its own security questionnaire, approval and testing. Budget months per site, and start the first one early.
- Older interfaces. Some workflows, such as lab orders and results, still run on HL7 v2 messages through an interface engine. Ask early which one your partner uses.
What you build and what you rent
Healthcare teams that ship on time rent the commodity parts under signed agreements and build the workflow that makes the product worth using.
| Layer | Usually rented | Usually built |
|---|---|---|
| Hosting | HIPAA-eligible cloud services under a BAA | Your environment setup, network rules, backups and monitoring |
| Identity | An auth service with MFA, SSO for clinician accounts | Roles, permissions per clinic, proxy access for caregivers |
| EHR data | EHR vendor APIs, sometimes an integration platform | A FHIR mapping layer, sync rules, conflict handling |
| Communication | SMS, email, video and chat providers that sign BAAs | Message templates without PHI, consent and opt-out logic |
| Devices | Device makers' SDKs, HealthKit, Health Connect | Pairing, sync, thresholds, alerts, the clinician dashboard |
| Clinical content | Licensed drug, terminology or education databases | How content appears in your flow, and who can edit it |
Every vendor that stores or processes PHI for you needs a business associate agreement. Our guide on how to build a HIPAA compliant app covers the vendor list and the safeguards in detail.
Architecture rules for a medical app
Medical apps fail in quiet ways: the wrong patient's result, a reminder that leaks a diagnosis, a sync that drops one record a week. These rules prevent most of it.
- Roles first. Model patients, clinicians, staff, caregivers and admins explicitly, with permissions per organization. A clinician at clinic A must never see clinic B's patients.
- PHI in as few places as possible. One encrypted store, one API in front of it. Notifications, logs, analytics and crash reports carry IDs, not health details.
- One integration layer. All EHR, lab and device data passes through a single service that maps it to your model and records where each value came from.
- Patient matching you can explain. Never match records on name alone. Use stable identifiers from the source system, and send uncertain matches to a human queue.
- Audit everything that touches PHI. Who viewed or changed which record, when, from where. Clinics and their auditors will ask for it.
On stack: native Swift and Kotlin when you rely on Bluetooth devices or deep platform features; React Native or Flutter for most patient and staff apps. A relational database, a typed backend and separate environments with synthetic data only.
What goes into the first version
A medical MVP should do one clinical job end to end for one type of organization. A typical split:
| At launch | Can wait |
|---|---|
| Accounts for each role with MFA for staff | Caregiver and proxy access, if patients are adults |
| The core workflow: booking, intake, results or monitoring | A second workflow for another specialty |
| Reminders and notifications that contain no PHI | Rich in-app messaging with attachments |
| Read access to one EHR, or a manual import path | Write-back to the chart and a second EHR vendor |
| Admin console with audit log | Self-serve reporting for clinic managers |
| Accessibility basics: text size, contrast, screen readers | Multi-language support beyond English and Spanish |
If you only need the patient side to start, a cross-platform app plus a web console is usually enough. Our mobile app development cost guide compares native and cross-platform budgets.
Built by Gilzor
Results we’ve shipped




Talk to the people who build it. Tell us about your project and get a free estimate of scope, timeline and cost.
Timeline and budget at a glance
A wellness app that stores no PHI can start around $40k and 3–5 months. EHR-integrated platforms typically run $250k–600k, and medical device software usually passes $500k. US onshore agencies quote about 2–2.5 times these figures. The full breakdown, hidden costs and a calculator are in our healthcare app development cost guide.
Mistakes that cost the most later
- Clinical claims in marketing that the product team didn't plan for. A landing page that says "detects" or "diagnoses" can change how the FDA views your software. Keep marketing copy in line with the intended use.
- Building for clinicians without clinicians. A workflow that adds clicks gets abandoned within weeks. Put a practicing clinician in every design review.
- Treating the EHR integration as an API call. The code takes weeks. Approvals, data mapping and testing at each site take months.
- PHI in push notifications. "Your HIV test result is ready" on a locked screen is a disclosure. Say "You have a new message" and show details after login.
- One database user for everything. Shared credentials make audit logs useless. Every person and service gets its own identity.
- Skipping the pilot. Launching to ten clinics at once multiplies every workflow bug by ten, with ten support channels.
Medical app readiness checklist
Tick what is already true. It shows how close you are to putting the app in front of patients or clinicians.
Medical app readiness
FAQ
How do I build a medical app?
How long does it take to build a healthcare app?
How much does it cost to build a medical app?
How do I build a doctor appointment app?
How do I build a SMART on FHIR app?
Does my medical app need FDA approval?
Where Gilzor fits
We design and build healthcare software: native and cross-platform mobile apps, web portals, integrations and QA. For a US blood testing laboratory, our team built native iOS and Android apps plus web apps that connect patients, doctors and phlebotomists from online consultation to results, working with US attorneys on HIPAA authorization. For a mental health startup, we built a mobile app that reads heart rate and breathing from wearables over Bluetooth Low Energy and suggests calming exercises. We work from Poland and Cyprus, with a few shared hours a day with the US East Coast.
Send us your intended use, the roles who will use the app and the systems it must connect to. We'll help you answer the four scoping questions and cut a first version one clinic can pilot.
No sales pitch
Get a straight answer for your project
Tell us what you’re building. We’ll reply with options, a rough cost and timeline. If we’re not the right fit, we’ll say so.

CTO of Gilzor. Responsible for architecture and the engineering standards our teams work by.
LinkedIn →Gilzor · Mobile Development partner
Need a team for your mobile app?
Services
Mobile DevelopmentNative and cross-platform iOS and Android apps, from MVP to scale.→By company type
Selected projects






The team behind them





