Specialty × workflow
Texting Your DPC Members from a DIY App: Where HIPAA Actually Bites
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: For a DPC practice that HIPAA covers, a self-built member texting app bites in four places: the texting account's BAA scope, the physician's personal phone, the app's own logs of each message, and family phone numbers. Run texts through a BAA-covered account, keep replies inside the app, and honor each member's request for a private number.
In direct primary care (DPC) and concierge medicine, texting the doctor is not a convenience feature. It is a large part of what members pay for. So the first app many DPC physicians build with an AI app builder is a texting line: members text one number, the physician answers. A vibe-coded app (one built by describing it to an AI builder or coding agent) can do that in an afternoon.
Whether HIPAA applies at all depends on how the practice handles insurance transactions, which the concierge and DPC app guide covers. This page assumes it does, or that you want to build as if it does. It skips the generic texting build, which the patient messaging app walkthrough covers, and goes to the places where a membership practice's texting habits run into the rules.
Where one member's 11 pm text actually goes
Follow a single text. A member on a family membership texts the practice number at 11 pm: her son's fever is back, and she attaches a photo of a rash.
- The carrier leg. Apple says messages in SMS or MMS conversations are not protected from being read by others as they are sent (Apple, iMessage overview - iPhone User Guide, verified November 27, 2026). Your app cannot change that leg, which is why the consent question below matters.
- The texting service. The message lands in an account at a service such as Twilio. Whether that account is under a BAA (the contract in which a vendor agrees to protect patient data) depends on the edition and on which project the number lives in.
- Your app's webhook. A webhook is the web address the texting service calls to hand your app each new message. The message text and a link to the photo arrive in that request, and an AI-generated handler may print the whole request to the hosting log while you debug. That log now holds the child's symptoms, and so may the error tracker.
- The physician's alert. To keep the promise of a direct line, the app pings the physician at night. If that ping is a forwarded SMS to her personal cell, the full text and photo now sit in her phone's message history, in its backup when iCloud Backup or Messages in iCloud is on (Apple, Messages & Privacy, verified November 27, 2026), and on her lock screen, since previews can show message text (Apple, Change notification settings on iPhone - iPhone User Guide, verified November 27, 2026).
- Her reply. Answered from her own phone, the advice to give a dose and come in at 8 am exists only in two people's message apps. The chart never sees it.
- The household. The number she texted from may be the one on the family's membership account, read by a spouse or a teenager. The next reply goes back to that same phone.
One text touched six places. Only two of them, the texting account and your database, are things a BAA and your own build can fully control.
What the rules and Twilio say, in their own words (checked December 3, 2026)
Who must protect the texts. HIPAA's rules apply to a provider that transmits health information electronically in connection with a covered transaction, such as a claim or an eligibility check (HHS (45 CFR 160.102), 45 CFR 160.102 Applicability, verified November 15, 2026). A covered practice may let a vendor handle PHI (protected health information) only with satisfactory assurance, in practice a BAA (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026).
The texting service. Twilio offers a BAA only on its Security or Enterprise Edition (Twilio and HIPAA, verified November 15, 2026), and only US area-code SMS and MMS traffic is eligible (Architecting for HIPAA on Twilio, verified November 15, 2026). If a BAA was signed before June 6, 2024, accounts or projects created afterwards must each be designated (Architecting for HIPAA on Twilio, verified November 15, 2026). Twilio's webhook docs describe the Body parameter it sends your app for each incoming message as “The text body of the message. Up to 1600 characters long.” (Messaging Webhooks | Twilio, verified December 3, 2026) For HIPAA workflows Twilio requires HTTPS for its requests to your app (Architecting for HIPAA on Twilio, verified November 15, 2026), and it advises “We strongly recommend using the provided signature validation library from a Twilio SDK and not implementing your own signature validation.” (Messaging Webhooks | Twilio, verified December 3, 2026)
A member's own number. A covered provider must accommodate reasonable requests to receive communications by alternative means or at alternative locations (HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information., verified November 15, 2026). The rule adds:
“A covered health care provider may not require an explanation from the individual as to the basis for the request as a condition of providing communications on a confidential basis.”
The practice may require the request in writing (HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information., verified December 3, 2026) and may ask the member to specify the other method of contact (HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information., verified December 3, 2026).
Family members. A covered entity may share with a family member the PHI directly relevant to that person's involvement in the patient's care (HHS (eCFR), 45 CFR 164.510 -- Uses and disclosures requiring an opportunity for the individual to agree or to object., verified November 15, 2026); when the patient is present and able to decide, that depends on agreement, a chance to object, or a reasonable inference (HHS (eCFR), 45 CFR 164.510 -- Uses and disclosures requiring an opportunity for the individual to agree or to object., verified November 15, 2026). For an unemancipated minor, a parent with decision-making authority under applicable law is generally the personal representative, with exceptions (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026).
Unencrypted messages at the member's preference. HHS has said a practice may send unencrypted email to a patient it has warned of the risk who still prefers it (U.S. Department of Health and Human Services (HHS), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules (Omnibus Final Rule), Federal Register Vol. 78, No. 17, verified November 15, 2026). Some texting vendors write a notice-and-consent step for texts into their own terms (RingCentral Business Associate Agreement (PDF), verified November 27, 2026) (Quo (formerly OpenPhone), HIPAA compliance - Quo Resource Center, verified November 28, 2026).
Where HIPAA actually bites, and where it bites less than you expect
Where it bites less
The carrier leg is less of a dead end than it looks. The HHS statement above is about email, so ask counsel how it applies to texts, but the pattern is clear enough to build: tell each member at enrollment that texts can be read in transit, record that they still want them, and let them switch it off. Put that notice in the DPC enrollment flow rather than a separate form nobody signs.
Where it actually bites
- The account, not the vendor. A BAA covers the edition and projects it names. A number bought in a project the coding agent created for testing may sit outside the projects the BAA covers. Check that the production number, not just the company, is covered.
- The direct line. The DPC promise pushes texts onto the physician's own phone. Replace forwarded SMS with a sign-in screen in the app and an alert that says only that a member message is waiting.
- Your own logs. Because the message text arrives inside the webhook request, any code that logs requests copies PHI into your host's logs. Twilio's message body redaction (Architecting for HIPAA on Twilio, verified November 15, 2026) limits what Twilio keeps; it does nothing about your logs. An unsigned webhook is a second problem: anyone who finds the address can post fake member messages into the inbox.
- Household numbers. Family memberships put several members, and sometimes several phones, on one account. A thread keyed to a phone number cannot tell whose care it is about. Key each thread to a member record, and store any private-number request on that member, not the account.
- The thread is clinical. A designated record set includes records used to make decisions about individuals (HHS, 45 CFR 164.501 Definitions, verified November 27, 2026). In our judgment, advice given by text is likely to qualify; your privacy officer decides how it is filed, but build as if the full thread must be retrievable for each member.
- Auto-replies. If you wire an AI triage bot to the line, Twilio says it is the customer's job to make sure a third-party bot is used in a HIPAA-compliant manner (Architecting for HIPAA on Twilio, verified November 15, 2026). If the bot receives PHI, a covered practice needs satisfactory assurance, in practice a BAA, from that model provider too (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026).
How this goes wrong: the family number and the private request
Imagine a hypothetical DPC practice with a family membership: two parents and a 19-year-old daughter home from college. The membership account, and the Stripe customer record behind it, carry the father's cell number. At her first visit the daughter writes on the paper intake that she wants texts about her care sent only to her own phone. The front desk files the page. Nobody tells the app.
The physician built the texting app herself. It looks up members by phone number, and when a number is unknown it falls back to the account's primary number. Weeks later the physician follows up on a sensitive test from her phone using the app's message the household button, because the daughter's own number was never added to her record. The text goes to the father. Meanwhile the webhook handler has been printing every inbound message to the hosting log, which the physician's nephew, who helped with the build, can still open.
For a covered practice, a reasonable request like hers had to be accommodated, and the practice could not require her to explain it (HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information., verified December 3, 2026). Whether the text to her father was an impermissible disclosure, and whether the log access was one too, is for the privacy officer and counsel. An impermissible disclosure is presumed to be a breach unless a risk assessment shows a low probability that the PHI was compromised (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026). If you are already there, see what to do after texting PHI through an app.
What a DPC practice adds to the texting checklist
The generic list (BAA, HTTPS, sign-in, encryption) is in the patient messaging app walkthrough. These items are the membership-practice additions. For how other specialties weigh texting differently, compare med spa photo texting and GLP-1 progress messages.
- Confirm the production number is covered. Ask the texting vendor in writing which account or project the BAA covers, and check the live number sits in it. Keep test numbers on synthetic members only.
- Key threads to members, not phones. Every inbound text is matched to one member record. An unknown number creates an unmatched item for staff, never a guess at the household's primary contact.
- Store private-number requests in the app. Add a contact-preference field per member, with the date and the written request if your policy asks for one. Outbound texts read that field first. Do not add a reason field; you may not require one.
- Stop forwarding to personal phones. The physician reads and replies in the app, behind sign-in and multi-factor sign-in. Night alerts carry no names or symptoms.
- Strip message bodies from logs. Log the message ID and member ID, never Body or media links. Validate webhook signatures with the vendor's own SDK library, and turn on body redaction where offered.
- File the thread. Decide with your privacy officer how texts reach the chart, and make the full thread exportable per member for access requests.
- Record the texting notice. Capture at enrollment that the member was told SMS can be read in transit and still chose it, with an easy way to switch to in-app messages.
- Keep dues out of the care thread. Membership billing texts go from a separate flow, and plan names, diagnoses and visit reasons stay out of billing messages.
Keep, refactor, or rebuild?
Keep the member-facing texting flow. Refactor the parts that touch PHI: move the number into a BAA-covered project, key threads to member records with per-member contact preferences, replace forwarding to personal phones with in-app replies, and remove message bodies from logs. In Fabrica, each release is checked so that no new outside service receives PHI without an agreement and each user reaches only the records their role permits.
The texting screens and message templates usually stay. What changes sits underneath: which account the number lives in, how threads find their member, where the physician answers, and what the server writes to its logs. Members who would rather not use plain SMS at all can move to secure messages in a DPC member portal.
Frequently asked questions
Can I text my DPC members from my personal cell phone?
It is the riskiest way to do it. The texts sit in your phone's history and can be backed up to iCloud when iCloud Backup or Messages in iCloud is on (Apple, Messages & Privacy, verified November 27, 2026), and your replies never reach the chart. Answer inside a BAA-covered app instead, and let the phone carry only a content-free alert.
Do DPC members have to consent before we text them?
HHS has said a practice may send unencrypted email to a patient who was warned of the risk and still prefers it (U.S. Department of Health and Human Services (HHS), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules (Omnibus Final Rule), Federal Register Vol. 78, No. 17, verified November 15, 2026), and some texting vendors require notice and consent in their terms (Quo (formerly OpenPhone), HIPAA compliance - Quo Resource Center, verified November 28, 2026). Ask counsel how that applies to your texts, then record the notice and the member's choice at enrollment.
A member's spouse texts asking how her visit went. Can I answer?
Possibly. HIPAA lets a covered practice share what is directly relevant to a family member's involvement in the patient's care (HHS (eCFR), 45 CFR 164.510 -- Uses and disclosures requiring an opportunity for the individual to agree or to object., verified November 15, 2026), under conditions such as the patient's agreement or chance to object (HHS (eCFR), 45 CFR 164.510 -- Uses and disclosures requiring an opportunity for the individual to agree or to object., verified November 15, 2026). Record each member's preference so you know before you reply.
A member on our family plan wants texts sent to a different number. Do we have to?
A covered provider must accommodate reasonable requests to receive communications by other means or at other locations (HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information., verified November 15, 2026), and may not require an explanation for the request (HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information., verified December 3, 2026). Store the number on that member's record so the app uses it.
Does Twilio sign a BAA for a DPC practice's texting app?
Twilio offers a BAA on its Security or Enterprise Edition (Twilio and HIPAA, verified November 15, 2026), for US area-code SMS and MMS traffic (Architecting for HIPAA on Twilio, verified November 15, 2026). See the Twilio guide and texting apps that sign a BAA.
Our DPC practice does not bill insurance. Does any of this apply?
Maybe not to HIPAA itself: coverage depends on whether the practice, or a clearinghouse for it, sends covered transactions electronically (HHS (45 CFR 160.102), 45 CFR 160.102 Applicability, verified November 15, 2026). Check with counsel using the concierge and DPC guide. Members' texts are sensitive either way, so the same build choices are worth making.
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
Promised your members a direct text line to the doctor and built it yourself? This is the conversation to have before the next family plan enrolls.
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.
- Apple, iMessage overview - iPhone User Guide. Checked November 27, 2026.
- Apple, Messages & Privacy. Checked November 27, 2026. Page dated 2025-12-12.
- Apple, Change notification settings on iPhone - iPhone User Guide. Checked November 27, 2026.
- HHS (45 CFR 160.102), 45 CFR 160.102 Applicability. Checked November 15, 2026. Page dated eCFR current as of 2026-11-01.
- 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).
- Twilio and HIPAA. Checked November 15, 2026.
- Architecting for HIPAA on Twilio. Checked November 15, 2026. Page dated Last Updated: June 30, 2026.
- Messaging Webhooks | Twilio. Checked December 3, 2026. Page dated not stated.
- HHS (eCFR), 45 CFR 164.522 -- Rights to request privacy protection for protected health information.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01.
- HHS (eCFR), 45 CFR 164.510 -- Uses and disclosures requiring an opportunity for the individual to agree or to object.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01.
- U.S. Department of Health and Human Services (HHS), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules (Omnibus Final Rule), Federal Register Vol. 78, No. 17. Checked November 15, 2026. Page dated Published January 25, 2013.
- RingCentral Business Associate Agreement (PDF). Checked November 27, 2026. Page dated April 2021 (version stamp BAA 20210401).
- Quo (formerly OpenPhone), HIPAA compliance - Quo Resource Center. Checked November 28, 2026.
- HHS, 45 CFR 164.501 Definitions. Checked November 27, 2026. Page dated eCFR current as of 2026-11-01.
- 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).