Workflows

Building Your Own Remote Patient Monitoring (RPM) App: The HIPAA Guide

Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.

Short answer: Yes, a practice can build its own remote patient monitoring app, but every company that stores, receives or sends the readings for the practice, starting with the device vendor's cloud, needs a BAA (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). Sign those BAAs before the first reading. Then build in the records Medicare lists for RPM billing, including patient consent and days of data (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026).

Remote patient monitoring (RPM) is a natural first app for a physician-builder. The devices are off the shelf, the vendor has an API (a way for software to pull the data), and the missing piece is a dashboard that fits how your nurses actually work: who is out of range, who stopped measuring, whose month is ready to bill. An AI app builder can produce a working version of that dashboard quickly.

Everything flowing through it is protected health information (PHI): names, dates of birth, device serial numbers tied to patients, and a stream of blood pressures, weights and glucose values. RPM also adds two rule sets that a scheduling or intake app never meets: Medicare billing conditions for the monitoring itself, and FDA rules about which devices and software functions count as medical devices.

What the rules say, in their own words (checked November 15, 2026)

How Medicare describes RPM

CMS, the agency that runs Medicare, describes remote monitoring this way:

“Remote monitoring allows a patient to collect their own health data (for example, blood pressure) using a connected medical device that automatically transmits the data to their provider.”

Its December 2025 billing booklet for Medicare lists conditions that shape what your app has to record:

These are Medicare billing conditions, not HIPAA rules. Other payers set their own. Your biller and counsel decide how they apply to you.

What HIPAA says about the companies in between

A business associate is a company that creates, receives, maintains or transmits PHI on your practice's behalf (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026), and your practice needs satisfactory assurance that it will safeguard the data before it handles PHI (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026). That assurance has to be in writing, a business associate agreement (BAA) (HHS, 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026). A company that only stores the data still counts, even if it never looks at it (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026). The exception for pure carriers is narrow: HHS limits it to mere transmission services like the Postal Service or an internet provider, not vendors that maintain PHI (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026). A device company whose cloud keeps every reading is not a carrier.

What FDA says about devices and software

FDA's definition of a device includes an article intended for use in diagnosing disease or other conditions, or in curing, mitigating, treating or preventing disease (How to Determine if Your Product is a Medical Device | FDA, verified November 15, 2026). FDA says to start any device question by defining intended use (How to Determine if Your Product is a Medical Device | FDA, verified November 15, 2026). The 21st Century Cures Act excluded certain software functions, including certain decision support software, from the device definition (Clinical Decision Support Software | FDA, verified November 15, 2026), but FDA's digital health policies still apply to software functions that are devices, including ones intended for patients or caregivers (Clinical Decision Support Software | FDA, verified November 15, 2026). Whether your alert logic or trend flags count as a device function is a question for your counsel, not for this page.

One reading, end to end: where the data goes and which pieces need a BAA

Here is the path a single blood pressure reading takes through a typical physician-built RPM app. Your devices and EHR may differ; trace your own flow against this.

StepWho enters whatWhere it goesBAA needed?
1. EnrollmentStaff enter the patient, diagnosis being monitored, consent date and the device serial numberThe app's databaseYes, with whoever hosts the database. Supabase, for example, needs a signed BAA plus its HIPAA add-on (HIPAA Projects | Supabase Docs, verified November 15, 2026). Serial numbers tied to a patient are identifiers: Safe Harbor de-identification requires removing them (HHS (45 CFR), 45 CFR 164.514 (eCFR), verified November 15, 2026)
2. Reading takenThe patient uses a cuff, scale or glucometer at homeA cellular hub, or the patient's phone over BluetoothDepends on who runs it. A phone app you publish is your app; Apple bars storing personal health information in iCloud (App Review Guidelines - Apple Developer, verified November 15, 2026)
3. Vendor cloudNobody; the device uploads automaticallyThe device company's platformYes. It maintains PHI for you (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026) and is not a mere carrier (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026)
4. Into your appThe vendor sends each reading to your app (a webhook) or your app pulls itYour hosting and databaseYes for hosting. Vercel signs BAAs with eligible Pro and Enterprise customers (Vercel, Security & Compliance Measures, verified November 15, 2026); AWS presents a standard BAA (HIPAA Compliance - Amazon Web Services (AWS), verified November 15, 2026) and PHI may go only into its eligible services (HIPAA Compliance - Amazon Web Services (AWS), verified November 15, 2026)
5. AlertThe app flags a reading above your thresholdText or email to the nurse, sometimes to the patientYes, whenever the message or the recipient identifies a patient. Twilio requires Security or Enterprise Edition for a BAA (Twilio and HIPAA, verified November 15, 2026); Twilio says not to use SendGrid for anything involving PHI (Twilio SendGrid, Is SendGrid HIPAA Compliant?, verified November 15, 2026)
6. ReviewA nurse or physician reviews trends, calls the patient, documentsApp dashboard, notes, sign-in serviceYes for sign-in. Clerk's terms bar PHI without its Subcontractor BAA (Clerk Standard Terms and Conditions, verified November 15, 2026); Google's table shows no BAA coverage for Firebase Authentication (Google / Firebase, Differences between Identity Platform and Firebase Authentication | Google Cloud Documentation, verified November 15, 2026)
7. Monthly summaryAn AI model drafts a trend summary for the chartAI model APIYes. OpenAI's API needs a BAA plus Modified Retention (HIPAA eligible products and functionality | OpenAI Help Center, verified November 27, 2026); Anthropic's API needs a signed BAA and a HIPAA-enabled organization (Anthropic, API and data retention - Claude Docs, verified November 15, 2026)
8. EHR and billingThe note and readings go to the chart; the app counts days of data per patient per 30 daysEHR, then claimsConfirm your EHR BAA covers any new interface. Any new connector or billing service in between needs its own

