Specialty × workflow
Messaging Patients About CPAP Compliance: The Texts Your Sleep App Sends Are a Medical Record
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: CPAP compliance texts and patients' replies are PHI, and when they inform decisions such as a mask change or the re-evaluation note, they can fall within the designated record set a patient may ask to see. Send them through a vendor under a BAA, save every message in your covered database, and let your privacy officer define the record.
The first three months of CPAP are when sleep practices text patients most. How many hours did you use it last night? Is the mask leaking? Is your mouth dry? Patients answer with numbers, complaints and photos of red marks on the bridge of the nose. Staff change a mask, adjust humidity or flag the chart for the physician.
A self-built app makes this easy to automate. It also makes it easy to treat the thread as chatter rather than clinical documentation. This page explains why we treat these texts as part of the medical record, where they travel, and what to change compared with the general messaging app walkthrough. For every app a sleep practice builds, start with the sleep medicine HIPAA guide.
One adherence thread, from the machine's cloud to the re-evaluation note
It starts with a usage number. A connected PAP machine can report nightly hours, mask leak and residual events to its maker's cloud, where the practice and the equipment supplier may both look (the coverage side is in CPAP coverage checks and DME verification). The app reads those numbers, by export or integration, and decides whom to text. A rule such as under four hours two nights running sends a nudge.
The outbound text can carry the data itself. A message reading You used your CPAP 2.1 hours last night tells anyone who sees the lock screen the person has a sleep disorder and how treatment is going. Shared family phones and phone backups make that wider than it looks.
The replies are clinical. Patients write back that the mask hurts, that they pull it off at 3 a.m., that a bed partner says the snoring is gone, or that they feel less sleepy at work. Some send photos of pressure marks or of the mask on their face. Each reply lands in the texting vendor first, then in whatever the app does with its webhook (the address where the vendor delivers incoming messages): a database table, a staff inbox screen, an email alert, or nowhere.
Then the thread becomes the basis for decisions. A technologist swaps a nasal mask for a full-face mask because of a text. The physician reads the thread before the follow-up visit, where, for continued coverage under traditional Medicare, the treating practitioner must document that the patient is benefiting (CMS, Positive Airway Pressure (PAP) Devices for the Treatment of Obstructive Sleep Apnea (L33718), verified December 3, 2026). The symptom answers in the thread may be the best evidence of benefit the practice has.
A second sender texts the same patient. The equipment supplier runs its own messages about supplies and refills. Patients often reply to whichever number texted last, so practice questions reach the supplier and supply questions reach the practice.
What HIPAA, Medicare and the FCC say, in their own words (checked December 3, 2026)
Why we call the thread a medical record
For this question, the HIPAA term that matters is the designated record set: the records a patient can ask to see, copy and amend. For a provider it includes medical and billing records, and records used, in whole or in part, to make decisions about individuals (HHS, 45 CFR 164.501 Definitions, verified November 27, 2026). HIPAA then defines record broadly:
“For purposes of this paragraph, the term record means any item, collection, or grouping of information that includes protected health information and is maintained, collected, used, or disseminated by or for a covered entity.”
A text thread with a patient's usage numbers and complaints, held by your practice, fits that definition of record. When staff change a mask or a physician writes the re-evaluation from it, it is being used to make decisions. That is our reading, not a legal ruling: your privacy officer decides what your designated record set contains, and should write the decision down.
If a thread is inside it, the patient's rights follow it. You must act on an access request no later than 30 days after receiving it (HHS (eCFR), 45 CFR 164.524 -- Access of individuals to protected health information., verified November 15, 2026), in the electronic form the patient asks for if readily producible (HHS (eCFR), 45 CFR 164.524 -- Access of individuals to protected health information., verified November 15, 2026). And the patient has the right to have it amended for as long as it is kept in the designated record set (HHS (eCFR), 45 CFR 164.526 -- Amendment of protected health information., verified December 3, 2026).
What Medicare counts as adherence
“Adherence to therapy is defined as use of PAP ≥4 hours per night on 70% of nights during a consecutive thirty (30) day period anytime during the first three (3) months of initial usage.”
The objective adherence evidence must be reviewed by the treating practitioner (CMS, Positive Airway Pressure (PAP) Devices for the Treatment of Obstructive Sleep Apnea (L33718), verified December 3, 2026). Supply refills sit with the supplier, which must document its own contact to verify a refill is needed (CMS (eCFR), 42 CFR 410.38 -- Durable medical equipment, prosthetics, orthotics and supplies (DMEPOS): Scope and conditions, verified December 3, 2026).
The FCC's limits on automated health texts
Automated texts from a provider to a mobile number may rely on an FCC exemption for healthcare providers. Under it, “Voice calls and text messages are strictly limited to those for the following purposes: appointment and exam confirmations and reminders, wellness checkups, hospital pre-registration instructions, pre-operative instructions, lab results, post-discharge follow-up intended to prevent readmission, prescription notifications, and home healthcare instructions;” (FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions, verified December 3, 2026) A provider relying on it may initiate only one message per day per patient, up to three per week (FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions., verified November 15, 2026), must keep texts generally to 160 characters or less (FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions., verified November 15, 2026), and must honor opt-outs immediately (FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions., verified November 15, 2026). Whether your app relies on this exemption, and whether an adherence nudge fits one of the listed purposes, is a question for counsel. This is a telephone rule, not a HIPAA rule.
The texting vendor
Twilio says HIPAA-regulated customers building workflows with PHI must execute its BAA (Twilio and HIPAA, verified November 15, 2026). It also offers message body redaction:
“Enabling Message Body Redaction will prevent the entire message body from being otherwise available in the console, APIs, or Twilio internal support systems after messages are transmitted.”
What this means for a sleep practice's messaging app
Your database is the record, not the vendor's log. Body redaction is a good privacy setting, and it means the vendor will not be your archive. Save every message, both directions, in your BAA-covered database, tied to the patient, with time, sender and channel. Treat edits as you would chart edits: systems holding ePHI need audit controls that record activity (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026).
Nudges point to the app, not the numbers. Your weekly CPAP check-in is ready works on any lock screen. The hours, leak and events show after sign-in.
Cadence is a design decision. A rule that texts after every short night can send seven messages a week. If counsel says you rely on the FCC exemption, cap the schedule in code, not in a staff memo.
Photos come by upload. Full-face photographs are on HIPAA's list of identifiers (HHS (eCFR), 45 CFR 164.514 -- Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026), and Apple's iPhone guide says SMS and MMS conversations are not protected from being read by others as they are sent (Apple, iMessage overview - iPhone User Guide, verified November 27, 2026). Ask for mask photos through a signed-in upload into covered storage.
Each sender stays in its lane. Practice messages say who they are from and handle clinical questions. Supply reorders go to the supplier. When a clinical complaint reaches the wrong sender, the app needs a way to log it in the patient's record.
If an AI drafts the replies, the model must sit under a BAA too; see the OpenAI API and the Anthropic API pages.
How this goes wrong: the leak complaints that only existed at the texting vendor
Hypothetical. Imagine a sleep physician who vibe codes a CPAP coach. Each morning it reads last night's hours from the machine maker's export and texts anyone under four hours. The practice signed Twilio's BAA and turned on message body redaction, as a careful builder would. Replies arrive by webhook and show up in a staff inbox screen that reads them as they come in. The coding agent never added a table to store them. The app keeps only a delivery receipt for each message.
For six weeks one patient replies most mornings. The full-face mask leaks at the top. She wakes with a dry mouth. A respiratory therapist answers, sends a nasal pillow mask in week three, and her hours rise. She mentions she no longer dozes at her desk.
At the day 80 visit the physician opens the inbox to write the re-evaluation. The thread is empty: the inbox screen was showing live data, and with redaction on, the vendor no longer makes the bodies available. The note says hours improved, with no record of the leak, the mask change or her sleepiness report.
Two months later she asks for a copy of everything, including the messages that led to the mask change. The practice cannot produce them. Whether those texts were part of its designated record set is now a question with no good answer, because they no longer exist anywhere. The privacy officer and counsel decide what follows. The fix was one table and one write per message.
What a sleep practice adds to the messaging checklist
- Write down the record decision. With your privacy officer, decide which message types are in the designated record set: adherence nudges, patient replies, staff responses, photos. Record the decision and its date.
- Store both directions, permanently linked to the patient. Save the full body on receipt, before anything else runs. Sent messages are saved at send time, not reconstructed from vendor logs.
- Build the export now. A single action that produces a patient's full thread, with times and senders, in a readable electronic format, so an access request can be answered within 30 days.
- Support amendments. A patient who says a reply was misread gets a linked note, never an edited original.
- No usage numbers in the text body. Hours, leak and events stay behind sign-in.
- Cap the cadence in code. Set a daily and weekly limit per patient that counsel has approved, and log every opt-out the moment it arrives.
- Mask photos by upload only. Reply to any photo text with a link to the upload screen.
- Flag replies that change care. A one-tap mark on a reply that led to a mask, pressure or humidity change, so the physician sees it before the re-evaluation.
- Label the sender and route supply questions. Every message names the practice. A reply about resupply goes to the supplier by your agreed route, with only what the supplier needs.
- Turn off email copies of replies. Staff alerts say a reply is waiting and link to the app.
Related sleep medicine and messaging guides
The same patient's data moves through scheduling sleep studies online, delivering sleep study results and AI documentation for sleep medicine. For how other specialties handle texting, compare texting DPC members and weight-loss progress texts. Vendor options are in texting apps that sign a BAA and whether Twilio signs a BAA.
Keep, refactor, or rebuild?
A CPAP messaging app can usually keep its triggers and templates. The refactor is in what it stores and sends: full message bodies in a BAA-covered database tied to each patient, no usage numbers in text bodies, a coded cadence cap, and photos by upload. If months of replies already exist only at the texting vendor, or not at all, talk to your privacy officer before you change anything.
The coaching rules and the message templates usually stay. What gets refactored is the storage underneath: every message saved in your covered database, an export for access requests, cadence limits in code, and photos moved to upload. The keep, refactor or rebuild guide walks through the decision.
Frequently asked questions
Are CPAP compliance text messages part of the medical record under HIPAA?
They can be. HIPAA's designated record set includes records used to make decisions about individuals (HHS, 45 CFR 164.501 Definitions, verified November 27, 2026), and a record is any grouping of information with PHI that the practice maintains, collects, uses or disseminates (HHS (eCFR), 45 CFR 164.501 -- Definitions, verified December 3, 2026). Your privacy officer decides what your set contains; build as if the texts are in it.
Is it a HIPAA problem to text a patient their CPAP hours?
The hours are PHI once tied to the patient. Send texts through a vendor that has signed a BAA with you, such as Twilio under its BAA (Twilio and HIPAA, verified November 15, 2026), and keep the numbers behind sign-in rather than in the message body, since lock screens and shared phones show texts to others.
How often can our app text patients about CPAP use?
If you rely on the FCC's healthcare exemption, a provider may initiate one message per day per patient, up to three per week (FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions., verified November 15, 2026), and only for listed purposes (FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions, verified December 3, 2026). Whether the exemption applies to your adherence texts is a question for counsel.
We turned on message body redaction. Is that enough?
It keeps message bodies out of Twilio's console and APIs after sending (Architecting for HIPAA on Twilio, verified November 15, 2026). That is good privacy, but it also means Twilio will not be your archive. Save every message in your own covered database first.
Who handles supply refill texts, us or the equipment supplier?
The supplier. For Medicare, the supplier must document its own contact with the patient to verify a refill is needed (CMS (eCFR), 42 CFR 410.38 -- Durable medical equipment, prosthetics, orthotics and supplies (DMEPOS): Scope and conditions, verified December 3, 2026). Your app should log any clinical complaint that reaches you and send the supplier only what it needs.
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
Texting CPAP patients from an app you built, with replies you could not produce if a patient asked? This is the conversation to have before the next re-evaluation.
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.
- CMS, Positive Airway Pressure (PAP) Devices for the Treatment of Obstructive Sleep Apnea (L33718). Checked December 3, 2026. Page dated LCD L33718 version 52; revision effective for services on or after 01/01/2024.
- HHS, 45 CFR 164.501 Definitions. Checked November 27, 2026. Page dated eCFR current as of 2026-11-01.
- HHS (eCFR), 45 CFR 164.524 -- Access of individuals to protected health information.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (eCFR), 45 CFR 164.526 -- Amendment of protected health information.. Checked December 3, 2026. Page dated eCFR text current as of 2026-12-01 (versioner API).
- CMS (eCFR), 42 CFR 410.38 -- Durable medical equipment, prosthetics, orthotics and supplies (DMEPOS): Scope and conditions. Checked December 3, 2026. Page dated eCFR current text as fetched 2026-12-03 (last amended 88 FR 77875, Nov. 13, 2023; eCFR cross-references a pending amendment at 91 FR 72167).
- FCC (eCFR), 47 CFR 64.1200 -- Delivery restrictions. Checked December 3, 2026. Page dated eCFR current text as fetched 2026-12-03.
- Twilio and HIPAA. Checked November 15, 2026.
- Architecting for HIPAA on Twilio. Checked November 15, 2026. Page dated Last Updated: June 30, 2026.
- 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).
- HHS (eCFR), 45 CFR 164.514 -- Other requirements relating to uses and disclosures of protected health information.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01.
- Apple, iMessage overview - iPhone User Guide. Checked November 27, 2026.