· 13 min read

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

Two healthcare apps can look alike on the screen and differ by a year and half a million dollars underneath. One books visits. The other suggests a dose. The difference is decided by four questions most teams answer too late: who the user is, whether the app touches patient data, whether the FDA sees it as a device, and whether it has to talk to hospital systems. Here is how to answer them first and build a medical app in the order that avoids rework.
A phone with a heart rate line, a medical cross shield and a hospital record card connected by arrows, illustrating how to build a medical app
Building a medical app?Tell us who will use it and what data it touches. We’ll map the PHI, FDA and EHR questions and a first version you can launch with one clinic.
Scope my medical app

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:

  1. Who is the user? Patients, clinicians, caregivers or staff. Each role needs its own screens, permissions and often its own app.
  2. 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.
  3. Is it a medical device? Software that diagnoses, treats or drives clinical decisions can be regulated by the FDA.
  4. 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.

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
Four questions that set the scope of a medical app Who is the user? roles and apps Does it touch PHI? HIPAA or FTC Is it a device? FDA or not Talks to an EHR? FHIR, SMART Patients, clinicians, caregivers, staff: one app per role? If yes: HIPAA scope, BAAs, audit logs, encryption If yes: FDA pathway, design controls, quality system If yes: FHIR APIs, SMART launch, per-site approvals Your tier: wellness, HIPAA patient app, EHR-integrated platform or medical device software Each "yes" adds a workstream with its own experts and calendar. Answer all four before design starts.
Every "yes" on the orange row adds a parallel workstream. Teams that find out in month four pay for the rework; teams that ask in week one plan for it.

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.
General information, not legal advice

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.

LayerUsually rentedUsually built
HostingHIPAA-eligible cloud services under a BAAYour environment setup, network rules, backups and monitoring
IdentityAn auth service with MFA, SSO for clinician accountsRoles, permissions per clinic, proxy access for caregivers
EHR dataEHR vendor APIs, sometimes an integration platformA FHIR mapping layer, sync rules, conflict handling
CommunicationSMS, email, video and chat providers that sign BAAsMessage templates without PHI, consent and opt-out logic
DevicesDevice makers' SDKs, HealthKit, Health ConnectPairing, sync, thresholds, alerts, the clinician dashboard
Clinical contentLicensed drug, terminology or education databasesHow 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 launchCan wait
Accounts for each role with MFA for staffCaregiver and proxy access, if patients are adults
The core workflow: booking, intake, results or monitoringA second workflow for another specialty
Reminders and notifications that contain no PHIRich in-app messaging with attachments
Read access to one EHR, or a manual import pathWrite-back to the chart and a second EHR vendor
Admin console with audit logSelf-serve reporting for clinic managers
Accessibility basics: text size, contrast, screen readersMulti-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

70+products launched
98%delivered on time
85%clients come back
Art Scherbakov, Co-FounderAndrew Laminsky, CTOYuri Rudenya, Head of Mobile Development at GilzorAlena Timofeeva, Product Marketing Lead

Talk to the people who build it. Tell us about your project and get a free estimate of scope, timeline and cost.

See how we’d approach yours

Timeline and budget at a glance

4–7 moHIPAA-compliant patient app MVP
7–12 moEHR-integrated clinical platform
$100–250kHIPAA patient app with a Central European or Latin American team
12–24 moFDA-regulated software as a medical device

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?
Start with the user and the job: patients booking care, clinicians documenting it, or a team monitoring patients at home. Then answer three scoping questions: does the app store or send protected health information (HIPAA), is any feature a medical device under FDA rules, and does it need to read or write EHR data through FHIR. Those answers set the architecture, vendors, timeline and budget. Validate the workflow with real clinicians, design for each role, build in thin slices with security in place from the first sprint, and launch with one clinic or one health system before you scale.
How long does it take to build a healthcare app?
A wellness app that stores no protected health information usually takes 3–5 months. A HIPAA-compliant patient app MVP takes about 4–7 months, and an EHR-integrated clinical platform 7–12 months, because each health system runs its own security review and integration testing. Software regulated by the FDA as a medical device usually needs 12–24 months including design controls, validation and FDA review.
How much does it cost to build a medical app?
With a Central European or Latin American team, a wellness app starts around $40k, a HIPAA-compliant patient app typically costs $100k–250k, an EHR-integrated clinical platform $250k–600k, and FDA-regulated software as a medical device $500k–1.5M or more. US onshore agencies usually quote 2–2.5 times more. Our healthcare app development cost guide breaks this down with a calculator.
How do I build a doctor appointment app?
A doctor appointment app needs provider schedules with visit types and durations, real-time availability, booking with patient intake, reminders, rescheduling and cancellation rules, and a staff view for the front desk. If it stores who booked which visit with which doctor, that is usually protected health information, so plan for HIPAA. The hard part is syncing with the practice management system or EHR the clinic already uses, so check its scheduling API before you design the booking flow.
How do I build a SMART on FHIR app?
Register your app in the EHR vendor’s developer program, choose the launch type (inside the EHR for clinicians, or standalone for patients), and implement the SMART authorization flow, which is based on OAuth 2.0, with only the scopes you need. Read and write data through the FHIR R4 API using the US Core profiles. Test against the vendor sandbox, then plan for each health system’s own approval, security review and production credentials, which take far longer than the code.
Does my medical app need FDA approval?
Only if a feature meets the definition of a medical device: software intended to diagnose, cure, mitigate, treat or prevent a disease or condition. Administrative, scheduling, records and general wellness features are not devices. Some clinical decision support tools fall outside device rules if they meet FDA’s criteria, including that a clinician can independently review the basis for each recommendation. If you plan clinical logic, get a regulatory opinion before you build it. This is general information, not legal advice.

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.

Next, a few optional questions so the first call is useful. We use your details only to reply to your request. Privacy Policy

Andrew Laminsky
Written byAndrew Laminsky

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?

95%referred by business partners
70+successful launches
85%repeat business
98%delivered on time

The team behind them

Art Scherbakov
Art ScherbakovCo-Founder
Andrew Laminsky
Andrew LaminskyCTOLinkedIn
Yuri Rudenya
Yuri RudenyaHead of Mobile Development at GilzorLinkedIn
Alena Timofeeva
Alena TimofeevaProduct Marketing LeadLinkedIn
Tell us what you’re buildingOptions, a rough cost and timeline for your project. No commitment.

More insights