Workflows

Building Your Own Staff Scheduling App: When It Touches PHI and When It Doesn't

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

Short answer: A staff scheduling app that holds only shifts, availability and time off usually holds no PHI: no patient is in it, and HIPAA excludes employment records a practice holds as an employer (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). It starts holding PHI once a shift, room assignment or visit route names a patient. Keep patients out, or put every service under a BAA.

A staff scheduling app is a natural first thing to vibe code, because the alternative is a spreadsheet, a group text and a whiteboard that nobody updates. Shifts, call coverage, time-off requests, swaps, who opens and who closes. It is a good first project, and it can be one of the few practice apps that never needs to hold patient data at all.

The catch is that schedules drift toward patients. Someone adds a notes field. Someone imports tomorrow's appointments so the app can staff to volume. A surgical practice wants the OR block to show the case. A home-visit program wants the route. Each of those turns a staff tool into a PHI tool (PHI is protected health information: identifiable information about a patient's health or care). On the PHI side, every outside service the app uses needs a BAA, a business associate agreement: the contract a vendor signs before it handles PHI for you. This guide shows where that line sits, and what changes on each side of it.

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

Records you hold as an employer are not PHI

HIPAA's definition of protected health information lists what it leaves out. One of those exclusions is identifiable health information:

“(iii) In employment records held by a covered entity in its role as employer;”

HHS (eCFR), 45 CFR 160.103 -- Definitions. · § 160.103, definition of Protected health information, paragraph (2)(iii), page dated eCFR text current as of 2026-11-01 point in time · verified November 15, 2026

So a schedule of who works when, and a time-off log, held by the practice as the staff's employer, falls outside that definition. Whether other privacy or employment rules apply to staff records is a question for your employment counsel; this HIPAA definition does not answer it.

A patient's name next to a time is a different matter

Individually identifiable health information includes demographic information collected by a health care provider that relates to the provision of health care to an individual and identifies them (HHS, 45 CFR 160.103 Definitions, verified November 15, 2026). A row that says which patient a medical assistant is rooming at 9:40, or which patient's case is in OR 2 at 7:30, is, in our reading of that definition, information about care being provided to a named person.

Using it internally is not the problem. A practice may use PHI for its own treatment, payment and health care operations (HHS (eCFR), 45 CFR 164.506 -- Uses and disclosures to carry out treatment, payment, or health care operations., verified November 15, 2026). The problem is every vendor the schedule passes through, and every staff member who can see it.

The access rules are written about your staff

HIPAA calls your staff your workforce: employees, volunteers, trainees and others under your direct control, paid or not (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). For minimum necessary uses, the Privacy Rule says “(i) A covered entity must identify: (A) Those persons or classes of persons, as appropriate, in its workforce who need access to protected health information to carry out their duties; and (B) For each such person or class of persons, the category or categories of protected health information to which access is needed and any conditions appropriate to such access.” (HHS (eCFR), 45 CFR 164.514 -- Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026) The practice must then make reasonable efforts to limit their access to those categories (HHS (eCFR), 45 CFR 164.514 -- Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026). The Security Rule adds what it calls Addressable specifications. Addressable does not mean optional: you put each one in place if reasonable and appropriate, or document why not and use a reasonable alternative (HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules., verified November 15, 2026). They include procedures to determine that each workforce member's access is appropriate (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026), to establish, document, review and modify each user's access (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026), and to end access when someone leaves (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026). A staff scheduling app that shows patients is exactly where those rules become real.

What common scheduling and messaging vendors say

Where the PHI line falls, item by item

What the app holdsLikely PHI?Why
Staff names, roles, shifts, locations, availability, swapsNoEmployment information held as employer (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). No patient in it.
Time-off requests, including a sick day or a staff member's own surgeryUsually noSame employer exclusion. Still sensitive: limit who sees the reason, and ask employment counsel what other rules apply.
A staff member who is also your patientDepends on the recordThe exclusion covers records held in your role as employer (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). Their chart, which you hold as their provider, sits outside that exclusion. Never let the scheduling app read it.
Appointment counts per provider per day, with no names or other identifiersDesigned to keep patients outStaffing to volume needs numbers, not people. Bring in counts, not patient lists.
Room or MA assignment by patient nameYesTies a named person to care being provided (HHS, 45 CFR 160.103 Definitions, verified November 15, 2026).
OR or procedure block showing patient and procedureYesNames the person and the care.
Home-visit or mobile route with patient addressesYesAn address of a person receiving care from you.
Free-text notes on a shift or swap requestOften, eventuallyWhatever staff type there. This field is the easiest way for patient details to slip into a staff-only app.

