How to Set Up Break the Glass on Mychart
Learning how to set up break the glass on MyChart protects patient privacy. You set a rule that asks staff for a reason before opening sensitive records. Patient portals and health systems hold private data. Staff members only need to see files for their own patients. Sometimes an emergency happens on the hospital floor. A doctor must open a locked chart right away. Break the glass rules handle this urgent need. The system pauses and asks the user to type a clear reason. It also checks their pa
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Learning how to set up break the glass on MyChart protects patient privacy. You set a rule that asks staff for a reason before opening sensitive records.
Patient portals and health systems hold private data. Staff members only need to see files for their own patients. Sometimes an emergency happens on the hospital floor. A doctor must open a locked chart right away. Break the glass rules handle this urgent need. The system pauses and asks the user to type a clear reason. It also checks their password again. Then it opens the chart and logs the event for the security team.
How to set up break the glass on MyChart and core records
MyChart is the patient portal for Epic health systems. Patients can ask the clinic to lock their chart. Health admins actually set up this rule inside the core clinic software. You start by marking which patient groups need extra locks. Many teams lock files for staff members, famous people, and care workers.
Next, you pick which job roles see the warning prompt. Front desk workers, nurses, and doctors all use the system in different ways. You should make the warning prompt the default for all general staff roles. You also build a list of valid reasons in the setup menu. Common reasons include emergency care, patient request, or billing review. Users must pick a reason from this list and type their password. Once they do that, the session opens for a short window.
How to check logs and spot gaps in static rules
Setting up the warning prompt is only the first step. Your privacy team must check every emergency event that happens. When someone breaks the glass, the system writes a log entry. You should set up daily alerts for the compliance team. The team reads the log and checks if the staff member had a real need.
Hospital rules only cover the main care app. Engineers and data teams still work with raw databases behind the scenes. When an admin opens a database session, static roles stay wide open. App prompts do not stop a direct query on the database server. A DBA or support worker can run a wide query without any prompt. Static database logins cannot ask for a ticket number before each command. They also do not mask emails, phone numbers, card numbers, or national IDs in query results. To protect patient data everywhere, teams must control direct database sessions too.
Break-Glass Access Procedures + Single Sign-On (SSO): architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Best practices for emergency data rules
Keep your list of allowed reasons short and clear. Do not let users pass the prompt by typing random letters. Make sure the emergency session closes after a few minutes of idle time. Review your protected patient groups every month to catch missing flags. Train your staff so they know every click triggers a review.
You should also test the setup with a fake patient account. Log in with a standard nurse role and try to open the chart. Check that the prompt stops you and asks for a password. Then check the security log to make sure the alert shows up fast. Apply the same strict checks to your backend engineering teams.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Can a patient turn on break the glass inside their own MyChart app?
No, patients cannot turn on this rule from their own app screen. They must ask the clinic privacy team to add the lock to their file.
Does breaking the glass alert the patient right away?
The system sends the alert to the hospital privacy team, not the patient. Patients can still ask the clinic for an audit report of who opened their chart.
How do engineering teams protect database records outside the main clinic app?
Engineering teams use approval steps for live database sessions and mask sensitive fields. Dynamic masking rewrites matched fields like phone numbers or national IDs in query results.
Related guides
In this post