To see which of your current services have a BAA path, run your stack through the Stack Checker or look each vendor up in BAA Matrix. Vendor-by-vendor detail is in the Twilio guide, the AWS guide and the OpenAI API guide.

What this means for your app

The device is the part you bought. The connections the AI builder wrote around it are the part you own. In a vibe-coded RPM app, PHI tends to hide here:

  • The device vendor's own dashboard. A practice may sign up for a device platform's portal on a self-serve account during a pilot. If that platform holds readings, it needs a BAA like any other vendor (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). Ask before the first patient goes home with a cuff.
  • The webhook endpoint. To receive readings, the builder writes a small piece of server code (a function). While debugging, that code may print each incoming reading. On Vercel, the logs include anything functions print with console.log, from both test (preview) and live (production) versions (Vercel, Runtime Logs, verified November 15, 2026), so every reading can land in logs as well as the database.
  • The serial-number table. The table that maps each device to a patient is PHI. So is a spreadsheet of shipped devices with home addresses.
  • Alert texts. A text that reads BP 188/112 with a patient name sits on a phone lock screen and in the texting provider's logs. Twilio treats only texts to or from US area codes as HIPAA eligible (Architecting for HIPAA on Twilio, verified November 15, 2026), and its Debugger activity log may expose PHI to staff who can sign in to the Twilio Console (Architecting for HIPAA on Twilio, verified November 15, 2026).
  • The patient phone app. If patients log readings in your own app, it is a published health app. Google Play classifies remote monitoring apps from providers as medical apps (Google, Health app categories and additional information - Play Console Help, verified November 15, 2026), and Apple requires disclosure and explicit permission before personal data goes to third parties, including third-party AI (App Review Guidelines - Apple Developer, verified November 15, 2026).
  • The builder chat. Pasting a real export of last month's readings to test the trend chart puts PHI in the builder. Lovable, for example, says it does not currently sign BAAs and tells customers not to upload PHI (Lovable for Enterprise - Lovable Documentation, verified November 15, 2026). Use synthetic readings.
  • Threshold logic. A rule that turns a reading red is clinical logic. If it starts recommending treatment, the FDA intended-use question above applies. Read clinical safety review for AI-built tools before go-live.

If your EHR already offers a monitoring module, read build around the EHR, not instead of it. A thin worklist on top of the EHR may beat a second copy of every reading.

Safeguards specific to an RPM app

These are the RPM-specific controls to have in place before the first enrolled patient. The general list is in the HIPAA checklist for vibe-coded apps.

  1. A BAA with the device platform first. Then one with every service the readings pass through after it: database, hosting, sign-in, texting, AI.
  2. Verified intake. The web address that receives readings (the webhook) accepts only encrypted connections (HTTPS) and only messages it can confirm came from your device vendor. The readings themselves are never written to logs.
  3. A silence alarm. A device or feed that stops sending is a clinical event. The worklist should show who has gone quiet, not just who is out of range, and staff should know whether quiet means the patient stopped measuring or your pipeline broke.
  4. Content-free alerts. The text says a patient needs review and links to sign-in. No name, no value. Minimum necessary applies (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026).
  5. Billing fields in the data model. Consent date, established-patient status and a per-patient count of days with data in each 30-day window, since CMS ties billing to these (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026) (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026). Flag patients another practice may already be billing, because only one practitioner can bill per 30-day period (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026).
  6. Role-based access and an access log. Nurses see their panel; billing staff see what billing needs (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026). The app records who opened each patient's readings (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026), and someone reviews those records regularly (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026).
  7. A device record for each model. Keep the FDA status of each device you hand out, since CMS requires that the device meet FDA's definition (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026).
  8. A clinical safety review of thresholds and AI summaries. Who chose the cutoffs, who sees the alert after hours, and what the AI summary is allowed to say.

