Build spec v1For sign-off: Clinical Ops Β· CTO Β· Privacy

CareBridge: telehealth appointments for Harborview Clinics

Fictional 14-clinic group. Goal: move virtual-ready follow-ups (stated as 40% of visits) out of phone booking to cut hold times and no-shows, with HIPAA-aware controls and screen-reader support from day one.

Good morning, Alex

πŸ”’ Notifications never show health details. Open the app to see them.

🎯 Scope

MVP

  • Book video follow-ups by service and time
  • Pre-visit intake and consent
  • Waiting room with device check, join video
  • Visit summary (released by clinician)

Later

  • Proxy access for parents and carers
  • Rescheduling and waitlist
  • Secure messaging, prescriptions refill
  • Interpreter booking

πŸ‘₯ Personas

Alex, 52, managing hypertension

Books quarterly follow-ups; hates phone holds; uses large text.

Dana, 34, low-vision parent

Uses VoiceOver; needs every step labelled and a clear error recovery path.

πŸ“‹ Stories and acceptance criteria

1. Book by specialty and time

As a patient, I want to pick a service and an open slot, so that I book without calling.
Given open slots, when I select one and it is taken meanwhile, then I see "That time was just booked" and the list refreshes without losing my service choice.

2. Intake form

As a patient, I want to give my reason and medications before the visit, so that the clinician is prepared.
Given the intake step, when I submit without a reason or consent, then the error names the missing field and focus moves to it.

3. Join from waiting room

As a patient, I want a camera, mic and connection check, so that the visit starts without tech trouble.
Given a booked visit, when I tap Join from 10 minutes before start, then the waiting room opens and runs all three checks; outside the window Join is disabled with the opening time announced.

4. Visit summary

As a patient, I want to read my visit summary afterwards, so that I remember the plan.
Given the clinician released the summary, when I open the visit, then I see plan, follow-up and medications; before release I see "Summary not yet available".

πŸ“± Screens and states

ScreenEmptyLoadingError
Home"No upcoming visits" + Book buttonCard skeletonOffline banner, cached next visit
Book (3 steps)"No slots this week" + nearest clinic optionSlot skeletonsSlot conflict; validation per field
Waiting roomn/aCheck spinnersCamera denied: settings link + phone-audio fallback
Visits / Summary"Your visits will appear here"List skeleton"Summary not yet available"

πŸ—‚οΈ Data model

EntityKey fieldsSensitivity
Patientid, name, dob, phone, preferredClinicIdPHI (identifiers)
Appointmentid, patientId, clinicianId, service, start, mode, statusPHI
IntakeappointmentId, reason, medications, consentAtPHI (clinical)
VisitSummaryappointmentId, plan, followUp, releasedAtPHI (clinical)
SlotclinicianId, start, length, heldInternal
AuditEventactorId, action, resource, timestamp, deviceRestricted, append-only

πŸ—οΈ Architecture

  • Client: React Native (iOS, Android), accessibility props on every control, no PHI in local storage beyond an encrypted session cache.
  • API: backend-for-frontend over the EHR's scheduling and FHIR endpoints [confirm EHR capabilities]; slot holds for 5 minutes prevent double booking.
  • Auth: OIDC with MFA at enrolment, biometric unlock, short-lived tokens.
  • Video: vendor that signs a BAA [confirm vendor]; tokens minted server-side per appointment.
  • Notifications: generic text only ("You have an update"); content loads after sign-in.
  • Analytics: self-hosted or BAA-covered tool, event names only, no free-text fields.
  • Trade-off: React Native speeds two-platform delivery; native video SDK modules still need per-platform QA.

πŸ›‘οΈ Compliance controls

RequirementControl
PHI minimisationCollect only fields in the data model; no analytics on PHI fields
Vendor BAAsBAA signed before any vendor touches PHI (video, hosting, analytics)
Audit logsAuditEvent on every PHI read/write; retention [confirm with privacy officer]
Session timeoutInactivity sign-out, biometric re-auth
No PHI in pushServer-side template allowlist, tested in QA

This spec lists design controls; HIPAA compliance itself needs review by the privacy officer and counsel.

πŸ“ˆ Metrics and events

MetricEvent(s)Target
No-show rateappointment_booked, visit_joined, visit_no_show[confirm]
Time to bookbooking_started β†’ appointment_booked[confirm]
Video join successwaiting_room_opened, device_check_failed, visit_joined[confirm]
Accessibility issuesAudit findings log per release (not an app event)[confirm]

⚠️ Risks

RiskMitigation
EHR scheduling API limits slot accuracySpike in sprint 1; fallback to nightly sync + holds
Poor connectivity for older patientsPhone-audio fallback from waiting room
PHI leaks via logs or crash reportsScrubbing middleware, crash tool under BAA, QA checklist

🧭 Decisions needed first

  1. Which EHR integration route (direct FHIR vs integration engine) is approved?
  2. Which video vendor will sign a BAA, and is in-app or browser video required?
  3. Session timeout length and audit log retention period.

I can turn this into a sprint-by-sprint build plan with a HIPAA review gate, or a test plan covering accessibility and security.