The data flow, end to end, and which pieces need a BAA

A typical vibe-coded staff scheduler has the same moving parts whether or not it names patients. What changes is whether each one carries PHI.

  1. The office manager builds the template in an AI app builder or coding agent: shift types, roles, rules. The builder chat sees whatever is pasted in, including a screenshot of today's schedule from the EHR if someone uses one as an example.
  2. Staff sign in and enter availability and time off. This lands in the app's database and its user table (name, email, phone, role). On Base44, for example, every app has a built-in User entity holding each user's display name, email and role (User Schema - Base44 Support Documentation, verified November 15, 2026). That is staff data, not patient data.
  3. The app pulls appointment data from the EHR, or someone uploads a CSV, so it can staff to volume. This is the step most likely to bring patients in. What any app can read from the EHR is the EHR vendor's decision (see build around the EHR).
  4. An AI model drafts the schedule from rules and requests. If the prompt holds only staff names and constraints, no patient data goes out. If it holds tomorrow's patient list, the model call carries PHI.
  5. The app notifies people by text, email, calendar invite or a staff chat app.
  6. Copies collect in server logs, error trackers, backups and the payroll or timekeeping export.
PieceStaff-only appApp that names patients
Database and hostingA business associate is a vendor that creates, receives, maintains or transmits PHI for you (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). If no PHI ever reaches the vendor, that definition is not met.Yes. A storage vendor is a business associate even if it never views the data (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). Supabase, for example, requires a signed BAA and its HIPAA add-on (HIPAA Projects | Supabase Docs, verified November 15, 2026).
Text remindersNot for a message like: you are on 7 to 3 Thursday at the Elm Street office.Yes. Twilio requires its BAA before PHI workflows (Twilio and HIPAA, verified November 15, 2026) and PHI must stay in designated HIPAA Projects (Architecting for HIPAA on Twilio, verified November 15, 2026).
EmailFine for patient-free messages.Only through an email service under a BAA. Not SendGrid (Twilio SendGrid, Is SendGrid HIPAA Compliant?, verified November 15, 2026).
Calendar syncFine.Only into a practice account under a BAA, such as Google Calendar after an administrator accepts Google's BAA (HIPAA Compliance with Google Workspace and Cloud Identity, verified November 26, 2026) (HIPAA compliance on Google Cloud and Google Workspace, verified November 26, 2026). A sync to a staff member's personal calendar leaves the account your practice controls.
Staff chatFine.Use a service in BAA scope, such as Microsoft Teams under Microsoft's BAA (HIPAA and the HITECH Act - Microsoft Compliance, verified November 26, 2026).
AI schedulerNo patient data in the prompt, so no PHI.Yes, on an eligible service: OpenAI's API needs a BAA plus Modified Retention (HIPAA eligible products and functionality | OpenAI Help Center, verified November 27, 2026); Anthropic lists its standard Messages API as HIPAA eligible (Anthropic, API and data retention - Claude Docs, verified November 15, 2026), for organizations with a signed BAA that are HIPAA-enabled (Anthropic, API and data retention - Claude Docs, verified November 15, 2026).
Self-scheduling linksA booking link for staff interviews or meetings is fine.Calendly's standard terms bar PHI (Customer Terms and Conditions | Calendly, verified November 26, 2026).

For your builder, host and database, the BAA Matrix shows each vendor's dated BAA position, and the Stack Checker lists the gaps in your stack.

What this means for your app

Decide on day one which of two apps you are building, and design for it.

If it is a staff-only app, keep it that way on purpose

  • Staff to numbers, not names. Bring in a count per provider per session, not the appointment list. Get the count from an EHR report, or have someone type it in. If your app downloads the patient list and counts it itself, the list has already passed through your app's host and database, and those services are now handling PHI.
  • Remove or fence the free-text notes field. Use pick lists for swap reasons (coverage, sick, personal, training). Add a line under any remaining text box: no patient names or details here.
  • Label rooms and blocks generically. Room 3, procedure block, new-patient slots. Not the patient, not the procedure.
  • Keep screenshots of the EHR schedule out of the builder chat. Describe the layout in words, or use made-up names.
  • Write the boundary down. One sentence in your policies: this app holds no patient information. It tells staff what not to type, and it tells your privacy officer what to check.