If your RPM program also runs video check-ins, read building your own telehealth visit app. If patients will message the care team from the same app, read building your own patient portal.

How this goes wrong: eleven quiet days and a texting account from the pilot

Imagine a four-physician internal medicine practice that enrolls hypertension patients with cellular blood pressure cuffs. One physician builds the dashboard in an AI builder and hosts it on Vercel. The device vendor sends each reading to a webhook the builder wrote, and a rule texts the on-call nurse whenever a reading tops 180/110. To get it working fast, the alert runs through a self-serve Twilio account opened during the prototype. Twilio offers a BAA only on Security or Enterprise Edition (Twilio and HIPAA, verified November 15, 2026), and no one upgraded. Each text includes the patient's name and the reading.

A month later the physician asks the builder to restructure the app. Republishing the app changes the webhook address. The vendor keeps sending to the old address, which now rejects every reading. For eleven days no readings arrive. The dashboard shows no new readings, which staff read as patients forgetting to measure. One patient's cuff recorded several readings above the threshold in that window; nobody saw them until the vendor's support team emailed about failed deliveries.

Reconnecting the feed surfaces two more problems. The webhook code had printed every incoming reading while the physician debugged it, and Vercel's logs captured names and readings from preview and production alike (Vercel, Runtime Logs, verified November 15, 2026). And the month's billing report counts days of data from the app's database, so the eleven missing days change which patients meet the day thresholds CMS describes (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026).

The HIPAA questions are for the practice and its counsel. Texts with names and readings went through a service without a BAA. An impermissible disclosure is presumed to be a breach unless a risk assessment shows a low probability the PHI was compromised (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026), and the practice carries the burden of proof (HHS (eCFR), 45 CFR 164.414 -- Administrative requirements and burden of proof., verified November 15, 2026). The silent eleven days are a clinical safety problem no BAA would have caught. Both came from the same place: a working prototype treated as production.

RPM in your specialty

The flow above applies everywhere. What changes by specialty is the device, the thresholds and who watches the alerts. Read the version closest to your practice:

There are no specialty-by-workflow pages for RPM yet. The closest are the alert-channel guides for patient messaging in concierge practices and patient messaging in GLP-1 clinics.

Keep, refactor, or rebuild?

Verdict: Refactor

Keep the dashboard, worklist and nurse workflow your team already likes. Refactor everything that carries readings: the device platform agreement, the webhook, the database, the alert texts and the AI summary call. Add what a prototype skips, a silence alarm and the consent and days-of-data records, because no vendor swap supplies those for you.

The worklist, trend charts and nurse workflow can usually stay. What changes is underneath: the device platform, database, hosting, sign-in and texting all move under BAAs, the webhook is rewritten to verify its sender and stop logging readings, and the app gains a silence alarm and the billing fields CMS expects.

A rebuild makes sense when the dashboard lives on a platform that will not accept PHI and cannot hand you its code and data in a usable form. Then the current app becomes the specification. Keep, refactor or rebuild walks through that decision.

Frequently asked questions

Do I need a BAA with the RPM device company?

If its platform stores or transmits readings for your practice, it fits the definition of a business associate (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). Storing the data is enough even if the company never looks at it (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026), and HHS keeps the carrier exception narrow (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026). Get the BAA before patients go home with devices.

Can my RPM app use a consumer fitness tracker or smartwatch?

For Medicare billing, CMS says the device must meet FDA's definition of a medical device (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026). Check each model's FDA status before you build around it. If you read data from Apple Health in your own iPhone app, Apple bars storing personal health information in iCloud (App Review Guidelines - Apple Developer, verified November 15, 2026).

Is my RPM dashboard a medical device?

It depends on intended use, which FDA says to define first (How to Determine if Your Product is a Medical Device | FDA, verified November 15, 2026). Some decision support software is excluded from the device definition (Clinical Decision Support Software | FDA, verified November 15, 2026), but FDA's digital health policies still apply to software functions that are devices (Clinical Decision Support Software | FDA, verified November 15, 2026). A plain display of readings and a tool that recommends dose changes are different questions. Ask counsel.

What does the app need to track for Medicare RPM billing?

