Chapter 16

Security and compliance

The audit ledger and its nightly seal, accounting of disclosures, restricted charts, the Access Watcher, legal holds and retention, the AI disclosure policy, and the platform facts an office manager or a compliance officer will ask about.

Who this is for: Owner / admin, Billing, Sales, Vivero internal.

16.1The audit ledger

Owners and admins read every action in the practice in plain words: who signed in, who opened which chart, what Viv did, what was exported, what was denied, what was deleted.

  • Lenses: Everything, Viv's hands (every AI action), Sign-ins, Denied, Deletions.
  • Filters: by person, day, record type, or one patient's file, which also links to that patient's accounting of disclosures.
  • Export this view as CSV.
  • The seal: every night the Ledger Sealer hashes the day into a chain. Tampering shows.

Logged: every read of protected health information, every export and disclosure, break-the-glass, note signatures with IP address and browser, AI and agent actions, logins, denied access, deletions.

16.2Accounting of disclosures

From the audit log, an admin produces the HIPAA accounting of disclosures for any patient over one to six years: every export, fax, registry submission, claim and lab order that left the practice, as a printout to hand over or a CSV. The product records that it was provided, which drives the one-free-copy-per-year rule.

16.3Restricted charts and the Access Watcher

  • Restricted chart: for staff, public figures or sensitive cases. Owners and admins see it fully; front desk and billing see only scheduling and billing fields with the identity masked on the calendar; providers and MAs break the glass with a reason that is logged, for a 15-minute window.
  • The Access Watcher runs nightly. Someone who opened far more charts than their own recent median gets a task to the owner with the numbers and the audit filter, naming no patient. Note signatures from three or more IP addresses in one hour raise a shared-login task: every clinician needs their own login.
  • The Rule Keeper flags care advisory rules past their review date.

16.4Legal holds, retention and leaving

  • Legal holds: clinic-wide or per patient, for litigation, a subpoena or an audit. A hold blocks retention cleanup, archiving and merging. Every chart role sees whether a hold applies; only owners and admins see the reason or lift it.
  • Retention: call transcripts and voicemail audio are kept for the practice's window (a year by default); the sweep that removes them is off until the practice turns it on. Scribe transcripts follow their own window (30 days by default).
  • Permanent purge is designed but not switched on. No purge runs without a hold check, two-person approval and tombstones.
  • Leaving: every chart exports as a C-CDA and as JSON, and the whole practice exports in one run for offboarding. Data export is free for 60 days after a practice leaves.

16.5AI disclosure and trust

Settings > Trust holds the practice's consent language, the AI disclosure shown to patients, and the Business Associate Agreement status. Patients see that Viv is an AI in the portal; the scribe reads a consent script before Viv listens; call recording can announce itself.

  • All model calls go to one AI provider under a Business Associate Agreement, with logging off, zero retention, no training on practice data, and US endpoints.
  • Before any prompt, social security numbers, card numbers, emails, phone numbers and street addresses are stripped. Names, dates and chart numbers are kept on purpose so Viv can do her job.
  • Call audio is never stored by the phone carrier. Recordings exist only in Vivero's own storage when the practice turns recording on.
  • Viv in the portal never diagnoses, names a condition, interprets a value, or discusses doses. Red-flag readings get a fixed safety message before any AI text.

16.6Platform facts

Question an office will askAnswer
Where is the data?AWS in the United States: an encrypted database with deletion protection and seven-day point-in-time backups; encrypted file storage with versioning.
Is it backed up?Yes. Restore drills are logged; the recovery target is about 30 minutes with under five minutes of data at risk.
How do staff sign in?Through Clerk with per-person accounts, Google sign-in supported, two-factor available. Six roles enforced on every request.
How do patients sign in?One-time email links, no passwords, 24-hour sessions, rate-limited.
Is traffic protected?HTTPS everywhere, content security headers, rate limiting that fails closed.
Are files scanned?Every upload is scanned before anyone can download it; download links expire.
Is there a BAA?Yes, included on every plan, with every subprocessor under its own agreement.
What if there is a breach?An incident runbook with a 60-day notification clock, rehearsed; the status page shows incidents publicly.
Who can see what?Tenant isolation by practice on every query; the audit ledger shows every read.

The runbooks a practice inherits live in the repository under docs/ops: backup and restore, incident response and breach notification, key rotation, the SAFER self-assessment against ONC's high-priority practices, and the HIPAA readiness audit.

16.7Support and the flow benchmark

Support at /dashboard/support promises a person within one office hour. New ticket takes a category (something is broken, billing, a question, a request, urgent), attaches the page you are on, and tracks received, acknowledged, in progress, waiting on you, resolved with a clock. The month's attainment is published on the status page.

Speedee Metrics grades one visit as a relay of five legs: book to door, door to provider, visit to signed, signed to claim, claim to paid, against published benchmarks, and Viv names the weakest leg with a fix. The brag sheet is the page to show a prospective office.