If the schedule must name patients, build it like any PHI app

Surgical blocks, home-visit routes and rooming boards sometimes genuinely need the patient. Then:

If the patient side of scheduling grows into booking, read the online scheduling and booking app guide. If it becomes a patient contact list, see the practice CRM guide. For virtual visits staffed from the same app, see the telehealth visit app guide.

How this goes wrong: the swap request that named the patient

This is a hypothetical scenario. Imagine a three-surgeon practice whose office manager vibe codes a shift app. It is staff-only by design, built on a plan with no BAA, which is reasonable for a schedule of names and hours. Staff love it. It texts reminders, sends a daily email digest of open swaps, and syncs shifts to each person's own calendar.

Three months in, a surgical tech posts a swap request in the notes field: can someone cover Thursday 7:30, the patient's name, her procedure, she is very anxious and asked for someone she knows. The app does exactly what it was built to do. The note goes into the database, into the email digest sent to the whole staff, into the text preview on several phones, and into calendar events on personal accounts. One of the recipients is a medical assistant who left six weeks earlier; nobody removed her from the app because the app was not considered a patient system.

No one was careless in a way that felt careless. The app was never designed to refuse patient details, and once one arrived, every integration copied it somewhere new: a database and host with no BAA, an email service, personal calendars, a former employee's phone. HIPAA presumes a disclosure like this is a breach unless a documented risk assessment shows a low probability that the information was compromised (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026). That assessment, and any notification decision, is for the practice and its counsel. The fix is design: pick lists instead of free text, patient-free notifications, and access that ends with the last shift.

Before you hand the app to staff

  1. Write down which version you are building: staff-only, or one that names patients.
  2. For staff-only: remove or fence free-text fields, import counts not names, and test by searching the database for any patient name you can think of.
  3. If it names patients: list every vendor in the flow above and attach a signed BAA, or remove it from the path.
  4. Give every person their own login and turn on multi-factor sign-in where the platform offers it.
  5. Tie access removal to the last scheduled shift.
  6. Check what your reminders and digests actually say, on a locked phone screen.
  7. Add the app to your Security Risk Analysis, even if the answer is that it holds no PHI. Train staff on what not to type: the training program covers all workforce members, including management (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026).

Staff scheduling by specialty

Where patients creep into the schedule depends on the work. Surgical practices put cases on OR blocks (surgical practices). Urgent care staffs to walk-in volume across long hours (urgent care). Geriatrics and home-visit programs route staff to patients' homes (geriatrics). Sleep medicine runs overnight technologist shifts tied to specific studies (sleep medicine). Emergency medicine groups trade shifts often (emergency medicine).

Keep, refactor, or rebuild?

Verdict: Keep or Refactor

Keep a staff-only scheduler, and make it patient-free by design rather than by habit: pick lists instead of free text, counts instead of patient lists, generic room labels. Refactor if the schedule must name patients, because then the database, host, texts, email, calendar sync and any AI call all need BAAs, and each staff member's view must match their role.

A staff-only scheduler that truly holds no patient data can usually be kept as it is, on the platform where you built it, once you close the doors patients come in through: the notes field, the EHR import, the screenshots in the builder chat. If your schedule has to name patients, keep the screens and the rules your staff already use, and refactor what sits underneath: the database, hosting, notifications and calendar sync move to BAA-covered services, and permissions, logins and audit logs are added. See keep, refactor or rebuild for the full decision.

Frequently asked questions

Is a staff work schedule protected health information?

Not by itself. HIPAA's definition of PHI excludes identifiable health information in employment records a practice holds in its role as employer (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). A schedule becomes PHI territory when it ties a patient to care, for example a patient's name on a room assignment or an OR block (HHS, 45 CFR 160.103 Definitions, verified November 15, 2026).

Do I need a BAA with my app builder if the scheduling app has no patient data?