Among the conditions CMS lists: consent at the time of service (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026), an established patient relationship (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026), days of data in each 30-day period (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026), and whether another practitioner bills for the same patient (CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025), verified November 15, 2026). Confirm codes and documentation with your biller.

Can alert texts include the reading?

Keep values and names out. Practices must limit PHI to the minimum necessary (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026), and a text saying a patient needs review, with a sign-in link, does the job. The texting service still needs a BAA; Twilio requires Security or Enterprise Edition for one (Twilio and HIPAA, verified November 15, 2026).

Does the FTC Health Breach Notification Rule apply to my RPM app?

Not to your practice as a HIPAA covered entity, or to a vendor acting as your business associate (Federal Trade Commission, eCFR :: 16 CFR Part 318 -- Health Breach Notification Rule, verified November 15, 2026). The rule covers non-HIPAA vendors of personal health records, and its definition of health apps includes connected devices that track vital signs (Federal Trade Commission, eCFR :: 16 CFR Part 318 -- Health Breach Notification Rule, verified November 15, 2026). See FTC rule fines for health apps.

Palo Alto Health Labs Fabrica

Keep building. We make it safe.

Already have patients sending readings into an app you built? A short call can trace where each reading goes today and what has to change before the next alert fires.

Fabrica moves the patient data in your vibe-coded app into an environment your practice owns, built for HIPAA compliance, with a BAA. You keep building in the tool you already use. Start with a 30-minute call about what you have built and where patient data goes today.

See how Fabrica works and book a 30-minute call

Please do not send patient information when you get in touch. The call is a conversation, not an audit or legal advice.

Sources

Every vendor statement on this page comes from the vendor's own terms, documentation or trust pages, or from the regulator, opened and read on the date shown. Vendor terms change; confirm the current version and your own signed agreement before relying on it. This page is general information, not legal advice.

  1. HHS (eCFR), 45 CFR 160.103 -- Definitions.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  2. CMS, Telehealth & Remote Monitoring, MLN Booklet MLN901705 (December 2025). Checked November 15, 2026. Page dated 2025-12.
  3. HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  4. HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566. Checked November 15, 2026. Page dated 2013-01-25.
  5. How to Determine if Your Product is a Medical Device | FDA. Checked November 15, 2026. Page dated 2022-09-29.
  6. Clinical Decision Support Software | FDA. Checked November 15, 2026. Page dated Content current as of 01/29/2026.
  7. HIPAA Projects | Supabase Docs. Checked November 15, 2026. Page dated Updated Oct 30, 2026.
  8. HHS (45 CFR), 45 CFR 164.514 (eCFR). Checked November 15, 2026.
  9. App Review Guidelines - Apple Developer. Checked November 15, 2026. Page dated Last Updated: October 16, 2026.
  10. Vercel, Security & Compliance Measures. Checked November 15, 2026. Page dated Last updated September 8, 2026.
  11. HIPAA Compliance - Amazon Web Services (AWS). Checked November 15, 2026.
  12. Twilio and HIPAA. Checked November 15, 2026.
  13. Twilio SendGrid, Is SendGrid HIPAA Compliant?. Checked November 15, 2026. Page dated dateModified 2026-07-23 (page metadata).
  14. Clerk Standard Terms and Conditions. Checked November 15, 2026. Page dated October 1, 2026.
  15. Google / Firebase, Differences between Identity Platform and Firebase Authentication | Google Cloud Documentation. Checked November 15, 2026. Page dated Last updated 2026-11-12 UTC.
  16. HIPAA eligible products and functionality | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 5 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-10).
  17. Anthropic, API and data retention - Claude Docs. Checked November 15, 2026.
  18. Vercel, Runtime Logs. Checked November 15, 2026. Page dated dateModified 2026-08-28 (per page metadata).
  19. Architecting for HIPAA on Twilio. Checked November 15, 2026. Page dated Last Updated: June 30, 2026.
  20. Google, Health app categories and additional information - Play Console Help. Checked November 15, 2026.
  21. Lovable for Enterprise - Lovable Documentation. Checked November 15, 2026.
  22. HHS (eCFR), 45 CFR 164.312 -- Technical safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  23. HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  24. HHS (eCFR), 45 CFR 164.402 -- Definitions.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  25. HHS (eCFR), 45 CFR 164.414 -- Administrative requirements and burden of proof.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).
  26. Federal Trade Commission, eCFR :: 16 CFR Part 318 -- Health Breach Notification Rule. Checked November 15, 2026. Page dated eCFR text up to date as of 2026-11-12.
  27. Federal Trade Commission, eCFR :: 16 CFR Part 318 -- Health Breach Notification Rule. Checked November 15, 2026. Page dated eCFR text up to date as of 2026-11-12.