A business associate is a vendor that creates, receives, maintains or transmits PHI on your behalf (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). If no PHI ever reaches the vendor, that definition is not met. The risk is that patient details arrive later, through a notes field, an EHR import or a pasted screenshot. Design those paths shut, and revisit the question the day anyone asks for patient names.

Is a staff member's sick note or vaccination record HIPAA-protected?

Health information in employment records you hold as their employer is excluded from PHI (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). If the staff member is also your patient, what you hold as their provider is not an employment record. Whether a given staff record counts as an employment record is a question for counsel. Keep the two apart, keep health reasons out of the shared schedule, and ask employment counsel which other rules apply to staff health information.

Can I run my staff schedule in Google Sheets or Google Calendar?

For a staff-only schedule, yes. If it names patients, Google says customers who have not signed its BAA must not put PHI in Workspace (HIPAA Compliance with Google Workspace and Cloud Identity, verified November 26, 2026); Calendar and Drive, including Sheets, are among the covered services once an administrator accepts it (HIPAA compliance on Google Cloud and Google Workspace, verified November 26, 2026) (HIPAA compliance on Google Cloud and Google Workspace, verified November 26, 2026). Third-party add-ons are not covered (HIPAA Compliance with Google Workspace and Cloud Identity, verified November 26, 2026).

Can the app text staff their shifts?

Yes. A text that says only who works when carries no patient data. Once a message names a patient, Twilio requires its BAA first (Twilio and HIPAA, verified November 15, 2026). The safer design is the same either way: send a short alert and keep details behind a sign-in.

Can I use AI to build the schedule automatically?

Yes, if the prompt holds only staff names, roles, rules and requests. If you feed it the patient list to staff to volume, use counts instead, or use a model service under a BAA: OpenAI's API requires a BAA plus Modified Retention (HIPAA eligible products and functionality | OpenAI Help Center, verified November 27, 2026), and Anthropic lists its standard Messages API as HIPAA eligible (Anthropic, API and data retention - Claude Docs, verified November 15, 2026) for organizations with a signed BAA that are HIPAA-enabled (Anthropic, API and data retention - Claude Docs, verified November 15, 2026).

Palo Alto Health Labs Fabrica

Keep building. We make it safe.

Your staff scheduler is starting to show patient names? That is the moment to have this conversation.

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-01 point in time.
  2. HHS, 45 CFR 160.103 Definitions. Checked November 15, 2026.
  3. HHS (eCFR), 45 CFR 164.506 -- Uses and disclosures to carry out treatment, payment, or health care operations.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01.
  4. 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 point in time.
  5. HHS (eCFR), 45 CFR 164.306 -- Security standards: 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).
  6. HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01 point in time.
  7. HIPAA Compliance with Google Workspace and Cloud Identity. Checked November 26, 2026. Page dated Last updated 2026-11-10 UTC.
  8. HIPAA compliance on Google Cloud and Google Workspace. Checked November 26, 2026. Page dated Google Workspace supported services last updated 2026-10-28; page last updated 2026-11-11 UTC.
  9. HIPAA and the HITECH Act - Microsoft Compliance. Checked November 26, 2026. Page dated Last updated on 2025-07-29.
  10. Customer Terms and Conditions | Calendly. Checked November 26, 2026. Page dated Effective Date: August 5, 2026.
  11. Twilio and HIPAA. Checked November 15, 2026.
  12. Twilio SendGrid, Is SendGrid HIPAA Compliant?. Checked November 15, 2026. Page dated dateModified 2026-07-23 (page metadata).
  13. User Schema - Base44 Support Documentation. Checked November 15, 2026.
  14. 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.
  15. HIPAA Projects | Supabase Docs. Checked November 15, 2026. Page dated Updated Oct 30, 2026.
  16. Architecting for HIPAA on Twilio. Checked November 15, 2026. Page dated Last Updated: June 30, 2026.
  17. 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).
  18. Anthropic, API and data retention - Claude Docs. Checked November 15, 2026.
  19. Row Level Security | Supabase Docs. Checked November 15, 2026.
  20. 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).
  21. U.S. Department of Health and Human Services (HHS), eCFR :: 45 CFR 164.530 -- Administrative requirements. Checked November 15, 2026. Page dated eCFR current text.
  22. Vercel, Runtime Logs. Checked November 15, 2026. Page dated dateModified 2026-08-28 (per page metadata).
  23. 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).