Dental patient communication

SmileCue

More Smiles, Fewer No-Shows

SmileCue is a HIPAA-compliant patient communication platform that automates SMS, email, and voice reminders with adaptive, response-driven branching. It empowers dentists, hygienists, and office managers at small-to-medium practices to cut manual scheduling by 60%, boost confirmations to 85% within three months, and reduce no-shows up to 40%.

Subscribe to get amazing product ideas like this one delivered daily to your inbox!

SmileCue

Product Details

Explore this AI-generated product idea in detail. Each aspect has been thoughtfully created to inspire your next venture.

Vision & Mission

Vision
Empower dental teams to eliminate no-shows, reclaim staff time, and deepen patient relationships with effortless HIPAA-compliant outreach.
Long Term Goal
Empower 10,000 dental practices to cut no-shows by 30% and reclaim 20+ staff hours monthly within 3 years via HIPAA-compliant automated patient outreach.
Impact
Reduces no-shows up to 40% and raises appointment confirmations to 85% within three months for dentists, hygienists, and office managers at small practices, while cutting weekly scheduling time by 60%, freeing staff to focus on care and revenue-generating tasks.

Problem & Solution

Problem Statement
Dentists, hygienists, and office managers at small dental practices spend hours making manual appointment calls and texts yet still face frequent no-shows and low confirmations because generic schedulers lack HIPAA-safe personalization, adaptive follow-ups, and two-way messaging.
Solution Overview
Automated HIPAA-compliant outreach sequences personalized SMS, email, and voice using response-driven branching to confirm appointments and enable one-click rescheduling via calendar integration, replacing hours of manual calls with higher confirmation rates and fewer no-shows.

Details & Audience

Description
SmileCue is a HIPAA-compliant patient communication platform that automates appointment reminders, confirmations, and post-care follow-ups via SMS, email, and voice. It serves dentists, hygienists, and office managers at small-to-medium dental practices. SmileCue reduces no-shows up to 40%, cuts weekly scheduling time by 60%, and raises confirmations to 85% within three months. Its adaptive messaging sequences change tone and channel based on patient responses.
Target Audience
Dentists, hygienists, and office managers (30-55) at small practices, time-pressed, adopting automated reminders.
Inspiration
During a temp shift at a packed dental clinic, I watched the receptionist spend two hours dialing, leaving voicemails, and still lose three appointments. One patient missed an urgent crown repair because a reminder text arrived in the wrong language. That afternoon I sketched an empathetic, HIPAA-safe communication engine: adaptive messages that change tone, language, and channel until patients confirm or easily reschedule, sparing staff hours and lost care.

User Personas

Detailed profiles of the target users who would benefit most from this product.

T

Treatment Closer Carla

- Role: Treatment Coordinator at a 4-operatory general practice. - Experience: 7 years dental admin; former chairside assistant. - Location: Suburban Midwest; mid-range pay with bonus tied to acceptance. - Education: Dental assisting certificate; CE in case presentation.

Background

Started as a dental assistant, learning the cadence of patient trust. Built a spreadsheet follow-up system that broke under growth. Now pushes automation to reclaim time and prevent leads from going cold.

Needs & Pain Points

Needs

1. Automated follow-ups by treatment value and urgency. 2. Objection-based branching with approved responses. 3. Payment link reminders and financing prompts.

Pain Points

1. Leads stall without timely, tailored nudges. 2. Error-prone spreadsheet tracking and sticky notes. 3. Patients unreachable during traditional call windows.

Psychographics

- Obsessive about turning intent into action. - Empathy-first persuader; builds trust before asking. - Data validates every workflow change. - Hates friction; loves crisp, guided flows.

Channels

1. LinkedIn — dental groups 2. Dentaltown — case acceptance 3. Email — work inbox 4. YouTube — how-tos 5. Zoom — CE webinars

P

Pediatric Parent Priya

- Role: Office Manager at a 6-chair pediatric dental clinic. - Experience: 8 years in pediatrics; bilingual English–Spanish. - Location: Urban Sunbelt; high parent mobility; mid-income community. - Education: BA in Health Admin; AAPD member.

Background

Started as a receptionist juggling carpool-time chaos and guardianship forms. Built bilingual scripts to calm anxious parents. Now needs automation that respects family routines and languages.

Needs & Pain Points

Needs

1. Sibling bundling and guardian-specific messaging. 2. After-school and weekend slot targeting. 3. Multilingual templates with quick toggles.

Pain Points

1. No-shows around naps and school events. 2. Guardians change numbers frequently. 3. Consent forms delay scheduling.

Psychographics

- Family-centered scheduler with relentless empathy. - Champions clear, friendly, non-clinical language. - Pragmatic; favors tools parents actually use. - Measures success by calmer lobby visits.

Channels

1. Facebook Groups — pediatric dentistry 2. LinkedIn — office managers 3. Email — practice newsletters 4. AAPD Listserv — announcements 5. YouTube — parent education

O

Ortho Optimizer Owen

- Role: Scheduling Coordinator at a two-doctor orthodontic practice. - Experience: 5 years ortho; aligner and braces workflows. - Location: Suburban commuter belt; teen-heavy patient base. - Education: Some college; AAO continuing education.

Background

Cut his teeth managing chaotic after-school rushes. Built a color-coded board that failed during growth. Now seeks automation keyed to treatment phases and school calendars.

Needs & Pain Points

Needs

1. Recurring reminders mapped to treatment phases. 2. Missed-adjustment backfill with waitlist. 3. Bite-timer and elastic-wear nudges.

Pain Points

1. Teens ignore calls and emails. 2. Missed adjustments extend treatment months. 3. Peak after-school bottlenecks.

Psychographics

- Throughput-focused, never sacrificing patient experience. - Loves templates tied to clinical phases. - Prefers dashboards over digging into spreadsheets. - Competitive; benchmarks no-show rates weekly.

Channels

1. Orthotown — workflows 2. LinkedIn — orthodontic teams 3. Email — templates tips 4. YouTube — practice efficiency 5. AAO Webinars — scheduling

S

Surgery Prep Sam

- Role: Surgical Coordinator at a maxillofacial practice. - Experience: 6 years OMS scheduling and insurance. - Location: Regional hub; high referral volume. - Education: CMA; ACLS-certified; AAOMS member office.

Background

Learned the hard cost of day-of cancellations. Built binders of checklists that couldn’t scale. Now needs automated confirmations that catch noncompliance early.

Needs & Pain Points

Needs

1. Pre-op confirmations with fasting and escort checks. 2. Driver contact capture and reminders. 3. Post-op check-ins with symptom triage.

Pain Points

1. Day-of cancellations from fasting noncompliance. 2. Incorrect or missing escort details. 3. After-hours post-op call spikes.

Psychographics

- Risk-averse, compliance-first, relentlessly thorough, always. - Direct communicator; zero ambiguity tolerated. - Relishes checklists with clear escalation paths.

Channels

1. LinkedIn — surgical coordinators 2. AAOMS Webinars — compliance 3. Email — surgeon updates 4. YouTube — patient education 5. Vendor Docs — integration guides

C

Compliance Custodian Casey

- Role: Privacy/Compliance Officer or IT Manager. - Experience: 10+ years healthcare IT or operations. - Location: Multi-provider practice; regulated payer mix. - Certifications: HIPAA, Security+, occasional SOC 2 reviewer.

Background

Started in EHR administration during an OCR audit scare. Built access controls and incident playbooks. Now evaluates messaging tools for compliance, logging, and data lifecycle.

Needs & Pain Points

Needs

1. Signed BAA and documented safeguards. 2. Role-based access and SSO. 3. Immutable audit logs and exports.

Pain Points

1. Staff using personal phones for PHI. 2. Vendors vague on data retention. 3. Manual audit prep consuming weeks.

Psychographics

- Zero tolerance for ambiguous compliance claims. - Prefers evidence over promises; asks for artifacts. - Simplifies policies so staff actually comply. - Defaults to least privilege, always.

Channels

1. LinkedIn — healthcare security 2. HHS OCR — updates 3. Email — security advisories 4. Vendor Trust — security portals 5. Reddit — r/healthIT

A

Access Advocate Carmen

- Role: Dental Care Coordinator at FQHC community clinic. - Experience: 6 years safety-net operations; multilingual. - Location: Urban core; Medicaid-heavy; high housing mobility. - Education: Community health worker certification.

Background

Grew up locally translating for relatives at clinics. Built contact-update drives and transit reminder scripts. Now needs automation that adapts to unstable phones and shifting schedules.

Needs & Pain Points

Needs

1. Auto language detection and translation. 2. Voice fallback on SMS failure. 3. Bulk outreach with dynamic time windows.

Pain Points

1. Frequent number changes and disconnected phones. 2. Transportation and childcare disruptions. 3. Limited data plans block links.

Psychographics

- Equity-driven; prioritizes access over convenience. - Resourceful problem-solver under chronic constraints. - Patient advocacy guides every workflow choice.

Channels

1. Facebook Groups — community clinics 2. Email — grantee lists 3. NACHC Webinars — operations 4. WhatsApp — staff coordination 5. LinkedIn — safety-net networks

Product Features

Key capabilities that make this product valuable to its target users.

Jurisdiction Rules

Automatically applies state- and country-specific TCPA requirements, quiet hours, and consent classes (informational vs. marketing) based on patient location and channel. Eliminates guesswork for staff and reduces legal exposure by ensuring every send follows the right rule set without manual configuration.

Requirements

Jurisdiction Resolution Engine
"As an office manager, I want SmileCue to automatically determine each patient’s applicable jurisdiction and local time so that messages always follow the correct rules without manual setup."
Description

Determine the correct legal jurisdiction and local time context for each intended communication based on patient data (verified address, phone country code/area code, and stored timezone), with robust fallback logic when signals conflict or are missing. The engine outputs a normalized jurisdiction key (state + country) and timezone to downstream services and caches results for performance. It integrates with SmileCue’s orchestration layer so every SMS, email, and voice attempt is tagged with the jurisdiction before rule evaluation. It must handle edge cases (telemedicine across borders, relocated patients, PO Boxes, daylight saving changes) and expose confidence levels to allow conservative defaults (suppress or downgrade to informational). Expected outcome: every send path reliably knows “where the law applies” without staff input.

Acceptance Criteria
Precedence-Based Jurisdiction Resolution and Normalized Output
Rule: The engine resolves jurisdiction using precedence: verified physical address (non-PO Box) > phone number metadata (country code and NANP area code) > stored timezone > practice default. Rule: The engine outputs jurisdiction_key in the format COUNTRY-PRIMARY_SUBDIVISION (e.g., "US-CA"); if subdivision unavailable, output COUNTRY only (e.g., "CA"). Rule: The engine outputs timezone as a valid IANA tz identifier (e.g., "America/Los_Angeles"). Rule: Given identical inputs, the engine returns identical outputs (deterministic) across runs. Rule: If all signals are missing, the engine returns practice default jurisdiction_key and timezone with confidence="low" and reason_codes including "no_signals".
Conflict Resolution with Confidence Levels
Given two or more signals disagree on jurisdiction, When resolution occurs, Then the engine selects the highest-precedence signal and emits confidence levels: high when the top two signals agree; medium when only the top signal is usable; low when falling back to practice default or stored timezone only. Rule: The engine includes reason_codes enumerating which signals were used, which were discarded, and why (e.g., "phone_country_mismatch", "tz_only", "address_unverified_po_box"). Rule: The engine emits conflict_summary=true when any lower-precedence signal disagrees with the chosen jurisdiction. Rule: Confidence and reason_codes are included in the response and the orchestration tag for downstream use.
DST-Safe Timezone Resolution
Given a send scheduled at 2025-03-09T09:55:00Z for a patient in "America/Los_Angeles", When resolution occurs, Then local time is 01:55 and quiet-hour evaluation uses PST; given 2025-03-09T10:05:00Z, then local time is 03:05 and PDT applies. Given a send scheduled at 2025-10-26T00:30:00Z for a patient in "Europe/Berlin", When resolution occurs, Then local time and offset reflect CET/CEST accurately across the fall-back hour with no duplicate or skipped hour errors. Rule: The timezone database is versioned and updated at least monthly; tzdb_version is included in diagnostics.
Caching and Invalidation for Jurisdiction Resolution
Rule: Resolutions are cached by patient_id plus signal fingerprints (address_hash, phone_hash, tz_value) with a TTL of up to 24h. Rule: Cache entries are invalidated within 5 seconds of any change to address, phone, or stored timezone. Rule: After invalidation, subsequent resolutions use updated signals and emit cache_status="miss_fresh". Rule: In steady state with unchanged profiles, P95 resolution latency is <= 50 ms and cache_hit_rate >= 80% under production-like load.
Pre-Rule Orchestration Tagging Across Channels
Given an SMS, email, or voice attempt enters orchestration, When the engine resolves jurisdiction, Then the attempt is tagged with jurisdiction_key, timezone, confidence, and reason_codes before any TCPA/quiet-hour rule evaluation. Rule: If the engine cannot produce a jurisdiction_key and timezone, the attempt is not dispatched; orchestration marks it blocked with error_code="jurisdiction_unresolved". Rule: Tags persist on the attempt record and are available in audit logs and analytics. Rule: Tagging is idempotent; re-evaluating the same attempt with unchanged inputs does not create duplicate tags.
Cross-Border Telemedicine and Mixed Signals
Given appointment_type="telehealth" and the patient’s verified address country differs from the practice country, When resolving jurisdiction, Then the engine prefers the patient’s verified address per precedence and outputs that jurisdiction_key and timezone. Given phone metadata indicates a different country than the verified address, When resolving, Then the verified address still governs and confidence is high unless the address is unverified, in which case confidence is medium and conflict_summary=true. Rule: Quiet-hour checks for telehealth use the patient’s timezone from the resolution output.
Auditability and Traceability
Rule: Every resolution produces an immutable audit record containing: patient_id (hashed), timestamp, input signals and hashes, chosen jurisdiction_key, timezone, confidence, reason_codes, cache_status, and tzdb_version. Rule: Audit records are queryable by time range and patient_id hash and retained for at least 24 months. Rule: A sampling endpoint returns resolution distributions by jurisdiction and confidence to support compliance monitoring.
Rule Library & Versioning
"As a compliance officer, I want a maintained, versioned library of TCPA and regional rules applied automatically so that the practice stays compliant as laws change."
Description

Maintain a centralized, versioned library of TCPA and regional regulations covering quiet hours, consent classes (informational/transactional vs marketing), channel constraints (SMS/email/voice), frequency caps, and required disclosures by jurisdiction. Rules are modeled as declarative policies with effective dates and precedence, enabling hotfix updates without code changes. The service provides a deterministic evaluator that resolves the active rule set given a jurisdiction, channel, purpose, and timestamp. It logs the rule version hash used per decision for traceability and supports staged rollouts (preview/test) before enforcement. Expected outcome: current, authoritative rules applied consistently across all sends with auditable provenance.

Acceptance Criteria
Deterministic Rule Evaluation for Send Decision
Given a jurisdiction code, channel in {SMS, Email, Voice}, purpose in {Informational, Marketing}, and a UTC timestamp When the evaluator is invoked with these inputs Then it returns exactly one decision containing: outcome in {ALLOW, DEFER, BLOCK}, defer_until (nullable), required_disclosures[], consent_class, frequency_cap_remaining, policy_set_id, policy_version_hash, evaluation_id And repeated invocations with identical inputs return the same outcome and policy_version_hash And the evaluator responds within p95 <= 150 ms at 200 RPS sustained load
Quiet Hours Enforcement in Patient Local Time
Given a patient location resolvable to a time zone and jurisdictional quiet hours window When the evaluator processes a UTC timestamp Then it converts to the patient’s local time and if within quiet hours sets outcome=DEFER and defer_until to the next permissible local time boundary And daylight saving transitions are honored so no message is sent during defined local quiet hours And defer_until is computed to the minute with no early sends across all supported channels
Consent Class and Channel Constraints Enforcement
Given purpose=Marketing and channel=SMS with no valid SMS marketing opt-in per jurisdiction When the evaluator runs Then it returns outcome=BLOCK and includes reason "consent_missing" and no required_disclosures Given purpose=Informational and channel=SMS where transactional messaging is permitted When the evaluator runs Then it returns outcome=ALLOW and includes required_disclosures per jurisdiction And per-channel, per-purpose frequency caps are enforced; when the cap is exceeded within the defined rolling window the outcome=BLOCK with reason "frequency_cap_exceeded"
Jurisdiction Precedence and Fallback
Given policies exist at Global, Country, State/Province, and Local levels with defined precedence Local > State > Country > Global When multiple policies are applicable for the same inputs and timestamp Then the evaluator selects the highest-precedence policy whose effective date range includes the timestamp And if no applicable policy exists at any level, the evaluator fails safe with outcome=BLOCK and reason "no_applicable_rule" And if the highest-precedence policy is not yet effective, the next lower-precedence active policy is used
Rule Library Versioning and Hotfix Activation
Given an authorized admin uploads a new policy version (policy_set_id, version_hash, effective_from, precedence) via API When the version is activated Then new decisions use this version within 10 minutes without service restart or code deployment And prior versions remain retrievable via API by version_hash And policy versions are immutable; attempts to modify an existing version are rejected with a validation error
Staged Rollouts with Preview/Test Mode
Given a candidate policy version is set to preview When the evaluator runs Then it computes both current and candidate outcomes and records a diff linked to evaluation_id without changing the enforced outcome And preview telemetry (match rate, allow/block/defer deltas, top rule differences) is queryable via API for a time range And promoting the candidate switches enforcement to that version; rollback to the prior version is possible via a single API call
Decision Logging and Auditability
Given any evaluation completes When the decision is logged Then the record includes evaluation_id, policy_set_id, policy_version_hash, jurisdiction, channel, purpose, input timestamp, outcome, reasons, defer_until, required_disclosures, consent_snapshot_id And decision logs are retained for 7 years and are immutable And an audit API can retrieve a decision by evaluation_id or message_id with p95 latency <= 2 seconds And a verification endpoint returns a SHA-256 digest of the policy document matching the policy_version_hash
Consent Matrix & Double Opt-In
"As a patient intake coordinator, I want the system to track and enforce consent by channel and purpose, including double opt-in where required, so that only permitted messages are sent."
Description

Model, capture, and enforce consent by channel (SMS, email, voice) and purpose (informational vs marketing) at the patient level, including jurisdiction-specific requirements for double opt-in and opt-out keywords. Ingest consent from intake forms, inbound messages (e.g., STOP/UNSUBSCRIBE), and EHR/PM integrations; timestamp and store consent provenance. Provide automatic downgrading of messages to informational when marketing consent is absent and suppression when no lawful basis exists. Sync consent state to the send pipeline in real time and reconcile discrepancies with external systems. Expected outcome: only permitted communications are delivered, with clear evidence of consent or lawful basis per message.

Acceptance Criteria
SMS Double Opt-In Enforcement by Jurisdiction
Given a patient’s location resolves to a jurisdiction requiring double opt-in for SMS marketing And the patient has not previously confirmed SMS marketing opt-in When the practice attempts to enroll the patient in any SMS marketing campaign Then the system sends a single confirmation-request SMS using the jurisdiction-approved template outside restricted quiet hours And blocks all SMS marketing sends until a valid confirmation keyword is received And upon receiving a valid confirmation keyword within 30 days, the system marks SMS marketing consent as Granted with timestamp and source And upon receiving an opt-out keyword or receiving no confirmation within 30 days, the system marks SMS marketing consent as Denied and suppresses marketing SMS And all actions are logged with the jurisdiction rule version applied
Opt-Out Keywords Suppress Further Sends
Given any inbound message on SMS, email, or voice that matches the jurisdiction-specific opt-out keywords for that channel and purpose When the message is received Then the system updates the patient’s consent state to Revoked for the matching channel and purpose with timestamp and source=Inbound And suppresses all further messages for that channel and purpose within 60 seconds across all campaigns and automations And sends a one-time opt-out confirmation where permitted by jurisdiction; otherwise no confirmation is sent And logs the event and the suppression reason in the audit trail
Intake Form Consent Capture with Timestamped Provenance
Given a patient completes a SmileCue intake form selecting consent checkboxes per channel (SMS, email, voice) and purpose (informational, marketing) When the form is submitted Then the system records a separate consent event per selected channel and purpose with timestamp, IP, user agent, form ID and version, and location determination method And associates the events to the patient record and marks corresponding consent states as Granted And triggers any required double opt-in workflows per jurisdiction for channels/purposes that require confirmation And rejects submissions with ambiguous or partially completed consent fields, prompting the patient to review
EHR/PM Consent Import and Conflict Reconciliation
Given an EHR/PM integration provides consent indicators with timestamps per channel and purpose When imported consent conflicts with SmileCue’s current consent state Then the system reconciles by applying the event with the latest valid timestamp per channel and purpose; if timestamps are equal or missing, opt-out (revocation) takes precedence And records a reconciliation entry detailing source systems, timestamps compared, decision taken, and affected fields And emits a webhook and dashboard notification when a patient’s consent state changes due to reconciliation
Automatic Messaging Downgrade Without Marketing Consent
Given a marketing message is scheduled for a patient who lacks marketing consent but has informational consent for the same channel When the message is evaluated by the send pipeline Then the system automatically substitutes the configured informational template variant for that message and updates tracking to informational classification And if no informational variant exists, the system suppresses the send and records a suppression with reason=No Lawful Basis And no marketing content is delivered to the patient in either case
Real-Time Consent State Sync to Send Pipeline
Given any consent change event is persisted (e.g., opt-in, opt-out, downgrade, reconciliation) When the event is committed to the consent ledger Then the send pipeline reflects the new state within 5 seconds and re-evaluates all pending messages for the affected patient And cancels in-flight messages that are now prohibited and prevents any further prohibited sends And adds a pipeline action log entry linking the consent event to each canceled or allowed message
Per-Message Lawful Basis Evidence and Auditability
Given any message is delivered, downgraded, or suppressed When a user views the message detail in the communication log Then the system displays the evaluated lawful basis (e.g., explicit consent, treatment, implied) with channel, purpose, consent event ID, timestamp, source, and jurisdiction rule set/version applied at decision time And provides an exportable evidence bundle (PDF and CSV) containing the message content/metadata and the consent provenance records And ensures evidence records are immutable and include a cryptographic hash for tamper detection
Quiet Hours Enforcement & Rescheduling
"As an office manager, I want messages to be automatically paused and rescheduled outside quiet hours based on patient location so that we respect regulations and avoid complaints."
Description

Automatically enforce jurisdiction-specific quiet hours by evaluating the patient’s local time prior to send. If outside allowed hours, place the message into a deferred queue and reschedule to the earliest permissible window while preserving SmileCue’s branching logic and dependencies (e.g., confirmation windows). Support practice-defined stricter hours, emergency bypass for critical care notices, and volume smoothing at window openings to avoid carrier spam heuristics. Handle daylight saving transitions and leap day edge cases. Expected outcome: compliant timing of communications without manual calendar adjustments, reducing complaints and legal risk.

Acceptance Criteria
Defer and Reschedule Outside Quiet Hours
Given a message to a patient whose local time falls within quiet hours for the channel and jurisdiction When a send is attempted Then the system must not send the message And it must place the message into a deferred queue with reason "Quiet Hours" And it must reschedule the message to the earliest permissible time within the same calendar day if any sendable window remains, otherwise the next calendar day at the window opening And the planned send timestamp is updated in message metadata And no retries are attempted during quiet hours
Jurisdiction and Channel Quiet Hours Selection by Patient Location
Given a patient has a resolvable location and timezone and a message channel C When determining the permitted send window Then the system applies quiet hours defined for the patient's country and state/province for channel C And if country and state rules differ, the stricter (longer quiet-hours span) is applied And permitted window calculations use the patient's local timezone derived from their location
Practice-Defined Stricter Hours Override
Given a practice has configured quiet hours that are stricter than jurisdiction defaults for a channel When sending or rescheduling messages for that practice Then the system enforces the stricter practice-defined hours And if practice settings are looser than jurisdiction rules, jurisdiction rules prevail
Emergency Bypass for Critical Care Notices
Given a message is tagged Emergency and of consent class Informational And the patient's local time is within quiet hours When the message is queued Then the system bypasses quiet hours and sends immediately And the bypass event is recorded with reason "Emergency" And if the message is of consent class Marketing, bypass is not allowed and the message is deferred per quiet hours
Preserve Branching Logic and Time-Dependent Windows
Given a message belongs to a workflow branch with a deadline constraint (e.g., must be sent at least X hours before appointment) When a send is deferred due to quiet hours Then the rescheduled time must still satisfy the branch's temporal constraints and dependencies And if no permissible reschedule exists before the branch's expiry, the message is canceled with status "Expired" and the defined alternate branch is triggered And downstream nodes dependent on this message update their schedules accordingly
Volume Smoothing at Quiet-Hour Window Opening
Given N deferred messages for a practice and channel share the same window opening at time T0 When T0 is reached Then the system applies uniform random jitter of 0–600 seconds to the rescheduled messages And it enforces default per-practice per-channel throughput caps of SMS ≤ 30/minute, Email ≤ 120/minute, Voice ≤ 10/minute (configurable) And no patient's messages are sent less than 60 seconds apart on the same channel And the backlog of size ≤ cap*10 is fully dispatched within 10 minutes of T0
Daylight Saving and Leap Day Scheduling Integrity
Given a patient's timezone enters Daylight Saving Time (spring forward) and 02:00–02:59 local time does not exist When a message reschedules into the nonexistent hour Then it is moved to the earliest permissible minute at or after 03:00 local time, respecting quiet hours Given a patient's timezone exits Daylight Saving Time (fall back) and 01:00–01:59 repeats When a message is rescheduled into the repeated hour Then it is sent only once at the scheduled wall-clock time without duplication Given February 29 exists in the current year When a message is deferred across Feb 28–Mar 1 due to quiet hours Then rescheduling uses the correct calendar date, and messages targeted for Feb 29 are delivered on Feb 29 at the earliest permissible time
Compliance Pre-Check Guardrails
"As a hygienist, I want the system to pre-check each message and block or adjust content and format when it violates rules so that I don’t accidentally send non-compliant communications."
Description

Introduce a pre-send compliance validator that evaluates channel, content type, consent state, frequency caps, and jurisdictional rules before dispatch. The validator blocks sends that violate policy, downgrades marketing content to informational when allowed, injects mandated disclosures/opt-out language, and enforces channel-specific constraints (e.g., voice to mobile restrictions, SMS length and opt-out footer). Provide clear, actionable error/warning messages to staff and APIs, and expose override paths only where legally permitted (with justification capture). Expected outcome: prevention of non-compliant sends and consistent, explainable guardrails within existing workflows.

Acceptance Criteria
Block Sends Outside Jurisdiction Rules and Quiet Hours
Given a patient’s jurisdiction is resolved and local time falls within quiet hours And the message content is classified as marketing without the required consent level for that jurisdiction and channel When the system validates a pending send (SMS, email, or voice) Then the validator blocks the send And returns error code COM-001 with a human-readable message indicating the violated rule(s) And includes ruleRef(s) and jurisdictionId in the response payload And no message is queued or sent And an audit log entry is created capturing userId/apiKey, decision=blocked, ruleRef(s), timestamp, and requestId
Automatic Downgrade of Marketing to Informational When Allowed
Given a message is tagged as marketing And the jurisdiction rule set permits downgrading marketing to informational for this use case and channel And the recipient has valid informational consent When the system validates the send Then the validator changes classification from marketing to informational And injects all required informational disclosures/footers And allows the send to proceed And returns warning code COM-201 indicating downgrade occurred with ruleRef And records an audit entry with action=downgrade, originalClass, newClass, ruleRef, and timestamp
Mandated Disclosures and SMS Length Handling
Given channel=SMS and content is compliant for the jurisdiction And the jurisdiction requires an opt-out footer (e.g., "Reply STOP to opt out") When the validator appends mandated disclosures Then if total length fits within up to 3 concatenated segments for the detected encoding, the message is allowed with the footer appended And a warning COM-202 is returned indicating final segment count Then if total length would exceed 3 segments, the validator blocks the send And returns error COM-002 with guidance to shorten content or switch channel And no partial messages are sent
Voice Channel Mobile-Only Enforcement
Given channel=voice And the applicable jurisdiction restricts this content class to mobile numbers only And the target number is classified as non-mobile (e.g., landline/unknown) When the validator evaluates the send Then the validator blocks the send And returns error COM-003 with message "Voice to non-mobile prohibited in this jurisdiction for this content class" And suggests compliant alternatives (e.g., SMS or email) when available And logs the decision with ruleRef and numberType
Frequency Caps by Channel and Content Class
Given a recipient has received N messages via SMS for appointment-related content within the last 7 days And the jurisdiction/org-configured cap for this channel and content class is N per 7 days When another non-urgent message is validated Then the validator blocks the send or schedules it at the next eligible time if auto-reschedule is enabled And returns code COM-004 with nextEligibleSendAt and capDetails And no message is dispatched before the cap window resets And an audit entry records the cap violation with counts and window
Structured UI/API Validation Response
Given a send request is evaluated via UI or API (single or bulk) When validation completes Then the response contains overallDecision in {allow, allow_with_warnings, block} And includes arrays of codes, messages, and ruleRefs per recipient And contains overrideAllowed boolean and requiredJustificationFields when true And for bulk requests, each recipient has an independent decision object and no compliant recipient is blocked by others And the 95th percentile validation latency for single-recipient requests is ≤300ms under nominal load
Legally Permitted Overrides with Justification and Audit
Given a validation result is block and overrideAllowed=true per the applicable rule And the user holds the Compliance Override role/permission When the user submits an override with a justification reason and a free-text explanation of at least 20 characters Then the validator allows the send And records an immutable audit entry with userId, timestamp, ruleRef, decision=overridden_allow, justificationReason, justificationText, and sourceIp And the audit record is retrievable via API within 5 seconds When overrideAllowed=false, the UI/API does not present an override option and any attempt returns HTTP 403 with code COM-403
Immutable Compliance Audit Trail
"As a practice owner, I want detailed, exportable logs showing why a message was or was not sent, what rules applied, and what consent was on record so that I can respond to audits and disputes."
Description

Create an immutable, privacy-aware audit trail for all compliance decisions and message attempts. Each record stores the patient pseudonymous identifier, timestamp, jurisdiction and timezone used, consent snapshot and provenance, rule version hash, decision outcome (sent/suppressed/downgraded/deferred), disclosures applied, and quiet-hours reschedule data. Support tamper-evident storage, configurable retention aligned with HIPAA, PHI minimization/redaction, and export APIs for audits and legal inquiries. Provide filters and reports by jurisdiction, channel, and outcome. Expected outcome: defensible evidence for audits and disputes without exposing unnecessary PHI.

Acceptance Criteria
Record Completeness per Decision Event
Given a message attempt is evaluated for delivery When the system finalizes a compliance decision (sent | suppressed | downgraded | deferred) Then an audit record is persisted before any dispatch containing: pseudonymous_patient_id; utc_timestamp (ISO 8601, ms precision); jurisdiction (country/state code) and iana_timezone used; channel; consent_snapshot {class, status, scope, captured_at}; consent_provenance {source_system, method, record_id}; rule_version_hash (SHA-256 hex); decision_outcome; disclosures_applied {ids, content_hash}; quiet_hours {original_at, rescheduled_at, reason} when applicable; and a unique immutable record_id (UUIDv4) And the write succeeds with p95 latency <= 100 ms And if the write fails, the decision is not executed and the attempt is retried until persisted or marked failed with an error code
Tamper-Evident Append-Only Log
Given the audit store is configured When any actor attempts to update or delete an existing record prior to retention expiry Then the operation is rejected and recorded in a security audit log And each record includes record_hash = SHA-256(canonical_payload + previous_record_hash) enabling a hash chain And a verify-integrity operation over any range detects modification and identifies the first invalid link And a daily chain_anchor_hash is sealed to write-once storage, and verification can start from the nearest anchor
PHI Minimization and Pseudonymization
Given audit records are persisted Then no raw PHI fields are stored (full name, DOB, full phone/email, message body, free text) And patient references use pseudonymous_patient_id; channel addresses are masked (e.g., phone last4, email local-part hashed) when stored And disclosures_applied stores IDs and content_hash, not full text And export APIs default to redacted output (include_phi=false) and require audit.read.phi scope to request minimally expanded fields
Configurable Retention and Legal Hold
Given a retention policy is set to N years When records exceed N years Then they are purged within 24 hours, leaving a cryptographic tombstone preserving chain integrity and purge metadata {purged_at, reason} And when a legal hold is applied to a patient, jurisdiction, or date range Then matching records are excluded from purge and marked with legal_hold_id and applied_at And retention changes apply prospectively and are auditable
Export API with Filters and Pagination
Given an authorized user with scope audit.read requests an export with filters {date_from, date_to, jurisdiction, channel, outcome} When the request is valid Then the API returns 200 with results filtered accordingly in the requested format (JSON or CSV), sorted by utc_timestamp ascending, with pagination (page_size up to 10000) and a next_cursor when more data exists And requests over 1000000 records are processed asynchronously, returning a job_id and completion webhook or polling endpoint within 2 seconds And the API enforces rate limits (e.g., 60 req/min per tenant) and returns 429 with Retry-After when exceeded And all export requests and deliveries are themselves logged in the audit trail with requester_id and purpose
Aggregated Reports by Jurisdiction, Channel, Outcome
Given a reporting request with filters {date_range, jurisdictions[], channels[], outcomes[]} When the report is generated Then the system returns counts grouped by jurisdiction, channel, and outcome with totals, and an optional daily breakdown in a specified timezone And reported counts reconcile exactly with the raw audit records for the same filters And report generation completes within 10 seconds for up to 30 days of data
Quiet Hours Reschedule Traceability
Given a send falls within a jurisdiction's quiet hours When the system defers the message Then the audit record captures quiet_hours {window_start, window_end, rule_timezone, reason="quiet_hours"} plus original_scheduled_at and rescheduled_for And upon actual dispatch, a subsequent record links back via prior_decision_id and records decision_outcome="sent" with the same rule_version_hash and jurisdiction snapshot And if consent changes before rescheduled_for, the new decision outcome and consent_snapshot are recorded with linkage to the original deferral

Evidence Vault

Generates immutable, audit-ready evidence packs for each consent event, including timestamp, channel, language, template version, user/source, and IP/caller ID where applicable. One-click export with role-based access lets compliance leads respond to audits or carrier inquiries in minutes instead of days.

Requirements

Tamper-Evident Consent Ledger
"As a compliance lead, I want each consent event recorded in a tamper‑evident ledger so that I can prove integrity and non‑repudiation during audits."
Description

Implement an append-only, cryptographically verifiable ledger to record every consent event with required metadata (timestamp, channel, language, template version, user/source, IP/caller ID). Entries are chained via hashes with periodic anchors (e.g., daily Merkle root) and stored on immutable, retention-enforced storage (e.g., WORM/S3 Object Lock). Each event receives a globally unique Consent Event ID. Data is encrypted at rest and in transit, with managed keys and rotation. Provide a verification service to validate event integrity against the anchored hashes. Integrate with SmileCue’s consent capture flows across SMS, email, and voice so ledger writes are synchronous and resilient with idempotency. Support retention policies aligned with HIPAA and business rules, high availability, and backfill/migration for legacy consent events. Outcome: defensible, non-repudiable records ready for audit.

Acceptance Criteria
Required Metadata and Consent Event ID
Given a consent is captured via SMS, email, or voice When the ledger write is attempted Then the record must include: ConsentEventID (globally unique, time-sortable), serverTimestamp (UTC ISO 8601), channel ∈ {sms,email,voice}, language (BCP 47), templateVersion (semver), userOrSource, tenantId, and networkIdentifier appropriate to channel (IP for web/email, callerId for voice when available) And the write is rejected with a 4xx and no append occurs if any required field is missing or malformed And upon successful write the read API returns the exact persisted metadata for that ConsentEventID And across 1,000,000 generated events there are zero duplicate ConsentEventIDs
Append-Only Immutability Enforcement
Given an existing ledger record When a client attempts to update or delete it via any API or admin tool Then the operation is blocked (HTTP 405/409) and no stored bytes are altered And a correction can only be recorded by appending a new compensating record that references the original ConsentEventID And audit logs capture the blocked mutation attempt with actor, timestamp, and reason
Synchronous Write and Idempotency Across Channels
Given a user provides consent in SmileCue via SMS link, email link, or IVR When the consent is submitted Then the application only marks the consent as captured after the ledger confirms a committed append And end-to-end additional latency introduced by the ledger commit is ≤ 300 ms at p95 under 200 requests/minute per tenant And if the client retries with the same Idempotency-Key within 24 hours Then the ledger returns the original ConsentEventID and does not create a duplicate entry And concurrent duplicate submissions (race within 1 second) yield a single persisted record And on transient failures the system retries with exponential backoff up to 3 times before surfacing an error, ensuring no partial writes
Hash Chain Integrity and Daily Merkle Anchoring
Given a sequence of events within a day When each event is written Then its hash includes the previous event hash and the record payload, producing a verifiable chain And by 00:10 UTC next day the system publishes and stores the daily Merkle root for all events from that UTC day Given a ConsentEventID When the verification service is called Then it returns Verified with the proof path and daily anchor hash if the record is intact And returns Tampered with mismatch details if any byte differs from the anchored hash And recomputing the Merkle root from raw events matches the stored anchor exactly
Immutable WORM Storage with Retention Enforcement
Given ledger data objects are written to storage with Object Lock (Compliance mode) When a user without Compliance role attempts to delete or shorten retention before the retentionUntil date Then the operation fails and no bytes are removed or altered And retention policies are configurable per tenant (default 6 years; cannot be reduced below minimum) And legal hold can be enabled/disabled only by Compliance role and is fully audited And storage metadata exposes retentionUntil and legalHold state for each object
Encryption and Managed Key Rotation
Given ledger data at rest Then it is encrypted with a managed KMS CMK (AES-256) and access is limited to approved service roles And KMS key rotation occurs at least annually without downtime and without loss of decryptability for historical records Given any client/service connects to the ledger or verification API When using TLS Then only TLS 1.2+ with modern ciphers is accepted and lower versions are rejected And key usage (encrypt/decrypt) and admin actions are logged and exportable for audit
Legacy Consent Backfill and Migration
Given legacy consent records exist outside the ledger When the backfill job runs Then each legacy record is mapped to required metadata, marked origin=legacy, assigned a ConsentEventID, appended to the ledger, and included in the day’s Merkle root And the job is idempotent: reruns produce no duplicate ledger entries (same idempotency key → same ConsentEventID) And throughput is ≥ 10,000 events/hour with ≥ 99.9% success rate, producing a completion report with counts and failures And a random 1% sample verified via the verification service returns Verified
One-Click Evidence Pack Export
"As a compliance lead, I want to export a complete evidence pack with one click so that I can respond to auditor requests within minutes."
Description

Generate an audit-ready evidence pack for any consent event with a single action. The pack includes a human-readable summary and a machine-readable JSON bundle containing: consent text snapshot (rendered message), language/locale, template version, timestamp, channel, user/source, IP/caller ID, hash-chain proofs, delivery receipts, patient responses/branching transcript, and policy/version references. Export formats: PDF (watermarked, paginated, sealed with timestamp) and JSON (schema-versioned). Include a QR/code link to a verification endpoint to validate integrity. Support batch export for multiple events, and allow inclusion/exclusion of PHI per role policy. Integrate with RBAC and audit logging; all exports are recorded with user, time, and reason codes. Outcome: rapid, consistent auditor-ready documentation.

Acceptance Criteria
Single Event One-Click Export Generates Complete Pack
Given a user with Export Evidence permission views a consent event When they click "Export Evidence Pack" Then two files are generated: a watermarked, paginated PDF sealed with a UTC timestamp and a schema-versioned JSON bundle And the pack includes: consent text snapshot (rendered message), language/locale, template version, event timestamp (ISO 8601, UTC), channel, initiating user/source, IP address and/or caller ID (where applicable), hash-chain proofs, delivery receipts, patient responses and branching transcript, and policy/version references And the PDF contains a scannable QR code and short code link to the verification endpoint And the JSON bundle includes a schemaVersion field and validates against the current published schema And the export completes within 3 seconds at p95 for a single event ≤ 2 MB
Role-Based PHI Inclusion/Exclusion Controls
Given RBAC policies define that Compliance Leads may include PHI and Front Desk users may not When a Compliance Lead exports an evidence pack Then the UI presents an "Include PHI" toggle (default Off) And enabling the toggle includes PHI fields; disabling redacts PHI fields (e.g., name, DOB, phone, email, MRN) with clear redaction markers in both PDF and JSON When a Front Desk user exports Then the "Include PHI" control is hidden or disabled and PHI is always excluded And the export metadata records whether PHI was included And automated tests verify no PHI tokens appear in outputs when PHI is excluded
Batch Export for Multiple Consent Events
Given a user selects 10–500 consent events across patients and channels When they choose "Export Evidence Pack (Batch)" Then the system generates a ZIP containing per-event files {eventId}.pdf and {eventId}.json and a manifest.json And the manifest lists eventId, file checksums (SHA-256), schemaVersion, PHI inclusion flag, start/end timestamps, and success/error status per event And per-event failures do not abort the batch; failures are captured with error codes and messages in the manifest And the batch completes within 2 minutes at p95 for 500 events with average pack size ≤ 2 MB And all processed events (success and failure) are written to the audit log with the selected reason code
Export Audit Logging with Reason Codes
Given export reason codes are configured (Audit, Carrier Inquiry, Legal, Other + free text) When any export (single or batch) is initiated Then the user must select a reason code (and provide notes if Other) And an immutable audit log entry is created containing: exportId, userId, role, timestamp (UTC), source IP, reason code and notes, eventIds, PHI inclusion flag, item counts, and outcome (success/failure) And admins can retrieve the audit record by exportId via UI and API And attempts without a reason code are blocked with a validation error and no files are generated
Verification Endpoint and Tamper Detection via QR/Link
Given a verifier scans the PDF QR code or opens the printed short link When the verification endpoint is requested with the pack’s token Then the service returns integrity status (Valid/Invalid), eventId, pack timestamp, and a hash that matches the embedded hash-chain proofs And if the PDF or JSON has been altered, the status is Invalid with a specific reason code (e.g., HASH_MISMATCH) And the verification response never returns PHI And the endpoint meets p95 latency < 500 ms and monthly availability ≥ 99.9%
Multichannel Multilingual Fidelity in Evidence Pack
Given consent events were sent via SMS, Email, and Voice/IVR in English and Spanish When an evidence pack is exported Then the PDF renders the consent text snapshot exactly as sent (including line breaks, emojis, and directionality), and shows channel, template version, and language/locale (BCP 47) And the JSON includes channel, templateVersion, language/locale, and delivery artifacts And SMS entries include carrier delivery receipts when available; Email includes provider delivery status; Voice includes caller ID and call SID; missing receipts are marked Not Available with provider reason And special characters are preserved in both PDF and JSON without substitution
Unauthorized Export Attempts Are Prevented
Given a user without Export Evidence permission attempts to export (UI or API) When they submit an export request (single or batch) Then the request is denied with HTTP 403 and a user-facing message indicating insufficient permissions And no PDF/JSON files are generated and no download links are created And the denial is recorded in the audit log with userId, time, IP, and denial reason
Role-Based Access & Least-Privilege Controls
"As a practice owner, I want role-based controls on evidence access so that only authorized users can view or export sensitive records."
Description

Introduce RBAC tailored to the Evidence Vault with predefined roles (e.g., Compliance Admin, Staff Viewer, External Auditor—Read Only) and granular permissions for view, export, share, and redact. Enforce MFA and support organization SSO/SAML/SCIM for user lifecycle. Scope access by location/provider and patient to minimize PHI exposure. Provide admin UI and APIs to assign roles, define approval workflows for external sharing, and apply policy-based redactions by role. Integrate with existing SmileCue org/tenant model and propagate permissions to export and share flows. Outcome: controlled, auditable access aligned with HIPAA minimum necessary standard.

Acceptance Criteria
Compliance Admin Assigns Roles via Admin UI
- Given an org tenant with predefined roles, when a Compliance Admin assigns the "Staff Viewer" role to user U with scope Location=A and Provider=X in the Admin UI, then U can access Evidence Vault with view-only permissions limited to that scope within 60 seconds. - Given role assignment or removal occurs, when the change is saved, then an immutable audit log entry is recorded with orgId, actorId, targetUserId, roles added/removed, scopes, timestamp (UTC), and source IP. - Given a user has no explicit permission for an action, when they attempt view/export/share/redact, then the system enforces least-privilege (deny by default), returns 403, and logs the attempt. - Given a Compliance Admin removes all roles from U, when U attempts to access Evidence Vault, then access is blocked and any active session is revoked within 1 minute.
Scoped Access by Location/Provider/Patient
- Given user U has Staff Viewer role scoped to Location=A only, when U lists or searches Evidence Vault items, then only evidence for Location=A is returned and counts exclude out-of-scope items. - Given U attempts to open an out-of-scope evidence record via direct URL or API ID, when the record belongs to Location≠A or a different provider/patient scope, then the response is 404 Not Found and an access-denied audit event is recorded. - Given U is additionally scoped to a patient list [P1, P2], when U queries Evidence Vault, then only evidence for P1 and P2 at Location=A is visible; all others are hidden.
External Auditor Read-Only with Time-Bound Access
- Given a Compliance Admin creates an External Auditor invitation with scope (locations/providers/date range) and expiry T, when the auditor accepts the invite and completes authentication, then the auditor can view only in-scope evidence and cannot export, share, or redact (UI controls hidden; API returns 403 for those endpoints). - Given the invitation expires at T, when the auditor attempts access after T, then access is revoked (401/expired) and the event is logged. - Given the Compliance Admin revokes the invitation prior to T, when the auditor attempts to use the link, then access is immediately invalid (410 Gone) and an audit entry is recorded.
MFA Enforcement and Sensitive-Action Step-Up
- Given any user attempts to access Evidence Vault and is not enrolled in MFA, when they sign in, then the system requires MFA enrollment (TOTP primary; SMS fallback if enabled by org policy) before granting access. - Given a user with permission initiates export, redact, or external share, when the user has not completed MFA within the last 5 minutes, then a step-up MFA challenge is required and failure denies the action. - Given org policy disables SMS fallback, when a user attempts to enroll via SMS, then the option is unavailable and only approved methods are offered.
SSO/SAML Authentication and SCIM Lifecycle
- Given SAML SSO is configured, when a user authenticates via the IdP, then SmileCue establishes a session mapped to the correct org/tenant and applies Just-In-Time role/scoping mappings from SAML attributes if configured; otherwise the user has no roles (no access). - Given SCIM creates/updates user U with roles and scopes, when the SCIM call succeeds (2xx), then the changes take effect within 5 minutes and are reflected in the Admin UI and permission checks. - Given SCIM deprovisions user U, when the deprovision call succeeds, then new logins are blocked immediately and existing sessions lose Evidence Vault access within 5 minutes; attempts are logged as deprovisioned.
Policy-Based Redaction by Role Across UI, API, and Exports
- Given a role lacks permission view_full_phi, when viewing evidence details, then PHI fields (e.g., phone numbers masked to last 4, IP/caller ID hidden or tokenized) are redacted per policy version V. - Given an export (CSV/PDF/JSON) is generated by a user without view_full_phi, when the file is produced, then the same redactions are applied and the export includes a redaction manifest noting fields redacted and policy version V. - Given a share link is created for a recipient role lacking view_full_phi, when the recipient accesses the data, then redactions are enforced server-side and are non-reversible because underlying values are omitted from payloads. - Given policies are updated to V+1, when a user requests data thereafter, then redactions reflect V+1 and the audit log records policy version applied.
Permission Propagation to Export/Share with Approval Workflow
- Given a user with share permission initiates an external share for a defined scope, when org policy requires 1 Compliance Admin approval, then the request enters Pending and no link is issued until approval is granted. - Given an approver approves the request, when approval is recorded, then a time-bound, scope-limited link is generated with enforced redaction based on recipient role, watermarking (org, requester, timestamp), and all events are audited. - Given the request is rejected or expires before approval, when the requester checks status, then the request is closed with no link ever created and the outcome is logged. - Given an approved link is revoked by an admin, when a recipient attempts to access it, then the link is invalid within 1 minute and returns 410 Gone; revocation is logged.
Comprehensive Access and Export Audit Logging
"As a security officer, I want detailed access logs for the Evidence Vault so that I can demonstrate compliance and detect misuse."
Description

Capture immutable logs for all Evidence Vault interactions, including searches, views, exports, shares, downloads, and revocations with actor identity, timestamp, IP/device, reason code, and target resource. Store logs in append-only storage with retention and tamper-evidence. Provide filtering, reporting, and export to CSV/JSON. Emit webhook/SIEM integrations for real-time monitoring and anomaly detection (e.g., unusual export volume). Include auditor-ready reports summarizing access over a time window per patient, user, or practice. Outcome: complete traceability to demonstrate compliance and detect misuse.

Acceptance Criteria
Immutable Logging of Evidence Vault Interactions
Given an authenticated actor performs search, view, export, share, download, and revocation on Evidence Vault resources When each action completes (success or failure) Then one audit event per action is persisted containing: event_id (UUIDv4), action_type, actor_user_id, actor_role, actor_practice_id, timestamp (UTC ISO-8601 with ms), ip_address or caller_id, user_agent/device_id (if available), reason_code (required for view/export/share/download/revoke), target_resource_type, target_resource_id, patient_id, consent_id, channel, template_version, request_id, outcome, and error_code (if any) And the event is queryable within 5 seconds of action completion (p95) And API-initiated actions include client_id and service principal identity in actor context And voice events include caller_id; SMS/Email include originating_ip when available And revocation events reference the prior share/export event_id
Append-Only Tamper-Evident Storage and Retention
Given the audit log datastore is operational When events are written Then events are append-only with no update/delete capability via UI/API And any attempt to modify/delete is blocked and produces a blocked_tamper_attempt audit event with actor identity and reason "immutable" And each event includes hash and prev_hash forming a verifiable chain; daily verification scans 100% of events and reports mismatches=0 And retention is configurable per practice (default 7 years, minimum 6); post-retention purge uses append-only tombstones preserving chain verifiability And storage maintains at least 3 replicas across 2 fault domains; recovery time objective <= 1 hour for audit data
Reason Code Enforcement for Sensitive Actions
Given a user initiates view, export, share, download, or revoke of an evidence pack When the request is submitted via UI or API Then reason_code is mandatory and must match an admin-managed allowlist; optional free-text note <= 500 chars may be provided And requests missing/invalid reason_code are rejected (HTTP 400/UI validation) and no target action occurs And both reason_code and note are persisted in the corresponding audit event And the UI clearly displays the captured reason on subsequent audit event views
Audit Log Filtering and Search Performance
Given a compliance user opens the Audit Log UI When filters are applied by time range, action_type, actor_user_id, actor_role, practice_id, patient_id, target_resource_id, channel, outcome, and reason_code Then the result set contains only matching events and displays total_count and unique_actor_count And sorting by timestamp (asc/desc) and by actor_user_id is supported; results are stable across pages (cursor-based pagination) And for up to 1,000,000 matching events, first page latency <= 3s p95 and subsequent pages <= 2s p95 And the UI renders a volume-over-time sparkline for the selected window
Audit Log Export to CSV and JSON
Given a permitted user selects Export for the current filtered audit log When CSV is chosen Then the file includes header row and one row per event with exactly the visible columns plus mandatory event_id,timestamp,action_type; values match on-screen data When JSON is chosen Then the file is a newline-delimited JSON stream of full event objects And the export metadata includes export_time_utc, filter_summary, total_rows, and SHA-256 checksum; checksum is displayed and stored And exports up to 5,000,000 events begin streaming within 10s and complete without server timeouts; partial exports are resumable via download tokens And the export action is itself audited with download_url (time-limited) and requestor identity
Real-Time Webhook/SIEM Streaming and Anomaly Detection
Given at least one webhook/SIEM destination is configured and active When an audit event is created Then a notification is delivered within 10 seconds p95, signed with HMAC-SHA256, including idempotency key; non-2xx responses are retried with exponential backoff for 24h And payload conforms to published JSON schema; optional syslog RFC5424 formatting is available for SIEM And anomaly detection evaluates per-actor and per-practice hourly export counts; if current hour > 3x 30-day moving average or > 200 exports, an anomaly_export_volume alert is generated, delivered to configured channels, and audited And alerts support acknowledge/resolve; all alert lifecycle changes are audited
Auditor-Ready Access Summary Reports
Given an auditor requests a summary for a defined window and scope (patient, user, or practice) When a compliance user generates the report Then the report includes totals, breakdown by action_type, unique actors, top 10 actors, timeline histogram, and an appendix listing event_ids with links And the report is produced within 60 seconds for up to 100,000 events and is available as PDF and CSV; report_id, generation_time_utc, filters, and integrity hash/signature are embedded And access to generate/download reports is restricted to Compliance Lead and Practice Admin; unauthorized attempts are blocked and audited
Secure Time-Bound Share Links for Auditors/Carriers
"As a compliance lead, I want to share an evidence pack securely with a carrier or auditor so that they can review it without creating an account or accessing other data."
Description

Enable generation of signed, revocable share links to specific evidence packs for external reviewers. Configurable expiration, single/multi-use tokens, optional IP allowlists, and maximum download/view limits. Support identity challenge (email OTP or delegated SSO) and watermarking with recipient info and timestamp. Provide a read-only web viewer with redaction modes to suppress non-essential PHI while preserving evidentiary value. All accesses are logged; links can be paused or revoked at any time. Integrate with email delivery for invitations and with RBAC for approval workflows. Outcome: fast, secure external review without provisioning full accounts.

Acceptance Criteria
Signed, Configurable Share Link Creation for a Single Evidence Pack
Given an internal user with ShareLink.Create permission and a target evidence pack ID When they configure expiration T, usage mode (single- or multi-use), view_limit V, and download_limit D, and click Generate Then the system creates a signed URL scoped only to that evidence pack with the configured constraints persisted And the link metadata includes issuer user ID, role, creation timestamp (UTC), expiration timestamp, token ID, and cryptographic signature And accessing any other evidence ID with the link returns 403 with reason "scope_mismatch" And when the view or download counts reach their limits, subsequent attempts return 403 with reason "limit_exceeded" And when the current time exceeds expiration, attempts return 410 with reason "expired" And the link appears in the pack’s Share Links list with status Active and accurate counters
Identity Challenge via Email OTP or Delegated SSO
Given a generated link requiring identity challenge via email OTP When the recipient enters the designated email and requests a code Then a 6-digit OTP is sent to that address and the OTP expires in 10 minutes And after 5 consecutive incorrect OTP attempts, the link is locked for 15 minutes and an audit event is recorded Given a link configured for delegated SSO (SAML/OIDC) to org X When the recipient authenticates successfully with org X Then access is granted and the asserted identifier (email/nameID) is bound to the session And all successful identity challenges record recipient identifier, method (OTP/SSO), timestamp, and IP in the audit log
Optional IP Allowlists and Network Enforcement
Given a link with an IP allowlist of one or more IPv4/IPv6 CIDR ranges When a request originates from an IP not in the allowlist Then access is denied with 403 and reason "ip_blocked" and a non-disclosing error page is shown And all denied and allowed attempts log source IP, matched rule decision, token ID, and outcome Given no allowlist is configured When the link is accessed from any IP Then evaluation passes and other controls apply
Read-Only Web Viewer with Redaction Modes
Given an external reviewer with valid access When they open the viewer Then the evidence pack renders in read-only mode with edit/delete actions disabled And a Redaction toggle presents at least two modes: Minimal PHI and Maximum PHI Suppression And switching modes updates the view within 1 second and shows a persistent banner of the active mode And redaction masks non-essential PHI while preserving consent text, timestamps, channel, template version, and identifiers needed for audit And copied text and printed/exported views reflect the currently active redaction mode
Watermarking of Views and Exports
Given reviewer identity is established for the session When the pack is viewed or exported Then a visible watermark shows recipient identifier (email/SSO ID), current timestamp (UTC), token ID, and "SmileCue Evidence Vault" on all pages And the watermark appears on-screen and in downloaded PDFs/images with consistent placement and 10–20% opacity And export actions are disabled until identity is bound; anonymous export is not permitted And the watermark persists after rasterizing the downloaded document to 300 DPI and re-inspecting
Pause/Revocation and Real-Time Access Control
Given an active link When an internal user pauses it Then new access attempts are denied with 403 reason "paused" within 60 seconds and existing sessions terminate on next request within 60 seconds When the link is revoked Then the token becomes unusable immediately, counters stop incrementing, and status shows Revoked And all pause/revoke events are recorded with actor, timestamp, reason, and previous state as append-only audit entries
Email Invitation Delivery and RBAC Approval Workflow
Given RBAC requires approval for external sharing When a creator submits a share link request Then an approver receives a workflow task and the link remains inaccessible until approved And only users with ShareLink.Approve can approve; approval captures approver ID, timestamp, and comments When approved Then an email invitation is sent to the recipient including the secure link, expiration date/time, and identity challenge instructions, with no PHI beyond patient initials and appointment date And delivery events (sent, bounced, opened) are recorded and visible in share link activity And if delivery fails permanently, the link remains inactive and the creator is notified
Template Snapshot & Localization Capture
"As a compliance analyst, I want the evidence to include the exact content the patient saw or heard so that I can prove the consent language matched our approved templates and the patient’s language."
Description

Capture and store the exact consent content presented at the time of consent, including language/locale, template version ID, merge-field resolutions, conditional branching taken, and rendering channel. For voice consents, store audio snippets or transcripts with timestamps; for SMS/email, store the original payload and a normalized, human-readable snapshot. Link snapshots to template change history and include them in evidence packs. Validate presence of snapshots at write time and flag any missing artifacts. Ensure proper encoding and storage to accurately reproduce content during audits. Outcome: verifiable proof that the patient saw or heard the approved consent language in the correct language.

Acceptance Criteria
SMS Consent Snapshot Capture
Given an approved consent template version exists in locale L and is sent via SMS with merge fields resolved for patient P When patient P responds with a valid affirmative keyword to grant consent Then the system stores the exact outbound SMS payload as sent and a normalized, human-readable snapshot with all merge fields resolved And the snapshot metadata includes: templateVersionId, locale, channel='SMS', consentEventId, patientId, sentTimestampUTC, receivedTimestampUTC, senderE164, recipientE164, providerMessageId And the snapshot is immutable and retrievable by consentEventId And retrieving the snapshot reproduces the exact text shown to the patient without re-evaluating the live template
Email Consent Snapshot Capture
Given an approved consent template version exists in locale L and is sent via Email with merge fields resolved for patient P When the consent email is delivered and patient P provides consent through the defined mechanism (e.g., reply or click capture is recorded) Then the system stores the original email payload (subject, from/to, body parts) and a normalized, human-readable snapshot with all merge fields resolved And the snapshot metadata includes: templateVersionId, locale, channel='Email', consentEventId, patientId, sentTimestampUTC, messageId And embedded links and placeholders in the snapshot reflect the exact resolved values at send time And the snapshot is immutable and retrievable by consentEventId
Voice Consent Audio/Transcript Capture
Given a voice consent flow using template version V is presented in language/locale L via phone call When the patient gives verbal consent during the call Then the system stores at least one of: (a) audio snippet(s) covering the consent language and the patient’s confirmation, or (b) a transcript with per-utterance timestamps And the snapshot metadata includes: templateVersionId, locale, channel='Voice', consentEventId, patientId, callStartTimestampUTC, callEndTimestampUTC, callerId, calleeId And if audio is stored, each snippet has start/end offsets; if a transcript is stored, each utterance has a timestamp And the snapshot is immutable and retrievable by consentEventId
Conditional Branch Path Recording
Given the consent template contains conditional branches that vary content based on patient/context data When the patient proceeds through the consent flow Then the system records the exact branch path taken, including branch identifiers and evaluation outcomes that led to each decision And the normalized snapshot contains only the content actually presented along that path And the recorded branch path is linked to the snapshot and visible in evidence retrieval
Template Version Linking to Change History
Given a consent snapshot is created for template version V When a user views the snapshot details Then the snapshot references templateVersionId=V and is linked to the template change history at version V And subsequent edits to the template create new versions without altering the existing snapshot And retrieving change history from the snapshot shows the diff/metadata applicable at version V
Audit Reproduction & Evidence Pack Inclusion
Given a compliance lead exports an evidence pack for a specific consent event When the pack is generated Then it includes the exact snapshot(s) tied to that event (SMS/email normalized snapshot and payload; voice audio/transcript), along with required metadata (locale, channel, templateVersionId, timestamps) And the textual snapshots are stored and rendered in a consistent encoding that preserves the original characters and directionality for the locale And opening the evidence pack reproduces the content exactly as presented/heard without contacting live template services
Write-Time Validation & Missing Artifact Flagging
Given the system attempts to persist a consent event When required snapshot artifacts for the channel are missing (e.g., no SMS/email payload + normalized snapshot, or neither audio nor transcript for voice) Then the write is rejected with a specific error code indicating missing artifacts And a compliance alert is logged with consentEventId and deficiency details And no consent record is marked as confirmed until required artifacts are present

Consent Pulse

Real-time dashboards and alerts that track opt-ins/opt-outs, consent decay, and carrier feedback. Automatically launches re-permission campaigns when consent nears expiration and suggests the best channel and language to recover opt-ins, keeping outreach compliant and lists healthy.

Requirements

Unified Consent Event Stream
"As an office manager, I want all consent activity consolidated per patient and channel so that outreach rules apply correctly and we have a single source of truth for compliance."
Description

Implement a real-time ingestion and normalization pipeline that consolidates consent events (opt-in, opt-out, revocation, double opt-in, consent purpose changes) from SMS, email, voice, web forms, and connected practice systems into a single patient profile. Maintain channel- and purpose-specific consent states with timestamps, provenance (source system, campaign, IP/device where applicable), and geolocation/time zone context for compliant outreach. Provide idempotent processing, de-duplication, and reconciliation logic to ensure a canonical consent record. Secure data with encryption in transit/at rest and role-based access controls aligned to HIPAA. Expose the unified consent state to SmileCue messaging, scheduling, segmentation, and reporting services via internal APIs and webhooks to enable downstream automation and accurate compliance checks.

Acceptance Criteria
Ingest and Normalize Consent Events From All Channels
Given valid consent events from SMS, email, voice, web forms, and connected practice systems with heterogeneous schemas When the pipeline ingests these events Then each event is normalized to the canonical schema with fields: patient_id, channel, consent_action (opt_in|opt_out|revoke|double_opt_in|purpose_change), consent_purpose, event_timestamp (UTC), provenance.source_system, provenance.campaign_id (nullable), provenance.ip (nullable), provenance.device_fingerprint (nullable), geo.country, geo.region, time_zone, validation_status=valid And normalized events are persisted to an append-only event store with acknowledgment from ≥2 replicas Given an event missing required fields or failing signature/CRC validation When processed Then it is rejected to a dead-letter queue with error_code and error_reason, and no state mutation occurs Given sustained load of 1000 events/minute When processed Then p95 end-to-end normalization latency ≤ 5 seconds and processing error rate ≤ 0.5% (excluding DLQ-intended rejects)
Maintain Channel- and Purpose-Specific Consent State
Given an existing patient consent state When a new consent_action for a specific channel and purpose is received Then the state is updated atomically with last_updated (UTC) and previous_state captured in audit metadata Given multiple events for the same patient/channel/purpose arrive out of order within 10 minutes When processed Then events are ordered by event_timestamp and applied deterministically using precedence: revoke > opt_out > opt_in > double_opt_in > purpose_change And only one final state mutation occurs Given a consent purpose_change event When applied Then the new purpose mapping is reflected in state and the prior purpose is retained in audit history Given consents subject to expiry policy When stored Then expiry_at is calculated and persisted And when current_time > expiry_at Then state transitions to expired and outreach checks return non-permissible
Idempotent Processing and De-duplication
Given duplicate deliveries of the same event (same idempotency_key or event_id+source_system) When processed multiple times Then only the first delivery mutates state and subsequent deliveries are recorded as duplicates without changing state Given retries due to transient failures When events are replayed Then processing remains idempotent and produces a single canonical state change in the audit trail Given a batch replay of historical events When processed Then de-duplication prevents double application while preserving chronological ordering Given system metrics When observed over 24 hours Then duplicate_detected_count and duplicate_block_rate are emitted and visible on the monitoring dashboard
Provenance and Audit Trail Completeness
Given any consent state change When persisted Then an immutable audit event is recorded with: event_id, patient_id, channel, consent_action, consent_purpose, event_timestamp (UTC), received_at, source_system, campaign_id (nullable), ip/device_fingerprint (nullable), sms_short_code or voice_call_sid (nullable), operator_user_id (nullable), geo, time_zone, and hash_chain Given an authorized compliance user queries audit for a patient over a date range ≤ 1000 events When executed Then results return within 3 seconds and include verification to detect tampering via hash_chain continuity Given any attempt to modify or delete an audit event When attempted Then the operation is blocked and a security event is logged with actor, action, timestamp, and reason
Security and HIPAA-Aligned Access Controls
Given PHI stored at rest When persisted Then AES-256 encryption is used with KMS-managed keys rotated at least every 90 days Given service-to-service communication When transmitting data Then TLS 1.2+ with mutual TLS is enforced and legacy ciphers are disabled Given a user with role Receptionist requests audit details When authorized Then access is denied (HTTP 403) and the attempt is logged; Given a user with role Compliance_Officer requests audit details When authorized Then access is granted and the access is logged with user, purpose, timestamp, and patient_id Given application and pipeline logs When generated Then PHI fields are redacted or tokenized and log access is restricted by role Given 5 failed access attempts within 10 minutes for an account When detected Then the account is temporarily locked and a security alert is issued
Expose Unified Consent via Internal APIs and Webhooks
Given an internal service requests consent state via GET /consents?patient_id=...&channel=...&purpose=... When the request includes a valid service token Then the API returns the canonical state with timestamps, provenance summary, and expiry_at with p95 latency ≤ 200 ms Given a consent state change is committed When webhooks are enabled for subscribers Then a signed (HMAC-SHA256) webhook is delivered within 3 seconds and retried with exponential backoff for up to 24 hours on failure Given duplicate webhook deliveries When received by subscribers Then each payload includes an idempotency_key to enable safe deduplication downstream Given an API request without valid authentication When processed Then the API returns 401 and no consent data is leaked
Reconciliation Across Channels and Providers
Given nightly reconciliation with carrier/ESP/voice provider suppression lists and connected practice systems When executed Then discrepancies in opt-in/opt-out/revocation states are identified, a reconciliation report is stored, and canonical state is corrected within 24 hours per policy Given conflicting states among systems When policy is applied Then precedence is: explicit patient opt-out in any channel > revocation > explicit opt-in with double opt-in > explicit opt-in > implicit/inferred, and the chosen resolution is recorded in audit Given reconciliation changes are made When completed Then downstream provider suppression lists are updated via APIs with confirmation; transient failures trigger retries with exponential backoff up to 48 hours Given reconciliation job failures When they occur Then on-call alerts are emitted with job_id, scope, error_summary, and next recommended action
Consent Decay Scoring & Thresholds
"As a compliance officer, I want visibility into when consent will become stale so that we can re-permission proactively and avoid non-compliant outreach."
Description

Create a rules-driven engine that calculates consent freshness for each patient by channel and purpose using regulatory guidance (e.g., TCPA/CTIA inactivity windows), carrier best practices, and configurable business policies. Compute decay scores and predicted expiration dates based on last interaction, engagement frequency, campaign type, and carrier feedback. Allow administrators to configure thresholds that trigger warnings and re-permission workflows, with support for practice- and location-level overrides. Handle special cases for transactional vs. marketing messages, quiet-hour constraints, and upcoming-appointment exemptions. Surface decay state to dashboards, alerts, and segmentation filters to proactively preserve list health.

Acceptance Criteria
Decay Score Computation by Channel & Purpose
Given a patient has consent records for SMS, Email, and Voice with purposes (marketing, transactional) And regulatory inactivity windows and business policy weights are configured When the decay engine runs for the patient Then a decay_score in [0,100] is produced per channel-purpose And the score incorporates last_interaction_at, engagement_frequency (configurable window), campaign_type, and latest carrier_feedback And identical inputs and configuration produce identical scores (idempotent) And missing non-critical inputs use configured defaults without failing processing
Predicted Expiration Date Calculation
Given a channel-purpose consent with a recorded last_interaction_at And an applicable inactivity window derived from regulatory/carrier rules and policy adjustments When the engine computes predicted_expiration_at Then predicted_expiration_at = last_interaction_at + applicable_window adjusted by configured engagement and carrier feedback modifiers And predicted_expiration_at is recalculated within 5 minutes of a new qualifying interaction And timestamps are stored and returned in ISO 8601 with patient timezone applied or clearly indicated
Admin Thresholds with Practice/Location Overrides
Given global thresholds (e.g., Healthy, Warning, At-Risk, Expired) are defined per channel-purpose And practice-level and location-level overrides may be configured When resolving thresholds for a patient at a specific location Then precedence is location override > practice override > global And any threshold change is versioned with actor, timestamp, scope (global/practice/location), and change details And crossing a threshold emits a single event per channel-purpose and updates consent_decay_state accordingly
Auto-Launch Re-Permission Workflows
Given a patient’s decay_score crosses a configured threshold or predicted_expiration_at is within a configurable X days window When evaluated by the engine Then a re-permission workflow is created once per patient per channel-purpose within a configurable suppression window And the recommended outreach channel and language are selected based on historical engagement, stated preferences, and carrier feedback constraints And no workflow is created if the patient is opted out for that channel, on a do-not-contact list, or has an active appointment-based exemption And each workflow launch is logged with correlation ID, triggering threshold, channel-purpose, and selected template
Transactional vs Marketing Handling & Appointment Exemptions
Given transactional and marketing consents are tracked separately When marketing consent decays or expires Then transactional messaging remains permitted where legally allowed and configured And if the patient has an upcoming appointment within a configurable N-day window and is not opted-out Then re-permission prompts are deferred until after the appointment window while transactional reminders continue And decay scoring proceeds but does not block transactional messages during the exemption
Quiet Hours & Timezone Compliance
Given quiet hours are configured per practice/location and carrier guidelines apply And the patient’s timezone is known or inferred When scheduling re-permission outreach Then messages are sent only within permitted hours in the patient’s local timezone And if outside permitted hours, outreach is queued for the next permitted window And time-critical transactional messages are exempt from quiet hours only if explicitly configured
Dashboards, Alerts, and Segmentation Surfacing
Given decay_score, predicted_expiration_at, and consent_decay_state are computed When users view dashboards Then aggregated counts by state and by channel-purpose are displayed with data freshness p95 ≤ 5 minutes And drilling into a segment reveals patient-level details including current values and last_updated_at And alerts are sent to configured channels when thresholds are crossed, containing counts, affected channel-purpose, and links to segments And segmentation supports filters by state, expires_within (days), channel-purpose, practice/location, and carrier feedback flags And the public API returns decay_score, predicted_expiration_at, consent_decay_state, and threshold metadata per channel-purpose
Auto Re-permission Campaign Orchestration
"As an office manager, I want re-permission to run automatically before consent expires so that our contact lists stay usable without manual outreach."
Description

Enable event-driven re-permission journeys that launch automatically as consent approaches configured decay thresholds. Provide pre-approved, compliant templates per channel with dynamic inclusion of required disclosures and opt-out instructions. Select the best channel, send time, and tone based on historical engagement, language preference, and carrier feedback, with safeguards for quiet hours, frequency caps, and PHI scrubbing. Support double opt-in where required, capture and reconcile new consent with full provenance, and gracefully handle STOP/HELP keywords. Include throttling, cohort-level A/B testing, and fallbacks across SMS, email, and voice. Write successful re-permissions back to the unified consent record and notify downstream systems via webhooks.

Acceptance Criteria
Event-Driven Launch at Consent Decay Thresholds
Given a patient consent record with a decay threshold configured (e.g., 30 days before expiration) And the patient is eligible based on jurisdictional rules and current consent status When the system detects the record crossing the threshold via real-time event or scheduled sweep Then a re-permission journey is automatically created within 60 seconds And the patient is enrolled into a cohort according to segmentation rules (e.g., channel eligibility, language, risk tier) And campaign throughput is throttled according to global and cohort rate limits (configurable) And no journey is launched for patients currently opted-out or with active legal holds
Compliant Templates with Dynamic Disclosures and Opt-Out
Given pre-approved templates exist for SMS, email, and voice in English and Spanish And regulatory disclosures and opt-out instructions are defined per channel and jurisdiction When a re-permission message is generated for an eligible patient Then the message uses a pre-approved template matching the patient’s preferred language And dynamically inserts required disclosures and opt-out instructions for the patient’s jurisdiction and carrier guidelines And includes practice identity and contact information And the rendered content passes compliance validation with zero errors prior to send
Adaptive Channel, Send Time, and Tone Selection with Safeguards
Given historical engagement data, carrier feedback, and language preferences are available And quiet hours and frequency caps are configured at global and practice levels When the system selects channel, send time, and tone for a patient’s journey step Then it chooses the highest-probability channel based on past engagement and carrier deliverability And schedules within the patient’s local timezone avoiding quiet hours And enforces frequency caps across all channels (e.g., per-day and per-week) And if the selected channel is disallowed by carrier feedback, the next best eligible channel is chosen
Double Opt-In Orchestration Where Required
Given a jurisdiction or carrier requires double opt-in for SMS And the patient is targeted via SMS in that jurisdiction When the first consent request is delivered Then the system waits for an affirmative keyword (e.g., YES) within the configured timeout window And upon receiving the keyword, sends a confirmation message containing disclosures and opt-out instructions And records both steps with timestamps, message IDs, and content hashes And if no affirmative response is received before timeout, the journey proceeds to configured fallback steps without marking consent as renewed
PHI Scrubbing and Content Safety
Given PHI scrubbing rules are configured (e.g., no diagnosis codes, no treatment details in outbound re-permission content) When any outbound content (SMS, email, voice transcript) is rendered Then the content is scanned and redacted according to rules prior to send And any message failing scrubbing is blocked, logged with reason, and retried with a safe template variant And audit logs capture pre/post-scrub checksums without storing raw PHI
Consent Capture, Reconciliation, and Keyword Handling
Given a patient responds with consent-related keywords (YES/STOP/HELP) or clicks consent links When the system receives the response via SMS, email, or voice IVR input Then the unified consent record is updated in real time with the new consent state, channel scope, timestamp, source message ID, and provenance (IP, user agent if web, carrier metadata if SMS) And STOP immediately updates opt-out across all applicable channels and halts active journeys And HELP returns a compliant assistance message without altering consent And conflicting signals within a 24-hour window are resolved per precedence rules with a full audit trail
Fallbacks, A/B Testing, Write-Back, and Webhooks
Given cohort-level A/B test variants are defined for templates, channel order, or send times And fallback rules across SMS→email→voice are configured When a journey executes for a patient Then the assigned variant is persisted and respected across all steps And on failure or non-response within SLA, the next fallback channel is attempted according to rules and caps And upon successful re-permission, the unified consent record is written with final state and provenance within 5 seconds And a webhook is delivered to registered downstream systems with a signed payload including consent state, scope, timestamps, and journey metadata; retries occur with exponential backoff until acknowledged
Carrier Feedback Ingestion & Block Alerts
"As a marketing coordinator, I want to know when carriers are filtering our messages and how to fix it so that re-permission and reminders reliably reach patients."
Description

Integrate carrier and aggregator delivery receipts, error codes, and 10DLC campaign status to classify filtering events, suspected spam blocks, and registration issues. Map error codes to actionable categories and recommended remediation steps (e.g., content changes, pacing adjustments, registration updates). Correlate feedback with consent decay, template content, and send patterns to identify root causes. Generate real-time alerts when thresholds are exceeded (per campaign, clinic, or channel) and surface a remediation checklist. Persist carrier insights in the consent record to inform channel selection and re-permission strategies.

Acceptance Criteria
Real-Time Carrier Feedback Ingestion and Normalization
Given a valid signed webhook from a carrier or aggregator containing a delivery receipt with provider_event_id, message_id, timestamp, and error code When the webhook is received Then the signature and IP allowlist are validated, the payload is normalized to the internal schema, and the event is stored within 60 seconds in 99% of cases Given duplicate webhook deliveries for the same provider_event_id When processed Then ingestion is idempotent and results in a single stored event with a deduplicated count incremented Given an invalid signature or malformed payload When received Then the event is rejected with HTTP 401 or 400 respectively, no data is persisted, and an error metric with reason code is recorded Given a delivery receipt referencing an unknown message_id When processed Then the event is placed in a reconciliation queue and is linked to the message record within 15 minutes if it arrives; otherwise it is marked Unreconciled with reason after 60 minutes Given multi-tenant traffic When events are stored Then data is partitioned by tenant (clinic) and channel, and no cross-tenant access is possible in queries or UI
Error Code Mapping to Actionable Categories and Remediation
Given a set of known carrier and aggregator error codes (e.g., 30007, 30006, 605) and 10DLC campaign statuses (e.g., Pending, Approved, Suspended, Rejected) When events are processed Then each is mapped to a normalized category from the taxonomy: Filtering suspected spam, Consent required/opt-out, Registration/10DLC issue, Number blocked/blacklisted, Throughput/rate limited, Destination unreachable, Content violation, Unknown Given an error code not present in the mapping When processed Then it is labeled Unknown, escalated to a review queue, and appears in the Mapping Coverage report; overall mapping coverage over the last 30 days is >= 95% Given a normalized category for an event When stored Then a remediation playbook is attached including 3–7 actionable steps specific to the provider and category Given a 10DLC campaign status webhook of Suspended or Rejected When ingested Then the campaign entity reflects the new status within 5 minutes and subsequent messages for that campaign are flagged Registration/10DLC issue with send blocked until status resolves
Correlation of Filtering with Consent Decay, Templates, and Send Patterns
Given delivery feedback from the last 14 days When the hourly correlation job runs Then per campaign and per clinic filtering rates are computed and correlated with consent age, template ID, send hour, and send velocity (messages per minute) Given any driver with a correlation score >= 0.30 and p-value < 0.05 When results are generated Then the top 3 drivers are surfaced with effect size, confidence, and example evidence (template IDs, time windows) Given a template with filtering rate >= 1.5x its campaign baseline and N>=200 sends When analyzed Then a root-cause card attributes elevated filtering to that template with relative risk and recommended actions Given a cohort with consents older than 12 months showing filtering rate >= 2x fresh consents When analyzed Then the system flags consent freshness as a likely driver and links to re-permission campaign setup
Threshold-Based Real-Time Alerts per Campaign, Clinic, and Channel
Given a configurable alert policy with default threshold filtering_rate > 5% and minimum volume N >= 200 in a 60-minute sliding window When any campaign, clinic, or channel breaches the threshold Then an incident is created within 2 minutes containing entity, window metrics, top suspected categories, top templates, and recent consent trends Given additional threshold breaches for the same entity within a suppression window of 30 minutes When detected Then duplicate alerts are suppressed and appended as updates to the open incident with updated metrics Given alert delivery channels configured (in-app, email, Slack) When an incident is created Then notifications are sent to all channels with retry up to 3 times on failure and final failure logged Given a user acknowledges an incident When acknowledged Then incident status changes to Acknowledged and subsequent notifications follow the suppression policy until Resolved Given the filtering rate falls below 80% of the threshold for two consecutive windows When evaluated Then the incident auto-resolves with reason Restored below threshold
Remediation Checklist Surfaced in Alerts and Dashboard
Given an incident categorized as Filtering suspected spam When the incident is opened Then a remediation checklist is displayed with actionable items: edit content (remove high-risk keywords, add brand intro), adjust pacing (reduce TPS), verify registration/10DLC, rotate sender if applicable, and trigger re-permission; each item has a one-click action or deep link Given a user executes an action from the checklist (e.g., reduce TPS, pause campaign, edit template) When completed Then the checklist updates with completion status, and an audit log is written with user, timestamp, action, and previous/new values Given role-based access control When an action requires elevated permission (e.g., pausing a campaign) Then only authorized roles can complete it; unauthorized attempts are blocked and logged Given remediation steps are applied When 24 hours elapse Then the system displays before/after KPIs for filtering rate, delivery rate, and confirmation rate on the incident timeline
Persist Carrier Insights on Consent Record and Inform Channel Selection
Given a patient consent record When new carrier feedback is received for that patient and channel Then the record is updated with last_blocked_at, last_category, provider, and a channel health score computed from the last 30 days of events Given an outbound message decision with multiple eligible channels When selecting a channel Then the selector avoids any channel with a Filtering suspected spam event within the last 72 hours unless an authorized user overrides with reason; if all channels are impaired, a re-permission attempt is queued instead Given consent expiration within 14 days and recent SMS filtering When launching a re-permission campaign Then the system recommends and defaults to the best alternate channel (email or voice) and language based on past recovery success for that patient cohort, and logs the rationale on the consent record Given channel health improves (filtering rate < 2% for 3 consecutive days with N >= 100 per day) When evaluated nightly Then the channel health score is upgraded and the channel becomes eligible again for selection
Consent Health Dashboard & Drilldowns
"As a practice owner, I want a clear view of our consent health and risks so that I can make informed decisions and keep outreach compliant."
Description

Deliver real-time dashboards that visualize opt-in rates, opt-out trends, consent decay pipeline, re-permission performance, and carrier filtering rates, sliceable by location, provider, channel, campaign, and time. Provide benchmarks, goal tracking, and anomaly detection with in-app and email/SMS alerts for threshold breaches. Enable drilldown to patient-level audit views showing the full consent timeline, message samples, and provenance. Support export (CSV) and API access for reporting, and embed key widgets on the SmileCue home page for quick status checks.

Acceptance Criteria
Real-Time Consent Health Dashboard Rendering
- Given the user opens the Consent Health Dashboard, When the page loads, Then KPI tiles for Opt-in Rate, Opt-out Trend, Consent Decay Pipeline, Re-permission Performance, and Carrier Filtering Rate are visible with labels and units. - Given a cold start, When the dashboard loads on a standard broadband connection, Then time-to-first-interaction is ≤2.5s at p95 and ≤4.0s at p99. - Given a new source event (opt-in, opt-out, carrier feedback, re-permission response), When it is ingested, Then the impacted metrics refresh within 60 seconds and show a “Last updated” timestamp to the minute. - Given today’s source-of-truth logs, When comparing sampled aggregates (n≥100 per metric), Then dashboard values deviate by ≤0.5% from source totals. - Given an upstream data outage, When the dashboard cannot fetch data, Then a non-blocking error banner displays with retry and status link, and cached metrics from ≤15 minutes ago are shown labeled as “stale.”
Slicing by Location, Provider, Channel, Campaign, and Time
- Given the dashboard is open, When the user expands the filter panel, Then multi-select controls for Location, Provider, Channel (SMS/Email/Voice), Campaign, and Time (Last 7/30/90 days, MTD, QTD, YTD, Custom Range) are available. - Given any combination of filters (≤50 selected values total), When Apply is clicked, Then all widgets refresh consistently to the same scope within 500ms after data return and the active filters appear as chips. - Given filtered state, When the user copies the URL or bookmarks the page, Then the full filter state is encoded in the URL and restored on revisit. - Given role-based access, When a user lacks access to a location or provider, Then those options are hidden and cannot be applied via URL. - Given a filter set that yields no results, When the dashboard refreshes, Then widgets display “No data in selected range” without errors and offer Clear Filters.
Benchmarks and Goal Tracking
- Given a metric tile, When the user toggles Benchmarks, Then the practice value, peer percentile band, and industry median display with tooltips citing the benchmark cohort and effective date. - Given edit permissions, When the user sets a goal target per metric (by global or per Location/Provider/Channel) and saves, Then the goal persists, is versioned with timestamp and editor, and renders progress (color-coded) on tiles and trends. - Given goals exist, When actuals cross warning (amber) or target (green) thresholds, Then tile colors update within 60 seconds of the underlying metric refresh. - Given read-only permissions, When viewing goals, Then inputs are disabled and an explanatory tooltip appears. - Given an audit review, When goals history is opened, Then prior values, editors, timestamps, and scope are listed chronologically.
Anomaly Detection and Threshold Alerts
- Given anomaly detection is enabled, When a metric deviates beyond configured rules (e.g., >2σ or >50% day-over-day for ≥3 hours), Then an anomaly badge appears on the metric and an incident is created. - Given alert channels are configured, When a threshold breach or anomaly is detected, Then an in-app notification, email, and optional SMS are sent with metric, scope, time window, baseline, and link to drilldown. - Given quiet hours are set, When a breach occurs during quiet hours, Then alerts are queued and summarized at quiet-hours end unless marked as critical. - Given repeated breaches of the same metric and scope, When multiple detections occur within 24 hours, Then alerts are deduplicated to one thread with updates appended. - Given a received alert, When the user clicks the link, Then they land on the pre-filtered dashboard/drilldown reflecting the alert context.
Drilldown to Patient-Level Consent Audit
- Given a metric widget, When the user clicks View Details, Then a drilldown table lists underlying patient events scoped to the selected filters with sortable columns and pagination. - Given a patient row is selected, When opening the audit view, Then the full consent timeline displays (timestamps, channel, campaign, consent text/version, event type, and status changes) with message samples and carrier feedback, including provenance (source system, user/API key, and IP/device for web submissions). - Given HIPAA access controls, When the user lacks permission for PHI, Then patient identifiers are masked in lists and details are inaccessible; access attempts are logged. - Given an audit view, When the user navigates back, Then breadcrumbs return them to the originating widget and filter context. - Given data retention policies, When viewing events older than retention limits, Then redacted placeholders appear with retained metadata (date, type) and a retention tooltip.
CSV Export and Reporting API
- Given the dashboard or drilldown is scoped, When the user clicks Export CSV, Then a UTF-8 CSV with headers reflecting the applied filters is generated server-side and downloaded or made available via a link for files >25MB. - Given large exports (>100k rows), When requested, Then export is chunked/streamed and a completion notification is sent; the file is available for ≥7 days with signed URL. - Given the Reporting API, When an authenticated client (OAuth2) requests the metrics endpoint with pagination and filters, Then the response includes totals, dimensions, and timestamps matching the data dictionary and dashboard values (±0.5%). - Given rate limits (e.g., 600 requests/min per tenant), When the limit is exceeded, Then 429 with retry-after is returned and logged. - Given an export or API access, When completed, Then an audit log entry is recorded with user/client, scope, timestamp, and record count.
Homepage Key Widgets Embedding
- Given the SmileCue home page loads, When widgets are enabled, Then key metrics (Opt-in Rate, Opt-out Trend sparkline, Consents expiring next 30 days, Carrier Filtering Rate, Open Alerts count) render above the fold. - Given a widget click, When the user selects a widget, Then they are deep-linked to the full dashboard with the corresponding filters applied. - Given configurable layout, When an admin reorders or toggles widgets, Then the layout persists per user and device (desktop/tablet/mobile) and reflows responsively. - Given data updates, When the home page is in focus, Then widgets refresh at least every 60 seconds and display a last-updated timestamp. - Given permission constraints, When a user lacks access to a metric’s scope, Then the widget is hidden or shows a masked state with a permission tooltip.
Compliance Guardrails & Audit Trail
"As a compliance officer, I want enforced guardrails and a provable audit trail so that we can demonstrate compliance and avoid penalties."
Description

Enforce HIPAA, TCPA, CTIA, and CAN-SPAM guardrails across Consent Pulse flows, including PHI redaction in re-permission outreach, required disclosures, opt-out keywords handling, quiet hours, and frequency caps. Maintain immutable, exportable audit logs of consent changes, message content hashes, delivery outcomes, and user/admin actions with timestamps and actor identity. Provide configurable retention policies, legal hold, and subject-access/deletion support. Block sends that violate rules and present actionable error messages with links to remediation. Generate audit-ready reports for regulators and carriers on demand.

Acceptance Criteria
Block Non-Compliant Sends in Real Time
Given a send is initiated for a recipient without active, channel-specific consent When the message is queued Then the system blocks the send, logs violated rule_id, and displays an error with remediation_url and API error code CP-401. Given message content lacks required channel disclosures When validation runs Then the send is blocked and the template editor highlights missing elements with a one-click Add Disclosure action. Given quiet hours or frequency caps would be violated When attempting to schedule Then the action is rejected and the UI suggests the next allowable send time in the recipient’s local timezone. Given carrier feedback flags a recipient as spam (e.g., 7726) within the last 30 days When any outreach is attempted Then the send is blocked and the recipient is marked Carrier-Blocked with reason_code and an appeal link. Given an opt-out keyword was received on the same channel within the last 24 hours When attempting to send Then the system blocks the send and references the opt-out timestamp in the error details.
PHI Redaction in Re-Permission Outreach
Given a re-permission campaign template contains PHI placeholders (e.g., appointment time, treatment) When a message is generated Then PHI tokens are replaced with generic placeholders and a PHI Redacted badge appears in preview. Given free-text content includes PHI per configured patterns or classifier confidence > 0.90 When saving the template Then the save is rejected with a list of flagged phrases and suggested safe rewrites. Given a user with override privilege attempts to bypass redaction When authorizing the send Then MFA is required and a policy_override event with justification is logged before the send can proceed. Given a voice re-permission script When generated Then the audio contains no PHI and uses only general language per policy.
Required Disclosures and Opt-Out Keyword Handling
Given SMS templates When previewed or sent Then "Reply STOP to opt out" and the practice name are appended; emails include physical address and unsubscribe link; voice calls include a spoken opt-out instruction. Given an inbound message matches STOP/END/CANCEL/UNSUBSCRIBE/QUIT (any case, with punctuation or emoji) When received Then channel consent is set to Opted-Out within 1 second, a confirmation is sent, and an audit entry is created. Given an inbound HELP keyword When received Then a CTIA-compliant help message with support contact is sent and logged. Given a previously opted-out recipient replies START/UNSTOP/YES to SMS or clicks a re-subscribe email link When processed Then consent changes to Opted-In with timestamp, source, and double opt-in if required by carrier.
Quiet Hours and Frequency Caps Enforcement
Given default quiet hours 8pm–8am recipient local time or practice-configured windows When scheduling or sending Then the system prevents delivery within the window unless marked Urgent under an approved policy with justification. Given per-recipient caps of max 3 SMS/week, 2 emails/week, 1 voice/week and max 1 message/day cross-channel When a send would exceed a cap Then the send is blocked and the UI shows remaining quota and next available slot. Given only a ZIP code is available to infer timezone When confidence < 0.70 Then stricter quiet hours (7pm–9am) are applied and the user is prompted to confirm or correct timezone. Given a DST transition occurs in the target timezone When scheduling sends That cross the transition Then delivery times are converted correctly and do not fall within quiet hours.
Immutable Audit Log of Consent and Messaging
Given any consent change, send attempt/outcome, content hash, templating variables, or user/admin action When it occurs Then an append-only audit entry with ISO-8601 UTC timestamp, actor_id, ip_address, rule_id, and SHA-256 content_hash is written within 2 seconds. Given an export request with filters (date range, patient, channel, action type, actor) When executed Then CSV and JSON exports for up to 1,000,000 records complete within 60 seconds; larger exports stream with progress. Given any attempt to alter or delete past audit entries When performed by any role Then the operation is denied and an integrity endpoint exposes a verifiable hash chain/Merkle root for immutability checks. Given carrier delivery receipts or spam feedback are received When processed Then they are linked to the original message audit entry with standardized reason codes and surfaced in the UI.
Retention Policies, Legal Hold, and DSAR Support
Given retention policies per data class (messages, audit logs, consent) When the policy job runs Then records older than the threshold are purged within 24 hours except those on legal hold, and a purge summary is logged. Given a legal hold is applied to a patient or matter When enabled Then all related records are exempt from purge until the hold is lifted, and hold status is visible in UI and audit logs. Given a Data Subject Access Request for a patient When initiated Then all relevant records are compiled and exported within 7 days with third-party identifiers redacted and an audit entry created. Given a deletion request compliant with policy When executed Then personal data is deleted except what is required for compliance, tokens are revoked, and a deletion receipt is logged.
Audit-Ready Reports for Regulators and Carriers
Given a regulator report request for a date range (HIPAA/TCPA/CTIA/CAN-SPAM) When generated Then PDF and CSV are produced within 5 minutes including consent changes, message volumes by channel, opt-outs, quiet-hour violations (0 allowed), frequency-cap blocks, and policy overrides. Given a carrier investigation requires message samples When requested Then the system provides content hashes, reconstructed redacted message bodies, disclosure evidence, and audit chain proofs linking events. Given an admin downloads a report When completed Then access is role-gated, the file is watermarked with requester identity, and the download is logged with timestamp and ip_address.
Multilingual & Accessible Consent Prompting
"As a hygienist, I want consent prompts to match a patient’s language and accessibility needs so that patients clearly understand and respond."
Description

Offer a library of consent and re-permission templates localized for common patient languages (e.g., English, Spanish) with automatic selection based on stored preference, device locale, or clinic defaults. Ensure templates meet readability targets and are optimized per channel (SMS character limits, email preheaders, voice scripts), with Unicode support and graceful fallbacks. Provide accessible web consent pages that meet WCAG guidelines, including screen-reader compatibility and clear opt-in/opt-out controls. Store language and accessibility context with consent records to personalize future outreach and improve opt-in recovery rates.

Acceptance Criteria

Guardian Link

Links guardian permissions to dependents for pediatric and family accounts. Supports family-wide opt-in/out with per-child overrides and channel-level preferences, reducing confusion and ensuring the right caregiver receives the right message every time.

Requirements

Family Linkage & Guardian Verification
"As an office manager, I want to link guardians to child patients and verify their identity so that messages route only to authorized caregivers."
Description

Establish a robust family data model that links guardians to dependent patient records with verified identity and role-based permissions. Support multiple guardians per child (e.g., primary, secondary, legal, temporary/emergency) with configurable custody flags and notification eligibility. Implement secure verification flows (SMS/email OTP; staff-verified in-office capture) to confirm guardian ownership of contact channels before activation. Handle lifecycle events such as age-of-majority transitions (automatic transfer of communication rights to the patient, with notification to guardians) and guardian changes (add/remove/temporarily suspend). Provide safeguards against duplicate guardians and cross-practice conflicts by using deterministic matching and merge rules. This foundation ensures only authorized caregivers receive communications, improving accuracy and compliance while reducing misrouted messages.

Acceptance Criteria
Hierarchical Consent & Channel Preferences
"As a guardian, I want to set family-wide preferences with per-child and per-channel overrides so that I receive the right messages the right way."
Description

Create a hierarchical preference and consent model that supports family-wide opt-in/out with per-child overrides and channel-level granularity (SMS, email, voice). Allow configuration by message category (appointments, recalls, billing, pre/post-op, marketing) with quiet hours, language preferences, and escalation rules. Implement inheritance logic where family defaults apply unless a child-level override exists, with clear conflict resolution and visibility of the effective state. Capture consent provenance (who, when, how, source, IP/device) and map STOP/START/HELP keywords to the appropriate scope (family vs. child vs. channel). Store revocation history and honor compliance requirements (TCPA/HIPAA) while enabling re-consent flows. This model reduces confusion, respects caregiver preferences, and enables precise, compliant outreach.

Acceptance Criteria
Rules-Based Message Routing Engine
"As a scheduler, I want the system to automatically choose the correct recipient(s) for each message based on permissions and preferences so that confirmations are timely and compliant."
Description

Implement a real-time routing engine that determines the correct recipient(s) for each outbound message based on permissions, verified channels, and effective preferences for the message category. Apply precedence: child-level overrides first, then family-level defaults, while honoring custody restrictions and channel availability. Support multi-guardian delivery when allowed (e.g., joint custody) and single-primary routing when mandated. Include fallbacks when no eligible channels exist (e.g., alternate channel, staff task creation) and guardrails against over-communication. Handle age-of-majority and temporary guardianship windows dynamically at send time. Provide deterministic outcomes with reason codes, idempotency, and API hooks for previewing routing decisions. Ensures the right caregiver receives the right message every time, boosting confirmations and reducing no-shows.

Acceptance Criteria
HIPAA Audit Trail & Consent Evidence
"As a compliance officer, I want a complete audit trail and consent evidence so that we can prove compliance and resolve disputes quickly."
Description

Record an immutable, time-stamped audit trail for all guardian links, preference changes, consent events, and routing decisions. Store consent artifacts (e-signature, timestamp, IP/device metadata, source document snapshot) and STOP/START keyword logs with scope. Provide exportable reports (CSV/PDF) and verifiable event chains for audits and disputes. Enforce role-based access controls, PHI minimization in logs, and retention policies aligned with regulatory requirements. Surface an audit viewer in-app with filters by patient, guardian, event type, and date range. This capability underpins HIPAA/TCPA compliance, enables rapid investigation, and builds trust with practices and caregivers.

Acceptance Criteria
Family Management Admin UI
"As front-desk staff, I want an easy UI to manage families and preferences so that I can make accurate updates quickly with fewer errors."
Description

Deliver an intuitive SmileCue portal experience to create and manage family groups, assign dependents, designate primary/secondary guardians, and configure preferences at family, child, and channel levels. Provide clear indicators of effective preferences and custody constraints, inline validation, and conflict alerts. Include a routing preview/simulator for any message template to show who will receive it and why, plus bulk actions (e.g., apply quiet hours across all children). Ensure accessibility (WCAG 2.1 AA), localization, and mobile-responsive design. Reduce staff workload and errors by enabling fast, accurate updates and giving immediate feedback on the impact of changes.

Acceptance Criteria
PMS Family Sync & Mapping
"As an IT admin, I want SmileCue to sync family and responsible-party data from our PMS so that data stays accurate without double entry."
Description

Integrate with leading dental PMS systems (e.g., Dentrix, Eaglesoft, Open Dental) to import and synchronize family relationships, responsible parties, and contact channels. Implement field mapping, incremental sync, deduplication, and idempotent upserts to maintain a single source of truth. Detect and resolve conflicts between PMS data and in-app edits using precedence rules and review queues. Support webhooks for near-real-time updates and monitoring dashboards for sync health and error remediation. Reliable sync minimizes double entry, keeps guardian links current, and ensures routing decisions are based on accurate data.

Acceptance Criteria

Universal Suppression

Propagates opt-outs and consent changes across all connected systems (PMS, email platforms, dialers) via APIs and webhooks, and blocks outbound sends at preflight from any source that checks the Lockbox. Prevents accidental noncompliant outreach and keeps every tool in sync.

Requirements

Consent Lockbox Registry
"As a compliance officer, I want a centralized, HIPAA-safe consent registry so that all systems reference a single source of truth and avoid noncompliant outreach."
Description

Build a centralized, HIPAA-compliant consent and suppression store that serves as the single source of truth across SMS, email, and voice. Model patient-level identities and channel-specific preferences (transactional vs. marketing; purpose-based consent) with timestamps, source-of-truth, and reason codes. Enforce immutability of historical events with append-only event streams and maintain current-state projections for low-latency reads. Provide encrypted at-rest/in-transit storage, PHI minimization, tenant isolation, and RBAC. Expose idempotent read/write APIs for recording opt-outs/consent updates and retrieving effective send eligibility per patient and channel. Ensure sub-100ms p95 read latency and horizontal scalability to support preflight checks at campaign scale.

Acceptance Criteria
Preflight Send Gatekeeper
"As a platform engineer, I want a preflight API to allow-or-deny sends so that no message is transmitted to suppressed contacts from any source."
Description

Provide a synchronous preflight decision service and SDKs that intercept all outbound sends from SmileCue and connected systems to allow or deny delivery based on the Consent Lockbox. Support single and bulk checks, return structured reason codes (e.g., OptedOut, NoConsentPurpose, JurisdictionBlock), and include TTL-based caching for resilience without risking stale consent usage. Offer lightweight language-specific middleware and REST/gRPC endpoints to make integration trivial for third parties. Enforce mandatory preflight for all outbound pathways within SmileCue’s orchestrators and expose auditable decision logs. Target <100ms p95 decision latency and transparent circuit-breaker behavior under dependency degradation.

Acceptance Criteria
Real-time Opt-out Ingestion
"As a patient, I want my STOP or unsubscribe to take effect immediately across all channels so that I stop receiving unwanted communications."
Description

Ingest opt-out and consent-change signals in real time from all channels and partners via secure webhooks and listeners (SMS STOP keywords, email unsubscribe clicks/headers, IVR DTMF opt-out, PMS flags). Validate signatures, normalize to a canonical event schema, deduplicate via idempotency keys, and apply ordering guarantees per patient. Process events within seconds to update the Lockbox and trigger propagation to connected systems. Provide backpressure handling, retry with exponential backoff, and dead-letter queues for failed events. Emit operational metrics and alerts for anomaly detection (e.g., spike in opt-outs) without logging PHI.

Acceptance Criteria
Bi-directional System Connectors
"As an office manager, I want SmileCue to sync opt-out status with our PMS, email, and dialer so that staff and tools stay aligned without manual updates."
Description

Deliver prebuilt, configurable connectors for leading PMS (e.g., Dentrix, Eaglesoft, Open Dental), email platforms (e.g., SendGrid, Mailgun), and dialers (e.g., Twilio, Plivo) to propagate consent changes both ways. Map identities across systems using deterministic keys (MRN, phone, email) with configurable match rules and hashing where needed. Subscribe to partner webhooks/APIs for inbound updates and publish suppression updates out with retries, rate-limit handling, and change batching. Provide connector health dashboards, per-tenant isolation, and self-service credentials via OAuth/API keys. Ensure that external systems’ suppression lists reflect Lockbox decisions within minutes and reconcile conflicts via defined precedence rules.

Acceptance Criteria
Granular Consent & Compliance Rules
"As a legal/compliance lead, I want consent tracked by channel and purpose with jurisdictional rules so that we meet HIPAA/TCPA and state requirements."
Description

Implement a policy engine that evaluates send eligibility by channel, content type, and purpose with jurisdiction-aware rules (HIPAA, TCPA, state consent and quiet hours). Distinguish transactional vs. marketing communications, support minors/guardianship, and capture consent provenance (how, when, where). Version policies and allow safe rollout with canarying and auditability. Default to deny on ambiguity and provide human-readable explanations for blocked sends. Enable configurable quiet hours and frequency caps where required by law or practice policy.

Acceptance Criteria
Drift Detection & Reconciliation
"As a data steward, I want automated reconciliation to detect and fix drift so that suppression states remain consistent across systems."
Description

Schedule periodic reconciliation jobs that compare Lockbox state with each connected system’s suppression records to detect drift. Compute diffs, auto-correct according to precedence policy, and open review tasks for irreconcilable conflicts. Produce reconciliation reports, per-connector drift KPIs, and notify admins when drift exceeds thresholds. Support backfill of historical consents during onboarding to rapidly align legacy systems without manual effort.

Acceptance Criteria
Admin Console & Immutable Audit
"As an administrator, I want a secure UI and audit trail for consent changes so that we can review who changed what and why for audits."
Description

Provide a secure admin UI to search patients, view effective consent state, and submit changes with justification and dual-control approvals where required. Enforce RBAC, field-level masking, and granular permissions for PHI. Maintain an immutable, append-only audit trail of every consent-related event and preflight decision with timestamps, actor, and source, exportable for eDiscovery and compliance reviews. Offer alerts for attempted bypasses or unusual activity and self-service exports without exposing raw PHI unnecessarily.

Acceptance Criteria

Voice Consent

Captures TCPA-compliant verbal consent via recorded IVR flows or staff-assisted calls with multi-language prompts. Auto-transcribes and time-stamps each recording into the ledger, making it easy to enroll patients who prefer calls or don’t use SMS while maintaining airtight proof.

Requirements

Immutable Consent Ledger
"As a compliance officer, I want irrefutable, time-stamped proof of each patient’s consent so that we can pass audits and defend against disputes with verifiable evidence."
Description

Create an append-only, time-stamped ledger that stores each voice consent event with cryptographic hashes of the audio file, transcript, and metadata (caller/callee IDs, staff ID when applicable, IVR flow version, language, geo/time data). Persist recordings and transcripts in encrypted storage with retention policies aligned to HIPAA and TCPA, and link ledger entries to patient records. Provide a verifiable consent certificate (JSON and PDF) per event, including hash chain proof and consent scope, accessible via RBAC-gated UI and API. Expose read-only audit APIs, immutable IDs, and integrity verification endpoints to satisfy legal discovery and audits. Integrate runtime checks so messaging workflows verify an active consent ledger entry before outreach, and automatically suppress communications when consent is revoked or expired.

Acceptance Criteria
Identity Verification & Consent Scope
"As a front-desk staff member, I want reliable identity checks and clear consent scope so that consent is attributed to the correct patient and used only for approved channels and purposes."
Description

Implement patient identity verification within voice flows and staff-assisted calls using multi-factor prompts (e.g., DOB + ZIP + last name) and caller ID matching to reduce false attribution. Support guardian/authorized representative flows with relationship capture and dual attestation where required. Capture explicit TCPA consent wording and bind it to a structured consent scope (channels allowed: SMS, email, voice; purposes: appointment reminders, marketing, recalls; duration/expiration; practice/location). Persist scope and identity evidence with the consent record, and surface scope checks to downstream messaging and campaign enrollment. Handle edge cases (name changes, minors turning 18, number re-assignment) with re-verification prompts and automated re-consent rules.

Acceptance Criteria
IVR Consent Flow Builder
"As an office manager, I want to design and publish compliant consent call flows in multiple languages so that patients can easily opt in without staff involvement."
Description

Provide a no-code/low-code builder for creating TCPA-compliant IVR consent flows with versioned scripts, multilingual prompts, and adaptive branching based on DTMF or speech responses. Support text-to-speech and pre-recorded prompts, barge-in, retries, and timeouts with configurable thresholds. Enforce inclusion of mandatory disclosures and capture of an affirmative opt-in, with automated recording start/stop cues and audible recording notices. Allow dynamic variables (practice name, clinician, appointment date) and embed identity verification steps. Offer simulation, test calls, and publishing workflows with version rollback. Emit structured outcomes and metadata to the consent ledger and trigger next steps (e.g., confirmation SMS disabled/enabled based on scope).

Acceptance Criteria
Staff-Assisted Consent Capture
"As a patient coordinator, I want a guided way to record and document verbal consent during calls so that I can enroll patients who prefer talking to a person."
Description

Enable staff to capture TCPA consent during live calls via an in-app guided script with mandatory disclosures, language selection, and automated recording with consent tone/announcement. Log agent identity, location, and script version; prevent progression until required statements are read and affirmative responses are captured. Support warm transfer from IVR to staff when callers need assistance, and attach both segments to a single consent event. Provide desktop and mobile interfaces, headset detection, and fallback methods (upload of compliant external recordings with metadata attestation) with validation checks. Automatically post the recording, transcript, and scope to the consent ledger and update the patient record.

Acceptance Criteria
Multilingual Transcription & Redaction
"As a QA/compliance manager, I want accurate, redacted transcripts that highlight consent acceptance so that I can quickly verify compliance without exposing unnecessary PHI."
Description

Deliver high-accuracy, multilingual speech-to-text with speaker diarization, confidence scoring, and phrase spotting for key consent clauses. Auto-detect language and route to the appropriate ASR model; flag low-confidence segments for human QA review before finalization. Apply policy-driven redaction to mask sensitive data (payment info, SSNs) while preserving consent evidence, and store both full and redacted transcripts with proper access controls. Extract structured entities (yes/no intent, identity responses, scope selections) for downstream automation and include ASR metrics in the ledger. Ensure all processing is HIPAA-compliant with encryption in transit and at rest.

Acceptance Criteria
Consent Management Dashboard & Exports
"As an office manager, I want a centralized dashboard to view, revoke, or export consent records so that I can manage compliance across all patients and providers."
Description

Provide an RBAC-secured UI to search, filter, and review consent records by patient, practice, date, channel, language, scope, status, and confidence. Enable audio playback, transcript review, and one-click generation of a consent certificate suitable for audits. Support revocation, expiration, renewal prompts, and bulk actions with guardrails. Offer scheduled exports to secure storage (e.g., SFTP/S3) and on-demand API exports with pagination and hash verification. Include full audit logs of access and changes, configurable retention policies, and alerts for upcoming expirations or missing consent for active campaigns.

Acceptance Criteria
EHR/PMS Sync & Auto-Enrollment
"As an operations lead, I want consent status to sync automatically with our scheduling systems so that patients receive only the communications they agreed to."
Description

Integrate consent outcomes with practice management/EHR systems to update patient communication preferences, flags, and consent timestamps via APIs, HL7, or FHIR where available. On successful consent, auto-enroll patients into the correct SMS/email/voice reminder programs per scope; on revocation or expiry, immediately suppress outreach and propagate changes to all downstream systems. Publish webhooks and events for real-time workflows, implement retry/idempotency for reliability, and provide mapping tools for multi-location practices. Monitor for number recycling signals and trigger re-consent flows when risk indicators appear.

Acceptance Criteria

Risk Heatmap

A color-coded schedule view that highlights predicted no-show risk by slot, provider, and location in real time. Quickly filter by appointment type or daypart and apply bulk actions (e.g., advance outreach, voice fallback) to protect vulnerable blocks. Staff instantly see where to focus to keep chairs full with less manual scanning.

Requirements

Real-time Risk Scoring Service
"As an office manager, I want live no-show risk scores on my schedule so that I can intervene early and keep chairs full."
Description

Computes and refreshes predicted no-show risk for each scheduled appointment in near real time, producing a 0–100 score and Low/Medium/High bands per appointment, provider, and location. Ingests appointment metadata, patient engagement signals (message opens, confirmations, prior attendance), practice constraints, and optional external signals (weather, traffic by ZIP). Exposes a read-optimized API and data stream consumed by the Heatmap view and automation services, with update latency under 5 seconds for changes like new confirmations, reschedules, or cancellations. Includes model versioning, feature gating, safe defaults when the model is unavailable, and HIPAA-compliant data handling with minimum necessary fields.

Acceptance Criteria
Heatmap Calendar Visualization
"As a scheduler, I want a color-coded schedule that highlights risky slots so that I can quickly see where to focus my outreach."
Description

Delivers a color-coded schedule view that maps risk scores to an accessible palette across day, week, and provider/location grids. Displays a legend, tooltips with score, band, top contributing factors, appointment details, and quick actions. Supports drill-down to the appointment record, responsive layout for desktop/tablet, and performant rendering for multi-location practices up to six weeks of data. Ensures WCAG 2.2 AA contrast and colorblind-safe palettes, with graceful degradation when scores are unavailable.

Acceptance Criteria
Advanced Filters & Saved Views
"As a front desk coordinator, I want to filter the schedule by high-risk hygiene appointments this morning so that I can prioritize outreach efficiently."
Description

Enables filtering the heatmap by risk band, provider, location, appointment type, operatory, daypart, date range, and confirmation status, with multi-select and combinable criteria. Provides quick presets (Today, Next 3 Days, This Week), per-user saved views with default view settings, and role-based visibility of PHI in filter results. Includes fast counts per filter, keyboard navigation, and stateful URLs for shareable, permissioned links.

Acceptance Criteria
Bulk Risk Mitigation Actions
"As a practice manager, I want to apply proactive outreach to all high-risk slots tomorrow so that we reduce same-day no-shows without manual one-by-one work."
Description

Allows staff to select individual slots or filtered sets and apply predefined actions such as triggering advance outreach sequences, switching to voice fallback, increasing reminder cadence, requiring double-confirmation, or proposing controlled overbooking with guardrails. Integrates with SmileCue’s messaging workflows and templating, shows a preview of recipients and expected send volume, enforces rate limits and quiet hours, and supports undo/rollback. All actions respect permissions and are logged for compliance.

Acceptance Criteria
Threshold Alerts & Day-of Escalations
"As a lead hygienist, I want alerts when my afternoon block exceeds a high-risk threshold so that I can adjust staffing and start outreach immediately."
Description

Provides configurable alert thresholds by provider, location, and daypart that notify staff when risk density exceeds set levels. Delivers in-app badges, morning digests, and real-time alerts via email/push for urgent cases, with snooze, quiet hours, and escalation routing to on-call roles. Links alerts directly to the filtered Heatmap view and recommended next actions, with acknowledgement tracking.

Acceptance Criteria
Role-Based Access & PHI Safeguards
"As a compliance-minded administrator, I want risk visibility tailored to staff roles so that we protect PHI while enabling effective action."
Description

Implements granular permissions controlling who can view risk scores, patient identifiers, and perform bulk actions, with role templates for dentist, hygienist, office manager, and front desk. Obfuscates PHI in the heatmap for limited roles (e.g., initials only) and reveals details on demand for authorized users. Enforces session timeouts, encryption in transit/at rest, minimum-necessary data exposure, and environment-specific configs to maintain HIPAA compliance.

Acceptance Criteria
Audit Trail & Effectiveness Reporting
"As a practice owner, I want to see how interventions driven by the heatmap affected confirmations so that I can justify workflows and optimize staffing."
Description

Captures immutable logs of risk scores, model versions, bulk actions, automated outreach triggers, user acknowledgements, and resulting attendance outcomes with timestamps and actors. Provides exportable reports and dashboards showing confirmation rates, no-show reduction, intervention effectiveness by action type, and trends by provider/location. Supports retention policies, data subject requests, and reproducibility of what was seen and sent at any point in time.

Acceptance Criteria

Score Explain

Transparent, human-readable reasons behind each risk score (e.g., prior attendance pattern, booking lead time, channel responsiveness, weather/commute signals, guardian involvement). Includes a next-best-action tip for each slot, building trust in the model, speeding decisions, and supporting audit-readiness for compliance leads.

Requirements

Real-time Score Explanation Engine
"As an office manager, I want clear, plain-language reasons behind each no-show risk score so that I can understand the drivers and make informed scheduling decisions."
Description

Generate deterministic, human-readable explanations for each no-show risk score by translating top contributing factors into plain-language reason statements with directionality and relative impact (e.g., increases/decreases risk, high/medium/low). Output both structured JSON (reasons, weights, confidence, reason codes) and a concise narrative. Maintain a mapping from model features to patient-friendly labels, exclude protected attributes, and enforce HIPAA-safe phrasing. Support multiple model versions with reproducible outputs and version tagging. Handle missing or stale signals gracefully and indicate data sufficiency. Provide localization-ready templates and unit-tested templates for clarity and consistency. Integrate with the existing scoring pipeline and event bus to produce explanations on score creation and update.

Acceptance Criteria
Explanations UI & Calendar Slot Overlay
"As a scheduler, I want explanations and tips visible directly on each calendar slot so that I can act without leaving my workflow."
Description

Embed explanations directly in SmileCue’s calendar, appointment list, and patient profile with an accessible, responsive UI. Show a compact badge (risk level and count of reasons) and an expandable panel listing the top reasons with icons, tooltips, and confidence indicators. Include a prominent next-best-action tip with a single primary call-to-action. Provide drill-down to see structured details and signal provenance without leaving the workflow. Support copy/share and print-safe views for supervised use. Respect role-based redactions in all views and function within EHR-embedded contexts (iframes) with consistent performance and theming.

Acceptance Criteria
Next-Best-Action Tip Service
"As a front desk staff member, I want a recommended next step for each at-risk appointment so that I can reduce no-shows with minimal effort."
Description

Compute a recommended, actionable next step per appointment by combining risk reasons, patient contact preferences and consent, channel responsiveness, business hours, and practice policies. Produce a single prioritized tip with rationale and expected impact (e.g., “Send SMS now; patient responds fastest to SMS within 24 hours”). Integrate with the campaign orchestration layer to one-click trigger SMS/email/voice or rescheduling workflows, with cooldowns and guardrails to prevent over-messaging. Allow admin-configurable policies and experimentation flags to A/B test tip strategies and measure outcome lift. Log all decisions and triggered actions for auditability and learning loops.

Acceptance Criteria
Evidence Traceability & Audit Export
"As a compliance lead, I want an auditable record of the data, model version, and reasoning behind each score so that I can satisfy HIPAA and internal audit requirements."
Description

Persist a complete, immutable evidence record for each score and explanation, including timestamp, appointment and patient pseudonymous identifiers, model/version, feature snapshot, contribution scores, generated narrative, displayed tip, and any user actions taken. Enforce retention policies and cryptographic integrity (hashing) for tamper detection. Provide secure CSV/PDF export and a scoped API with filters (date range, clinic, practitioner, model version) and PHI minimization by default, with elevated-access options for authorized personnel. Record change history when models, templates, or policies are updated to support internal and regulatory audits.

Acceptance Criteria
Role-based Visibility & PHI Redaction
"As a practice administrator, I want sensitive factors redacted by role so that staff see only what they need while protecting patient privacy."
Description

Enforce role-based access controls that govern which explanation details are shown, at what granularity, and in which channels. Redact or generalize sensitive elements (e.g., replace precise commute details with "long commute"), and ensure redaction is applied consistently across UI, exports, and APIs. Integrate with SSO/SCIM for role provisioning, allow per-practice policy configuration with safe defaults and deny-by-default behavior, and log all access for audits. Provide administrative previews and policy testing to validate what each role will see in production.

Acceptance Criteria
Multichannel Signal Ingestion & Fallbacks
"As a scheduler, I want explanations to remain sensible even when some signals are unavailable so that I can still take action confidently."
Description

Ingest and maintain the signals required for explanations and tips: attendance history and booking lead time from EHR, channel responsiveness from SmileCue communications, guardian relationships, and external weather/traffic data. Define data contracts, validation rules, freshness SLAs, and provenance metadata for each signal. Implement retries, circuit breakers, and monitoring for external dependencies. Provide explicit fallbacks and heuristics when signals are missing or stale, degrade gracefully without blocking scoring, and surface which signals were used in each explanation.

Acceptance Criteria
Performance, Caching, and SLA Guarantees
"As a busy receptionist, I want explanations to load instantly so that my booking workflow is not slowed down."
Description

Meet strict performance budgets so explanations feel instantaneous in daily workflows: <=200 ms p95 additional latency per slot and <=1.5 s p95 for views with 50+ slots. Implement server-side caching keyed by appointment, patient, model version, and data fingerprint, with precomputation for near-term schedules and invalidation on relevant data changes. Provide graceful degradation to last-known explanations with freshness indicators when backends are slow. Establish monitoring dashboards, alerts, load tests, and autoscaling policies to maintain agreed SLAs under peak usage.

Acceptance Criteria

Auto Playbooks

Turns risk thresholds into automated, response-driven actions: earlier reminder cadence, multilingual switch, guardian CC, voice fallback, double-confirm steps, or deposit request for high-value appointments. Fully integrated with SmileCue’s branching templates and consent rules so the right escalation happens automatically and compliantly.

Requirements

Risk Threshold Engine
"As an office manager, I want appointments automatically classified by risk so that the correct communication sequence runs without manual review."
Description

A backend component that evaluates patient and appointment risk attributes (e.g., prior no-shows, appointment value, procedure type, lead time, channel engagement history, consent state) against configurable thresholds to select the appropriate Auto Playbook. Supports weighted rules, time-based conditions, and real-time reevaluation on schedule changes or new signals. Exposes API/webhooks to receive EHR updates and triggers playbook selection without delays. Logs decision rationale for audit and analytics.

Acceptance Criteria
Playbook Builder UI
"As a practice admin, I want to design and deploy automated communication flows so that each patient receives the right steps for their situation."
Description

A visual, HIPAA-compliant editor to create and manage response-driven branching playbooks that define actions such as reminder cadence adjustments, channel sequencing (SMS, email, voice), multilingual switching, guardian CC, double-confirm steps, and deposit requests. Includes condition nodes, action nodes, wait timers, exit criteria, and reusable templates. Provides validation for consent and channel availability, versioning with draft/publish, and safe rollout via percentage-based activation by appointment type or risk tier.

Acceptance Criteria
Consent & Compliance Gatekeeper
"As a compliance officer, I want every automated action to be vetted against consent and privacy rules so that our practice remains protected."
Description

A policy layer that enforces HIPAA and consent rules at runtime for every action in a playbook. Validates patient/channel consent, honors opt-outs, suppresses PHI in restricted channels, and ensures voice drops comply with TCPA and local regulations. Maintains immutable audit logs of all decisions, content variants sent, and user overrides. Provides breach-safe masking in logs and supports data retention policies.

Acceptance Criteria
Multilingual Auto-Switch with Content Library
"As a hygienist, I want messages to switch to the patient’s preferred language so that they understand and respond promptly."
Description

Automatic selection of language-specific content based on patient preference, detected responses, or regional metadata, with fallback rules. Integrates with a centralized content library that stores approved translations for SMS, email, and voice scripts, supports personalization tokens, and tracks content versions per language. Offers QA previews and test sends per language and channel.

Acceptance Criteria
Guardian CC and Relationship Routing
"As a pediatric practice manager, I want guardians automatically included in reminders so that appointments are confirmed by the responsible adult."
Description

Ability to associate guardians or responsible parties with patient records and automatically CC or route messages when the patient is a minor or has designated consent. Supports relationship types, per-channel permissions, and escalation logic that ensures confirmations and deposits can be handled by guardians where allowed. Includes data model extensions and UI to manage relationships.

Acceptance Criteria
Deposit Request Step with Payments Integration
"As a dentist, I want to collect deposits for high-value procedures so that patients commit and no-shows are reduced."
Description

Playbook action that requests a deposit for high-value appointments, integrated with PCI-compliant payment gateways. Supports configurable deposit amounts, due-by times, secure payment links via SMS/email, and voice prompts that transfer to a secure IVR. Tracks payment status, retries per playbook rules, and writes payment outcomes back to the appointment record and analytics.

Acceptance Criteria
Channel Fallback and Double-Confirm
"As a scheduler, I want the system to escalate and confirm through multiple channels so that high-risk appointments are reliably confirmed."
Description

Orchestration logic that retries across channels when primary messages fail or are ignored, escalating to voice or alternate channels as defined. Supports double-confirm steps that require two independent confirmations for certain risk tiers, with anti-spoof tokens and confirmation logging. Provides delivery/error telemetry and blackout windows to avoid off-hours outreach.

Acceptance Criteria

Confidence Tuner

A sensitivity slider with a what-if simulator that projects chairs saved, extra outreaches sent, and expected confirmation lift by cohort. Managers can tailor aggressiveness by provider, appointment type, or clinic, reducing false alarms and outreach fatigue while maximizing schedule protection.

Requirements

Granular Sensitivity Slider with Scope Overrides
"As an office manager, I want to adjust reminder aggressiveness by provider and appointment type so that I can reduce no-shows without overwhelming patients with unnecessary outreach."
Description

Implement a configurable sensitivity slider (0–100 with labeled presets: Conservative, Balanced, Aggressive) that maps to outreach trigger thresholds for no‑show risk and reminder branching. Support inheritance and overrides at multiple scopes (global, clinic, provider, appointment type), with real-time validation of conflicts and a draft/publish model. Changes must apply without service downtime and expose a deterministic mapping from slider position to system parameters (e.g., risk score thresholds, retry cadence, channel escalation) so outcomes are traceable. Provide preset management, default baselines per cohort, and guard against invalid combinations. Ensure accessibility, responsive UI, and audit-safe persistence in a HIPAA-compliant store.

Acceptance Criteria
What‑if Outcome Simulator
"As a practice manager, I want to preview the impact of different confidence levels so that I can choose settings that protect the schedule without causing outreach fatigue or added costs."
Description

Provide an interactive simulator that projects expected impact of a proposed sensitivity setting over a selectable lookback window using historical data and current schedule. Surface projected chairs saved (hours), additional outreaches sent (by channel), confirmation lift by cohort, cost vs ROI, and 95% confidence intervals. Allow filters by clinic, provider, appointment type, days-to-appointment, and patient segment. Include scenario comparison (side-by-side) and exportable summaries. Calculations must be explainable (display key assumptions), privacy-preserving (aggregate outputs only), performant (<3s for typical clinics), and consistent with production models. Support sandbox mode that does not alter live outreach until published.

Acceptance Criteria
Cohort Configuration & Targeting Rules
"As a regional operations lead, I want to define cohorts that reflect our workflows so that tuning and projections match how different patient groups behave."
Description

Enable creation and management of cohorts that drive tuning and simulation: provider, appointment type, clinic/location, new vs returning patient, historical no‑show risk band, days-to-appointment, time-of-day/day-of-week, and preferred channel. Provide rule builder with AND/OR logic, validation, and preview of impacted appointments. Seed common cohorts and allow cloning. Ensure HIPAA-compliant handling of attributes, respect patient communication preferences and exclusions, and expose APIs to fetch cohort definitions for downstream services. Persist versioned cohort definitions with backward compatibility for past simulations.

Acceptance Criteria
Outreach Fatigue Guardrails & False Alarm Controls
"As a compliance-minded office manager, I want automatic caps and suppression rules so that patients aren’t spammed and we stay compliant while still protecting the schedule."
Description

Implement platform-level guardrails that cap total outreaches per patient per time window, enforce suppression windows after confirmations, rotate channels to minimize fatigue, and automatically suppress patients who opt out or reach do-not-contact limits. Track and report false alarms (high-risk triggers that did not require extra outreach) and feed this signal back to suggest less aggressive settings. Provide configurable thresholds by cohort, conflict detection with existing campaign rules, and real-time enforcement within the sending pipeline. All guardrails must be auditable and HIPAA-compliant.

Acceptance Criteria
A/B and Holdout Testing for Tuning Levels
"As a data-driven practice owner, I want to test tuning options against a control so that I can adopt the best-performing setting with confidence."
Description

Add experimentation capabilities to compare different sensitivity settings against a control with randomized assignment at patient or appointment level. Support sample sizing guidance, runtime configuration, guardrails to avoid over-exposure, and measurement of primary metrics (confirmation rate, no‑show rate, chairs saved) and secondary metrics (opt-outs, patient complaints, added outreaches). Provide significance calculations, interim peeks with anti-peeking corrections, and exportable results. Experiments must honor HIPAA constraints, existing opt-out rules, and be fully reversible without data loss.

Acceptance Criteria
Permissions, Audit Trail, and Versioning
"As a clinic admin, I want permissions and a full change history so that only authorized staff can make adjustments and we can prove compliance during audits."
Description

Introduce role-based access controls restricting who can view, simulate, publish, and roll back tuning changes (e.g., Admin, Manager, Read-only). Record an immutable audit trail capturing user, timestamp, scope, before/after values, and rationale notes. Maintain version history for slider presets, cohort rules, and guardrails with one-click rollback and scheduled publish. Expose read-only audit APIs for compliance reviews and ensure all artifacts are stored in encrypted HIPAA-compliant storage with retention policies.

Acceptance Criteria
Practice Management Integration for Tuner & Simulator
"As an operations manager, I want the tuner and simulator to use our live schedule and preferences so that projections and outreach behavior reflect reality across all clinics."
Description

Integrate the tuner and simulator with existing schedule data pipelines (e.g., Dentrix, Open Dental, Eaglesoft) to fetch real-time appointment data, provider rosters, and patient communication preferences. Ensure near-real-time sync (≤5 minutes), idempotent processing, resiliency to outages (queueing, retries, backfill), and accurate mapping between external entities and internal cohorts. Write back non-PHI flags/notes where supported to indicate applied tuning. Provide health dashboards and alerts for data freshness to guarantee simulator accuracy and safe rollout.

Acceptance Criteria

Smart Deposits

For high-risk, high-value appointments (surgery, long procedures), automatically triggers a polite, timed deposit request via secure link or staff-assisted call. Eligibility rules, insurance exceptions, and compassionate waivers maintain patient goodwill while cutting last-minute no-shows that waste premium chair time.

Requirements

Deposit Eligibility & Risk Rules Engine
"As an office manager, I want deposit eligibility to be determined automatically based on our policies and patient risk so that we reduce no-shows without burdening low-risk or fully insured patients."
Description

Configurable rules engine that evaluates appointment metadata and patient history to decide when a deposit request should be triggered. Inputs include appointment type and duration, provider utilization, estimated cost, time-to-appointment, patient no-show/cancellation history, insurance coverage/pre-authorization status, and practice-level policy thresholds. Provides a UI to author AND/OR rules, reusable templates, and a test/simulator to preview outcomes. Evaluates in real time at booking and on subsequent changes, producing a structured decision with reason codes for audit and message personalization. Supports compassionate waiver flags, regulatory constraints by location, and safe defaults if data is incomplete. Integrates with SmileCue’s PMS/EHR connectors and event bus for low-latency decisions.

Acceptance Criteria
Secure Deposit Payment Links & Compliance
"As a patient, I want a secure, simple way to pay my deposit from my phone so that I can confirm my appointment without calling the office."
Description

Generation of expiring, single-use, HMAC-signed payment links that avoid PHI, directing patients to a branded, mobile-first payment page. Supports major cards, Apple Pay/Google Pay, HSA/FSA where applicable, and 3-D Secure. Uses a PCI-DSS compliant processor with tokenization; SmileCue stores only tokens and transaction metadata. Enforces HIPAA-aligned practices (no PHI in messages/URLs, access logging, BAAs with vendors), plus rate limiting, CAPTCHA, and identity verification via one-time code or DOB/ZIP check. Handles partial deposit amounts, sliding scales, multi-currency, taxes, and receipts via the patient’s preferred channel. Implements webhook retries and idempotency for resilient posting, WCAG 2.1 AA accessibility, multilingual support, and link expiry/reissue flows.

Acceptance Criteria
Multi-channel Deposit Request Orchestration
"As a front desk coordinator, I want deposit requests to be automatically sequenced and adjusted based on patient responses so that I spend less time chasing confirmations."
Description

Automated, polite outreach sequence across SMS, email, and optional voice that initiates after an eligibility approval. Cadences are configurable by appointment lead time and respect quiet hours and time zones. Branching logic adapts to patient responses (paid, waiver requested, insurance exception, opt-out, unreachable), with automatic cessation upon resolution. Includes personalization tokens, pre-approved templates, and A/B testing of copy and timing. Tracks delivery, bounces, and spam signals; falls back to alternate channels when needed. Sends staff alerts when payment deadlines approach and adds calendar attachments where appropriate. Honors patient communication preferences and regulatory opt-out requirements.

Acceptance Criteria
Staff-Assisted Call Workflow & Scripts
"As a billing specialist, I want a guided call workflow to collect deposits securely so that I can resolve edge cases quickly and compliantly."
Description

In-app call queue for patients requiring staff-assisted deposit collection, with one-click dialing/softphone integration and dynamic call scripts tailored to appointment context, eligibility rationale, and suggested deposit amount. Captures call outcomes with standardized disposition codes (paid by phone, voicemail, refused, waiver review) and schedules follow-ups. Enables phone payments via a PCI-compliant virtual terminal that shields card data from staff while recording necessary metadata. Provides permissions, audit trails for who collected payments or granted waivers, and automatic synchronization of statuses to halt automated outreach when resolved.

Acceptance Criteria
Compassionate Waivers & Insurance Exceptions
"As a practice owner, I want a consistent waiver process with clear rules and documentation so that we maintain patient trust while protecting premium chair time."
Description

Lightweight approval workflow to handle compassionate waivers and insurance-based exceptions. Patients can request a waiver from the payment link; staff can initiate on behalf of patients. Captures reason categories, notes, and optional documentation, and enforces configurable policy limits (e.g., annual waiver caps, excluded procedures, public program exemptions). Routes approvals to designated roles with SLAs and notifications; upon decision, updates orchestration, sends appropriate messages, and records immutable audit entries with reason codes. Provides reporting on waiver rates, financial impact, and correlation with no-show reductions, while ensuring respectful copy and suppression of further requests after denial or approval.

Acceptance Criteria
Deposit Application, Refunds, and Reconciliation
"As a practice accountant, I want deposits to reconcile automatically with our PMS and processor so that our books stay accurate and refunds are handled correctly."
Description

Automated application of collected deposits to the patient ledger and specific appointment at check-in or treatment completion via PMS/EHR integration. Implements policy-driven handling for cancellations/reschedules (e.g., refundable before 48 hours, partial forfeiture, rollover to rescheduled date). Supports manual adjustments with role-based approvals, initiates refunds to original payment methods, and updates accounting entries. Maintains a reconciliation dashboard that matches internal transactions to processor settlements using webhooks and idempotent operations, with alerts for discrepancies. Exposes APIs/events for downstream billing and produces clear patient communications for applied or refunded deposits.

Acceptance Criteria
Admin Policy Management & Performance Analytics
"As a practice manager, I want to configure policies and monitor outcomes so that we can optimize deposits for high confirmation rates and low patient friction."
Description

Centralized admin console to configure deposit policies, amounts (flat/percentage with caps), eligible appointment types, communication channels, cadences, templates, and quiet hours at practice and location levels. Provides role-based access, change history, and versioned policy rollouts with safe revert. Displays real-time analytics on request-to-pay conversion, time-to-payment, waiver rates, revenue secured, no-show impact, and staff workload. Supports cohort and provider-level segmentation, exports/BI connectors, threshold-based alerts, and A/B test reporting with recommendations to optimize deposit strategy for high confirmation and low patient friction.

Acceptance Criteria

Hold & Release

Places risk-based soft holds on adjacent slots or backup patients and auto-releases them when confirmations reach a safe threshold. Syncs with the waitlist to pre-stage replacements without hard double-booking, giving the front desk a safety net that reduces scramble and preserves productivity.

Requirements

Risk-Based No-Show Scoring
"As an office manager, I want reliable no-show risk scores for upcoming appointments so that the system can decide when to place holds and I can protect chair time proactively."
Description

Compute a real-time no-show risk score per appointment using historical attendance patterns, latest SMS/email/voice responses, reminder cadence, appointment type/duration, provider, day/time, lead time, weather and traffic signals, and practice-specific heuristics. Expose a scoring service with confidence and reason codes so downstream logic can explain why holds were placed. Ensure data minimization and HIPAA-compliant processing, and cache scores with time-based invalidation to react to new confirmations or cancellations. Provide configuration for feature weights and thresholds per practice, provider, or appointment type.

Acceptance Criteria
Soft Hold Allocation Engine
"As a scheduler, I want the system to place temporary holds near risky appointments so that I have a safety net without disrupting the official schedule."
Description

Place non-invasive, risk-based soft holds on adjacent time slots or pre-select backup patients without creating hard double-bookings in the PMS. Enforce configurable policies: maximum concurrent holds per provider/day, adjacency windows, buffer minutes, hold expiration, and provider/resource constraints (room/equipment). Provide visual indicators in the SmileCue scheduler and PMS annotations, ensure idempotent hold placement, and handle conflicts from external edits. Holds remain invisible to patients and do not trigger automated patient messaging until converted.

Acceptance Criteria
Auto-Release Thresholds & Scheduler
"As a front desk lead, I want holds to auto-release once my day is secure so that we avoid unnecessary blocking and maximize productivity."
Description

Automatically release soft holds when confirmation rates exceed configurable safety thresholds per provider, day part, or block, or when a specific appointment confirms. Support time-based gates (e.g., T-72/T-48/T-24 hours), release prioritization (oldest-first or lowest-risk-first), and hysteresis/debounce to prevent rapid hold churn. Generate staff notifications on release events and update all calendars in near real time. Provide simulation mode to preview releases based on current confirmations.

Acceptance Criteria
Waitlist Sync & Candidate Pre-Staging
"As a hygienist, I want ideal backup patients pre-staged from the waitlist without messaging them prematurely so that I can fill fallouts quickly when a slot opens."
Description

Continuously rank and pre-stage waitlist candidates that best match each potential hold based on appointment type, provider, insurance, travel time, availability windows, readiness flags, and patient preferences. Do not contact candidates until a hold converts to an open slot or staff explicitly triggers outreach. Support multi-tier candidate queues, expiration windows, and exclusion rules. Respect consent and communication channel preferences; log all selection decisions with rationale for traceability.

Acceptance Criteria
PMS/EHR Non-Invasive Calendar Integration
"As an IT admin, I want holds reflected in our schedule without creating duplicate appointments so that our PMS remains authoritative."
Description

Integrate with supported dental PMS/EHR systems to represent holds as metadata, annotations, or custom blocks rather than booked appointments, preserving the official schedule as the source of truth. Implement adapter layers for major vendors (e.g., Dentrix, Open Dental, Eaglesoft) with read/write capabilities, conflict detection, retries, and eventual consistency. Handle reschedules, cancellations, and external edits gracefully; fail-safe to remove or pause holds on adapter errors and surface alerts to staff.

Acceptance Criteria
Staff Controls, Overrides, and Guardrails
"As a practice owner, I want fine-grained control over hold behavior and overrides so that the system aligns with my risk tolerance and operational policies."
Description

Provide role-based UI to view active holds, adjust policies, override placement/release decisions, and perform bulk actions (e.g., weather disruption, provider illness). Require reason codes for overrides, display projected impact on utilization and revenue, and prevent unsafe actions via guardrails (max holds, minimum buffers). Include audit-friendly summaries and quick actions within the daily schedule view for rapid triage.

Acceptance Criteria
Compliance, Auditing, and Performance Reporting
"As a compliance officer, I want complete, traceable records and performance metrics so that we can demonstrate due diligence and quantify ROI."
Description

Ensure HIPAA-compliant handling of PHI across scoring, hold placement, and waitlist matching. Maintain immutable audit logs for holds created/updated/released, inputs to risk decisions, staff overrides, and outbound communications. Provide dashboards and exports for confirmation rate trends, no-show reduction, hold utilization, average fill time, and revenue protection estimates. Meet performance SLAs: scoring and hold decisions under 300 ms p95, calendar sync under 5 seconds p95, and zero data loss on network retries.

Acceptance Criteria

Household Graph

Automatically discovers and maintains family relationships from your PMS and imports (shared address/guardian, insurance, last name, custom flags) with manual overrides. Creates a clean, bundle-ready household record so staff can message one thread, see everyone’s upcoming appointments at a glance, and avoid duplicate outreach. Faster setup, fewer errors, and effortless family coordination from day one.

Requirements

PMS Household Data Ingestion & Mapping
"As an office manager, I want SmileCue to automatically import and map household-relevant data from our PMS so that setup is fast and accurate without manual data entry."
Description

Implement secure connectors to import patient and household-relevant attributes from practice management systems, including shared addresses, guardianship relationships, insurance subscriber/policy links, last names, and custom flags. Normalize sources into a unified schema with deterministic field mapping, data validation, and idempotent upserts. Support initial bulk import and incremental updates with retry, backoff, and reconciliation reports. Provide an admin mapping screen for field configuration and transformation rules. Enforce HIPAA compliance with encryption in transit/at rest and least-privilege access. Output a clean, deduplicated household seed suitable for downstream relationship inference.

Acceptance Criteria
Relationship Inference Engine
"As a scheduling coordinator, I want the system to infer family relationships with confidence scores so that I can coordinate reminders without creating incorrect links."
Description

Create a rules-driven and heuristics-based engine that infers household membership and roles by evaluating signals such as shared address normalization, guardian/guarantor links, shared insurance subscriber, and last-name similarity. Assign confidence scores per inferred edge, apply configurable thresholds, and prevent false positives (e.g., multi-unit addresses, roommates, facility addresses). Generate a stable Household ID and explicit relationship edges (member, guardian, dependent) with provenance metadata. Provide collision detection and soft-locks to avoid oscillations across syncs. Surface low-confidence cases to a review queue.

Acceptance Criteria
Manual Household Overrides & Audit
"As a front-desk staff, I want to manually edit, merge, or split households with a full audit trail so that I can correct edge cases and stay compliant."
Description

Deliver a staff UI to view and edit household membership, designate primary/secondary guardians, and assign minors. Enable merge and split of households with conflict checks, preview diffs, and rollback. Persist manual overrides as first-class rules that supersede inference, survive re-syncs, and record full audit trails (who, what, when, why). Enforce role-based permissions and PHI masking by user role. Provide alerts when future syncs would overturn a manual decision, requiring explicit approval to apply.

Acceptance Criteria
Household Threading & Bundled Outreach
"As an office manager, I want to message a single household thread with bundled appointment reminders so that families receive clear, consolidated communication."
Description

Create a household-level conversation object that consolidates communication across members and channels while respecting consent and preferences. Deduplicate automated reminders so a family receives a single, consolidated message with individualized appointment summaries and smart links per member. Implement routing rules to select the appropriate recipient (e.g., guardian for minors) and fallback logic per channel (SMS, email, voice). Support personalization tokens, language preferences, and quiet hours. Ensure opt-out is honored at person and household scopes with appropriate logging and compliance safeguards.

Acceptance Criteria
Household Appointments Oversight
"As a receptionist, I want a household-level view of all upcoming appointments so that I can confirm or reschedule the family efficiently."
Description

Provide an at-a-glance household view listing upcoming and recent appointments for all members, with status badges (confirmed, pending, reschedule requested), conflicts, and gaps. Enable batch actions (confirm all, propose times, send prep instructions) and quick links to patient charts in the PMS. Sync appointment updates bidirectionally and display reason codes for failures. Include filters for provider, location, and date range, and performance targets to render within 200 ms for typical households.

Acceptance Criteria
Consent & Preferences Inheritance
"As a compliance officer, I want consent and channel preferences to inherit to the household and minors appropriately so that outreach remains compliant and respectful."
Description

Model and enforce consent, privacy, and channel preferences at both person and household scopes with clear inheritance for minors and dependents. Capture source, timestamp, and proof of consent; support TCPA-compliant opt-in/opt-out workflows per channel. Apply precedence rules (individual overrides household), and guardrails to prevent sending PHI-bearing content where consent is absent. Expose UI to review and edit preferences, and validators that block outbound sends violating policy. Maintain a compliance log for audits.

Acceptance Criteria
Household Graph Data Model & APIs
"As a developer, I want stable APIs and a clear household graph model so that other SmileCue modules can query and act on household data reliably."
Description

Define a scalable, normalized data model for households, members, guardianship roles, contact endpoints, consent artifacts, and edge confidence/provenance. Provide internal APIs to query a patient’s household, list members and roles, fetch household appointments, and initiate household conversations. Guarantee SLAs (p95 < 200 ms) and pagination for large families. Implement RBAC, row-level security, and audit logging for every read/write. Offer change events (webhooks/message bus) so other SmileCue services react to household updates.

Acceptance Criteria

Sibling Stacker

Finds optimal back-to-back or concurrent slots for siblings across providers and rooms, then offers 2–3 ready-to-book bundles inside one parent-friendly message. On tap, it confirms all selected slots and writes them back to the calendar, minimizing trips and maximizing chair utilization without manual juggling by the front desk.

Requirements

Family Linking & Eligibility Detection
"As an office manager, I want the system to correctly identify siblings under a shared guardian and verify communication consent so that I can confidently send bundled offers without risking privacy violations or manual cleanup."
Description

Automatically detect and maintain sibling relationships and guardian linkage within SmileCue using patient demographics and household data from the practice management system. Validate that a single guardian has communication consent for all included dependents before generating offers. Aggregate each child’s appointment needs (type, duration, due date), provider eligibility, and room/equipment constraints into a unified request object. Enforce contact preferences and quiet hours at the guardian level. Prevent cross-family leakage by scoping PHI to authorized guardians only and masking nonessential PHI in downstream messages.

Acceptance Criteria
Multi-Provider Slot Optimization Engine
"As a parent, I want the system to find back-to-back or same-time appointments for my children so that we can complete all visits in one trip with minimal waiting."
Description

Compute candidate bundles of back-to-back or concurrent appointments across providers and rooms that satisfy each child’s appointment requirements. Respect provider skills, room/equipment availability, buffers and cleaning times, guardian preference windows (e.g., after school), and practice hours. Optimize for minimal total visit time, minimal gaps between siblings, and provider continuity. Return results in under two seconds for typical two- to three-sibling scenarios. Support configuration for search horizon, bundle size, and whether concurrency is allowed per practice policy.

Acceptance Criteria
Bundle Ranking & Deduplication
"As a guardian, I want to receive the top two to three appointment bundles that best match my preferences so that I can choose quickly without reviewing dozens of options."
Description

Score and rank candidate bundles using configurable signals: guardian-stated day/time preferences, historical show patterns, distance/travel constraints, time between sibling appointments, and provider continuity. Deduplicate near-equivalent bundles and ensure two to three distinct, high-quality choices. Validate availability at render time; drop stale bundles and refill as needed. Expose ranking diagnostics for admins to aid troubleshooting without revealing PHI.

Acceptance Criteria
Parent-Friendly Unified Offer Message
"As a busy parent, I want a single, easy-to-understand message with a couple of great options I can confirm in one tap so that scheduling takes seconds, not calls back and forth."
Description

Generate a single message per guardian that presents two to three tappable appointment bundles with clear labels (child names, date, start/end time, providers, and estimated visit length) and a one-tap confirmation call-to-action per bundle. Support SMS, email, and voice with consistent content, localization, and accessible formatting. Use secure deep links that reveal sensitive details only after authentication when required by practice policy. Integrate with SmileCue’s adaptive branching to handle replies such as numeric selections, requests for more options, or a call-back. Track delivery, open, and selection events for analytics and retries.

Acceptance Criteria
Atomic Multi-Slot Booking & Calendar Write-Back
"As a front-desk coordinator, I want bundle confirmation to book all required slots together and update the calendar automatically so that I don’t have to fix partial or conflicting appointments."
Description

Confirm all appointments in a selected bundle as a single atomic transaction with short-lived slot holds during review. Write back confirmations to the practice calendar in real time; on any failure, roll back all changes to prevent partial bookings. Implement idempotent confirmation links and concurrency controls to handle race conditions. Update downstream reminders and confirmations, notify providers as configured, and emit auditable events for each step.

Acceptance Criteria
Consent, Privacy, and Audit Controls
"As a compliance officer, I want consent, privacy controls, and auditable records for family-based scheduling so that the practice can meet HIPAA obligations while using Sibling Stacker."
Description

Manage guardian consent for multi-child communications, including verification of the relationship and authorized channels. Minimize PHI in outbound offers and reveal details only after secure authentication when required. Encrypt data in transit and at rest, enforce role-based access within SmileCue, and maintain comprehensive audit logs of offer generation, viewing, and booking events. Provide admin tools to review, revoke, or update consent and purge family linkages on request.

Acceptance Criteria
Exception Handling & Regeneration Flow
"As a front-desk coordinator, I want the system to regenerate options or hand off to me with full context when something changes so that I can keep families scheduled without starting from scratch."
Description

Detect and resolve failures or changes such as slot loss at confirmation, provider cancellations, or no response. Automatically regenerate fresh bundles within policy limits or route the case with full context to the front desk for manual follow-up. Coordinate with waitlists and recall campaigns to avoid double-booking and message fatigue. Apply throttling and retry rules, and provide clear guardian notifications when options change.

Acceptance Criteria

Smart Split

Lets caregivers confirm the parts of a family bundle that work and seamlessly reschedule only the conflicting child. Suggests smart alternatives that keep as many siblings together as possible, preserving confirmed slots and reducing back-and-forth. Families get flexibility; staff keep the schedule stable.

Requirements

Caregiver Partial Confirmation Flow
"As a caregiver, I want to confirm which of my children’s appointments we can keep and flag a conflict for only the ones that don’t work so that I don’t have to reschedule the entire family."
Description

Provide a secure, mobile-first experience that lets caregivers confirm or decline individual appointments within a family bundle without affecting confirmed siblings. Via a HIPAA-compliant, tokenized link, caregivers can review each child’s appointment details, mark which ones work, flag conflicts for specific children, and optionally provide constraints (preferred days/times, provider, proximity) for rescheduling. Supports multiple caregivers with role-based access, deduplicates duplicate responses, and enforces link expiration and quiet hours. Presents a confirmation summary prior to submission and writes results into SmileCue’s conversation timeline for staff visibility. Localized content, accessibility compliance, and minimal PHI exposure are required to align with SmileCue’s messaging and security standards.

Acceptance Criteria
Conflict-aware Reschedule Suggestions
"As a caregiver, I want the system to suggest new times for the conflicting child that keep siblings together when possible so that our visits stay convenient and coordinated."
Description

Implement a scheduling engine that generates ranked reschedule options for only the conflicting child while maximizing sibling togetherness and schedule stability. The engine evaluates constraints such as same-day availability, back-to-back slots, provider preferences, room/chair capacity, insurance and age restrictions, procedure duration, buffer times, and clinic hours. It scores and returns the top options (e.g., 3 best matches) in real time, minimizing disruptions to confirmed siblings. Supports temporary slot holds, avoids lunch/blocked times, respects caregiver time-of-day preferences, and integrates with SmileCue’s adaptive branching to present options in-channel (SMS/email/voice via secure link).

Acceptance Criteria
Confirmed Slot Preservation & Atomic Reschedule
"As an office manager, I want confirmed sibling appointments to remain locked while rescheduling the conflicting child so that the schedule stays stable and errors are prevented."
Description

Ensure that confirmed sibling appointments remain locked while rescheduling the conflicting child through transactional safeguards. Use temporary holds and optimistic locking to prevent double-booking, and apply changes atomically—either all updates succeed or none do—with automatic rollback on failure. Handle concurrency with staff edits and other caregiver actions, include timeout policies for stale holds, and present clear conflict resolution paths. Emit structured events for auditability and notifications to staff if manual intervention is required. This preserves schedule stability and reduces cascade changes that create back-and-forth.

Acceptance Criteria
Adaptive Smart Split Messaging (SMS/Email/Voice)
"As a caregiver, I want clear, secure messages that guide me through confirming and rescheduling parts of a family bundle across SMS, email, or voice so that I can complete it quickly on any device."
Description

Create branching communication templates that detect family bundles and invite caregivers to confirm or split appointments through a secure, tokenized link. Support SMS, email, and voice (IVR) paths with consistent content, minimal PHI in-channel, and full consent/DND management. Include reminder nudges, escalation timing, delivery monitoring, retry logic, throughput throttling, localization, and accessibility. Leverage SmileCue’s existing adaptive workflows to tailor tone and cadence based on caregiver responses and past behavior, while logging all steps for HIPAA-compliant audit trails.

Acceptance Criteria
Staff Smart Split Review Console
"As an office manager, I want a console to review, approve, or adjust Smart Split proposals with full context and audit history so that I can maintain control and resolve edge cases efficiently."
Description

Deliver an in-app console where staff can visualize family bundles, see caregiver selections, and review proposed reschedules with a side-by-side diff of original vs. proposed appointments. Provide one-click approve, adjust, or decline actions, manual rescheduling tools, reason codes, and note-taking. Include filters (by date, provider, location), conflict reason tagging, and workload views. Surface risk indicators (e.g., low availability, repeated reschedules) and maintain a complete audit trail of changes. Integrate seamlessly with the existing schedule view and conversation timeline to reduce context switching and speed resolution.

Acceptance Criteria
PMS Sync & Audit for Split Changes
"As a practice administrator, I want Smart Split changes to sync reliably to our practice management system with auditable records so that our source of truth remains accurate and compliant."
Description

Integrate Smart Split operations with leading practice management systems (e.g., Dentrix, Eaglesoft, OpenDental) to apply partial confirmations and reschedules as atomic, version-locked updates. Map family/guarantor relationships, procedures, providers, and insurance constraints accurately. Implement idempotent writes, retry/backoff for transient failures, and reconciliation jobs to detect drift. Store detailed before/after snapshots with timestamps, user/system actor attribution, and reason codes for HIPAA-compliant auditability. Provide alerting and rollbacks when third-party updates fail to ensure the external source of truth remains consistent.

Acceptance Criteria
Smart Split Analytics & Reporting
"As a practice owner, I want reports that show how Smart Split affects confirmations, kept siblings together, and no-shows so that I can measure ROI and optimize operations."
Description

Produce dashboards and exportable reports that quantify Smart Split impact, including confirmation rate lift, no-show reduction, sibling-togetherness rate, average time-to-resolution, caregiver channel preference, and staff time saved. Support cohorting by practice, location, provider, and appointment type; enable A/B testing of suggestion strategies; and surface anomaly alerts (e.g., unusually low availability). Ensure data minimization and de-identification for HIPAA compliance, with configurable retention policies. Expose metrics via in-app charts and secure APIs to inform continuous optimization.

Acceptance Criteria

Caregiver Cascade

Routes each family message to the right caregiver by child, then escalates to a secondary contact if there’s no response—respecting language, channel, and time-of-day preferences. Builds on permissions to ensure the correct guardian is engaged while boosting confirmation rates with thoughtful fallbacks and a clear audit trail.

Requirements

Per-Child Caregiver Association & Permission Enforcement
"As an office manager, I want caregiver routing to respect per-child permissions so that only authorized guardians receive communications."
Description

Create and maintain a robust data model that maps each child to one or more caregivers with explicit roles (e.g., primary guardian, secondary guardian, legal guardian, emergency contact) and permission constraints (e.g., custody restrictions, no-contact flags). Ingest and continuously sync caregiver relationships and constraints from the practice PMS/EHR, with conflict detection and admin override workflows. At send time, evaluate permissions to determine the eligible caregiver(s) for each message, blocking delivery to unauthorized contacts. Support households with multiple children, ensuring the correct guardian is selected per child and appointment. Provide an admin UI to review and correct mappings, and emit structured events for downstream logging and analytics. Enforce HIPAA minimum-necessary principles and role-based access control for viewing and editing caregiver data.

Acceptance Criteria
Preference-Aware Channel & Language Selection
"As a caregiver, I want to receive messages in my preferred language and channel so that I can quickly understand and respond."
Description

Store and honor per-caregiver preferences for communication channel (SMS, email, voice) and language, with practice-level defaults and per-message overrides. Auto-select localized templates and dynamic content based on the caregiver’s language, including right-to-left support and TTS voice selection for calls. Provide mechanisms to capture and update preferences via caregiver responses, practice staff UI, and API. Validate channel feasibility (e.g., mobile-capable number for SMS) and gracefully fall back to the next preferred channel or default when needed. Integrate with the template service to ensure message personalization, token safety, and consistent branding across channels and locales, improving comprehension and response rates.

Acceptance Criteria
Quiet Hours & Smart Send Windows
"As a practice admin, I want reminders sent only within acceptable hours for each caregiver so that we respect preferences and improve response rates."
Description

Respect caregiver-defined quiet hours and preferred contact windows in conjunction with practice-level contact policies. Automatically schedule sends within allowed windows relative to appointment time, accounting for caregiver time zone, daylight saving changes, and regional regulations. Provide urgent override rules (with justification capture) and throttling to avoid message bursts. Offer configuration for school hours avoidance where applicable. Expose eligibility checks and next-send predictions to the UI and API so staff can see when messages will go out. This reduces complaints, improves engagement, and keeps contact timing compliant with TCPA/CTIA and practice policies.

Acceptance Criteria
Response-Driven Cascade with Escalation SLAs
"As a hygienist, I want messages to escalate to a secondary caregiver after a defined wait if the primary doesn’t respond so that appointments get confirmed without manual calls."
Description

Implement a policy-driven cascade that sends the initial message to the primary caregiver, waits a configurable interval for a response, and escalates to a secondary caregiver if no qualifying response is received. Allow per-practice and per-campaign configuration of wait times, maximum steps, and stop conditions. Parse responses (keywords, links, buttons) to determine state transitions (confirmed, reschedule, decline) and terminate the cascade once a resolution is reached. Coordinate across siblings to prevent redundant outreach when a single response covers multiple children or appointments. Surface real-time cascade status in the UI and record each decision for auditability. This reduces manual follow-up and increases confirmation rates.

Acceptance Criteria
Multi-Channel Failover & Bounce Handling
"As a scheduling coordinator, I want undelivered messages to automatically switch to an alternate channel so that families still receive time-sensitive reminders."
Description

Monitor delivery outcomes via carrier and email provider webhooks and automatically fail over to an alternate channel when delivery fails, is blocked (e.g., DND), or remains undelivered beyond a threshold. Support voicemail drops for voice fallback and track email bounces, spam complaints, and SMS error codes with mapped retry logic. De-duplicate notifications per caregiver to prevent spam, enforce STOP/UNSUBSCRIBE compliance, and annotate each attempt with outcome metadata. Provide configuration for channel order, retry counts, and cooldowns, with visibility in the UI for staff to see what happened and why. This maximizes deliverability while maintaining compliance and user trust.

Acceptance Criteria
Unified Audit Trail & Compliance Export
"As a compliance officer, I want a complete, exportable audit trail of caregiver routing decisions and communications so that we can satisfy HIPAA audits and incident reviews."
Description

Produce an immutable audit trail for every communication, capturing the selected caregiver(s), permission checks and results, preference evaluations, templates used (versioned), message content metadata, timestamps, delivery receipts, response events, and cascade decisions. Provide secure search, filtering, and export (CSV/PDF) with redaction controls and role-based access. Implement retention policies aligned with HIPAA and practice requirements, including tamper-evident storage and event signing. Expose audit views in the UI and via API for compliance officers and administrators, enabling rapid incident review and regulatory audits without exposing unnecessary PHI.

Acceptance Criteria
Consent & Opt-Out Management per Caregiver and Channel
"As a caregiver, I want simple opt-in and opt-out controls per channel with clear records so that I control how and if I’m contacted about my child."
Description

Track and enforce consent at the caregiver-and-channel level, including double opt-in for SMS where required. Record consent source, timestamp, and method; honor STOP/UNSUBSCRIBE and equivalent keywords; and provide clear re-consent flows with logging. Block non-transactional outreach when consent is missing, while allowing strictly transactional messages if permitted by policy. Provide staff tools and API endpoints to review and update consent states with audit notes, and integrate consent checks into routing, cascade, and failover logic. Ensure alignment with TCPA/CTIA, CAN-SPAM, and HIPAA minimum-necessary practices to prevent unauthorized contact and maintain trust.

Acceptance Criteria

Bundle Prep

Combines pre-visit instructions, forms, and consents for all children into one secure link with per-child tabs. Auto-applies identity verification for PHI, collects signatures once when allowed, and nudges caregivers on what’s missing. Parents complete everything in minutes; day-of delays and paperwork bottlenecks disappear.

Requirements

Single Secure Family Link Delivery
"As a caregiver with multiple children scheduled, I want one secure link for all pre-visit tasks so that I can complete everything quickly without juggling multiple messages."
Description

Generate and deliver a unique, expiring, tokenized link that bundles all pre-visit instructions, forms, and consents for all scheduled children in a household. The link is sent via SmileCue’s channels (SMS and email) using response-driven branching to choose best channel and timing. Supports one-click access with automatic session creation, configurable expiry, revocation, and resend. Associates the link with the caregiver’s contact record and upcoming appointments, merges multiple appointments within a defined window, and enables cross-device resume. Tracks delivery, open, and per-child completion metrics. Integrates with SmileCue’s messaging to pause outreach once completed and with security controls to gate PHI behind identity verification.

Acceptance Criteria
Per-Child Tabbed Workflow
"As a parent of multiple children, I want a clear tabbed view for each child so that I can see what’s done and what’s missing per child at a glance."
Description

Present a unified Bundle Prep experience with per-child tabs, progress indicators, and validation states. Shared household and insurance information is captured once and propagated to all children, while child-specific forms (e.g., medical history) remain scoped to each tab. Supports adding/removing a child from the bundle when appointments change, autosave and resume, required field enforcement, and inline guidance for pre-visit instructions. Ensures WCAG AA accessibility, mobile-first responsiveness, and localization-ready labels. Emits granular events for analytics, and exposes a summary screen that highlights outstanding items per child prior to final submission.

Acceptance Criteria
Adaptive Identity Verification (PHI Gate)
"As an office manager, I want caregivers to verify their identity before accessing PHI so that our practice remains compliant and patient data stays protected."
Description

Apply risk-based identity verification before exposing or transmitting PHI within the bundle. Supports configurable verification tiers (e.g., SMS one-time code, email magic link confirmation, caregiver and child DOB match, and optional document/ID scan for higher risk scenarios). Rate-limit attempts, detect anomalies, and record verification outcomes. Enforce minimum necessary data exposure until verification passes. Provide fallback verification paths for edge cases (e.g., guardianship variations) with office approval workflow. All verification events are captured in the audit log and surfaced to staff.

Acceptance Criteria
Smart Consent Reuse & Signature Minimization
"As a caregiver, I want to sign shared consents once so that I avoid repeating identical signatures for each child."
Description

Determine which consents and acknowledgments can be applied once across siblings (e.g., financial responsibility) versus those requiring per-child signatures (e.g., treatment consent) based on practice policy and jurisdiction. If a valid prior consent exists within policy windows, pre-acknowledge and exclude from the bundle or request confirmation of no changes. Capture a single legally compliant e-signature and programmatically apply to eligible documents with per-child tokens, timestamps, and version identifiers. Handle re-collection when forms are updated, and support in-office fallback for exceptions.

Acceptance Criteria
Completion Nudges & Deadline Reminders
"As an office manager, I want targeted nudges that point caregivers to incomplete items so that we minimize day-of paperwork and delays."
Description

Automate response-driven reminders that reference exactly what is missing per child and deep-link the caregiver back into the correct tab/section. Orchestrate multi-channel outreach (SMS, email, optional voice) with quiet hours, frequency caps, and stop rules upon completion. Surface a staff dashboard to view bundle status, trigger manual nudges, and override deadlines. Provide templated, localized content that dynamically lists outstanding items, and report on conversion rates, completion time, and no-show reduction attributable to Bundle Prep.

Acceptance Criteria
EHR/PMS Mapping & Pre-Fill
"As an office manager, I want forms to pre-fill from our system and sync back automatically so that staff avoid manual data entry and errors."
Description

Integrate with leading dental EHR/PMS systems to pull existing household and patient data for pre-fill and to push completed forms, consents, and signatures back as structured data and tamper-evident PDFs. Implement configurable field mappings, patient matching rules (name, DOB, contact), and duplicate detection flows. Support error queues with admin review and retries, sandbox/testing environments, and per-practice configuration. Ensure per-child data segregation and correct attachment to upcoming appointments and patient records.

Acceptance Criteria
Compliance & End-to-End Audit Trail
"As a compliance officer, I want complete audit trails and secure document packaging so that we can prove consent validity and meet regulatory requirements."
Description

Enforce HIPAA-aligned security controls (encryption in transit/at rest, least-privilege access, retention policies) and ESIGN/UETA-compliant e-signature capture. Maintain immutable audit logs for link creation and delivery, identity verification attempts, content views, edits, signatures, IP/device fingerprints, and content versions. Produce tamper-evident document packages with cryptographic hashes and time-stamps. Provide export tools for compliance reviews and legal requests, with role-based access in the staff portal.

Acceptance Criteria

Bundle Waitlist

Tracks multi-slot openings and recommends family candidates that can fill adjacent times in one move. Offers parent-friendly swap options that keep siblings together and auto-updates the calendar on confirmation. Cancellations turn into efficiently filled blocks, protecting revenue and reducing scramble.

Requirements

Adjacent Slot Bundling Engine
"As an office manager, I want the system to automatically detect multi-slot openings so that I can quickly place families together without manual calendar scanning."
Description

Continuously monitors provider calendars to detect contiguous openings that can accommodate multi-appointment family bundles. Normalizes appointment lengths by type (e.g., hygiene, exam) and provider constraints, assembling candidate blocks that keep siblings adjacent with minimal gaps. Respects clinic hours, operatory/equipment availability, provider assignments, and buffer rules. Exposes a service that emits bundle opportunities with block size, time window, provider/room map, and expiration. Supports real-time updates on cancellations/reschedules and prevents race conditions via optimistic locking, short hold windows, and idempotent operations.

Acceptance Criteria
Family Linkage & Eligibility Matching
"As a scheduler, I want the system to match open blocks with eligible families so that we fill time with the right visit types and avoid rework."
Description

Leverages PMS synchronization to identify household relationships, guardians, and sibling groupings, pairing them with recall status, due appointment types, insurance constraints, and provider preferences. Applies eligibility rules so only compatible visit types are bundled, honoring age-specific durations, sedation/equipment needs, and provider or operatory requirements. Maps guardian contacts and consent flags, supports time-of-day preferences, lead-time thresholds, and travel constraints. Produces a filtered, validated list of eligible family candidates per detected block.

Acceptance Criteria
Bundle Ranking & Fairness Rules
"As a practice owner, I want outreach to target the best candidates fairly so that we maximize confirmations without spamming families."
Description

Implements a configurable scoring model that prioritizes candidates by likelihood to confirm (historical responsiveness, lead time), revenue impact, clinical urgency, and fairness rotation to avoid over-contacting the same families. Enforces contact frequency caps, quiet hours, opt-out status, and Do Not Disturb windows. Provides deterministic tie-breaking, reason codes, and auditability of scores. Supports A/B testing of weights and emits metrics for fill rate, time-to-fill, and outreach volume.

Acceptance Criteria
Parent-Friendly Swap Options (SMS/Web)
"As a parent, I want simple swap options that keep my kids together so that scheduling is convenient and I make fewer trips."
Description

Delivers mobile-first flows that present parents with adjacent-time options, including swapping an existing single appointment into a new bundled block that keeps siblings together. Provides one-click deep links from SMS/email to a secure web view with HIPAA-compliant masking, showing times, provider roles, total visit duration, and any prep notes. Validates holds in real time and refreshes options if availability changes. Localizes content, supports English/Spanish, and meets accessibility standards (WCAG AA).

Acceptance Criteria
One-Tap Bundle Confirmation & Real-Time Calendar Update
"As a front desk coordinator, I want bundle confirmations to automatically update the schedule so that I don’t have to manually adjust multiple appointments."
Description

Upon guardian confirmation, atomically books all included appointments across providers/rooms, cancels superseded slots, and triggers confirmation and pre-visit reminder flows. Integrates with PMS write-back APIs with idempotency keys and rollback to avoid partial bookings. Updates patient and guardian records with visit notes and maintains consistent appointment statuses. Emits events for analytics and updates waitlist states, ensuring calendar and communications remain in sync.

Acceptance Criteria
Cancellation-Triggered Outreach Automation
"As a hygienist, I want cancellations to trigger smart outreach automatically so that my schedule stays full without constant phone calls."
Description

Transforms cancellations into bundle opportunities by immediately evaluating adjacent openings and launching adaptive SMS/email/voice outreach to top-ranked families. Uses compliant templates that minimize PHI, include secure links, and honor communication preferences, consent, and quiet hours. Implements retries with escalating channels, downgrades to single-patient fill if no family accepts within the hold window, and alerts staff only when manual intervention is needed.

Acceptance Criteria
Audit Logging & Access Controls for Bundled Scheduling
"As a compliance officer, I want detailed logs and permissions for bundled scheduling so that we meet HIPAA requirements and can investigate issues."
Description

Captures end-to-end audit trails for bundle detection, ranking decisions, holds, confirmations, swaps, and cancellations, including initiator identity, timestamps, and before/after state. Enforces role-based access controls so only authorized staff can view PHI and override holds. Provides exportable logs for HIPAA audits, configurable retention policies, and an admin dashboard to review changes and adjust settings with tracked history.

Acceptance Criteria

FitRank Match

AI ranks and sequences the best-fit waitlisted patients for each cancellation, factoring appointment length, provider/room constraints, insurance/pre-auth status, patient reliability, language/channel preference, and consent. The right person gets the first offer—fills faster, with fewer back-and-forths and higher show rates.

Requirements

Real-time Cancellation Triggering
"As an office manager, I want cancelled slots to automatically trigger a ranked list of candidates so that I can fill openings quickly without manual searches."
Description

On appointment cancellation or reschedule, automatically compile a candidate pool from the waitlist in under 30 seconds, factoring appointment type and length, provider and operatory availability, and schedule constraints. Pulls required data from SmileCue’s scheduling integrations and normalizes inputs for downstream ranking. Ensures PHI is handled in-memory and encrypted at rest, and sets the context for FitRank Match processing. Expected outcome: immediate candidate generation without manual intervention, enabling faster fill times.

Acceptance Criteria
Multi-factor Ranking Engine
"As a scheduling coordinator, I want the system to rank waitlisted patients using multiple factors so that the best-fit patient receives the first offer."
Description

Compute a weighted score for each eligible waitlisted patient using appointment fit, provider/room constraints, insurance eligibility and pre-auth status, patient reliability history, language and channel preferences, and consent status. Supports configurable weights per practice and sensible defaults, handles missing data gracefully, and provides deterministic tie-breaking. Exposes an API returning top-N candidates with scores and reason codes.

Acceptance Criteria
Consent-Aware Omnichannel Offer Orchestration
"As a patient communications coordinator, I want offers to be sent via the patient’s preferred, consented channel with automatic timeouts so that openings are filled quickly and compliantly."
Description

Send time-bound offers to the top-ranked patient through their preferred, consented channel (SMS, email, voice) with automatic fallback to secondary channels. Holds the slot for a configurable window, processes responses (confirm, decline, no response), and auto-advances to the next candidate when needed. Includes rate limiting, quiet hours, opt-out enforcement, and localization by language. Reduces back-and-forth and increases show rates.

Acceptance Criteria
Explainable Ranking & Staff Overrides
"As an office manager, I want to see why the system ranked patients and adjust the order when necessary so that I maintain control and trust the automation."
Description

Provide UI and API surfaces showing the top candidates with their scores and human-readable reason codes (e.g., “length match + provider available + pre-auth on file + high reliability”). Allow staff to pin, reorder, exclude, or manually add patients before sending offers, with all changes audited. Supports practice rules (e.g., block patients with repeated no-shows) and one-off overrides.

Acceptance Criteria
Insurance & Pre-Auth Eligibility Gate
"As a billing coordinator, I want the system to verify eligibility and pre-auth before offers go out so that we avoid scheduling patients who cannot be seen."
Description

Validate insurance eligibility and pre-authorization status for the appointment type before sending an offer. Integrates with clearinghouse APIs/EDI where available, caches responses with TTL, and flags missing or expired pre-auth for staff review or automatic deprioritization. Prevents offers that would fail at check-in and reduces last-minute cancellations.

Acceptance Criteria
Reliability Scoring & Outcome Feedback Loop
"As a practice owner, I want reliability to influence who gets first offers so that show rates improve over time."
Description

Maintain a patient reliability score derived from confirmations, attendance, no-shows, and on-time metrics, decayed over time. Feed outcomes from offers (accepted/declined/no response, show/no-show) back into the scoring model to continuously improve ranking accuracy. Provides practice-level controls for thresholds and weight of reliability in ranking.

Acceptance Criteria
HIPAA-Compliant Audit & Consent Logging
"As a compliance officer, I want full audit trails of ranking decisions and communications so that we can demonstrate HIPAA compliance and resolve disputes."
Description

Record all FitRank Match decisions and communications, including inputs used for ranking, scores, offers sent, responses, staff overrides, consent status checks, and timestamps. Store audit logs securely with retention policies and export/search capabilities for compliance review. Ensures traceability, supports dispute resolution, and meets HIPAA and opt-in/opt-out requirements.

Acceptance Criteria

QuickChain Send

Time-boxed cascades auto-escalate offers to the next best candidate if there’s no reply within minutes. Includes temporary holds with visible countdowns and fairness rules to avoid spamming. Slots get filled quickly with zero staff clicks and a clear audit trail.

Requirements

Adaptive Candidate Ranking & Fairness Rules
"As an office manager, I want QuickChain to automatically choose the next best patient based on eligibility and fairness rules so that we fill openings quickly without over-messaging patients."
Description

Implements a ranking engine that selects the next best patient candidate for an open slot using configurable criteria (appointment type fit, proximity/lead time, patient reliability, contact preferences, insurance constraints, and consent). Enforces fairness controls including per-patient cooldowns, per-day/week contact caps, quiet hours, and exclusion lists to prevent spamming. Integrates with waitlists and patient profiles, honors opt-in/opt-out status, and supports segmentation by provider, operatory, and procedure. Provides admin-tunable policy settings with safe defaults and real-time eligibility previews.

Acceptance Criteria
Time-Boxed Escalation Scheduler
"As a scheduler, I want offers to auto-escalate on precise timers so that openings are filled fast without manual tracking."
Description

Provides precise, durable timers that auto-escalate offers to the next candidate when no response is received within a configured window (e.g., 3–10 minutes). Supports per-template timing profiles, business-hour windows, patient time zone awareness, overnight pauses, jitter to avoid synchronized bursts, and idempotent retries. Ensures chain state is persisted and resumes after outages. Integrates with calendar availability to verify slot is still free before each escalation hop.

Acceptance Criteria
Temporary Hold with Visible Countdown
"As a hygienist, I want a visible countdown hold on offered slots so that I can see when a slot is reserved and avoid double-booking."
Description

Places a temporary hold on the appointment slot during each offer hop to prevent double-booking, with a visible countdown timer displayed in the staff calendar and, when applicable, on patient landing pages. Automatically releases holds on decline, expiry, or override, and converts holds into confirmed bookings on acceptance. Handles race conditions across channels and devices, logs hold lifecycle events, and gracefully reconciles conflicts if the slot is taken by another workflow.

Acceptance Criteria
Multi-Channel Dispatch & Rate Limiting
"As a practice owner, I want QuickChain to send offers across the best channels while respecting limits so that patients are reached promptly without feeling spammed."
Description

Orchestrates SMS, email, and voice outreach per patient preferences and deliverability health. Falls back to an alternate channel on delivery failure and supports channel sequencing within each hop. Enforces per-patient and global rate limits, quiet hours, and practice-level throttles to maintain carrier compliance and patient experience. Tracks send status, link clicks, and call outcomes, with short links and branded sender profiles. Integrates with vendors (e.g., Twilio, SendGrid) behind a pluggable adapter layer.

Acceptance Criteria
Response Parsing & Branching Logic
"As a patient, I want to confirm or decline an offer with a simple reply so that I can quickly secure a time that works for me."
Description

Captures and interprets inbound responses across SMS (keywords and NLP), email (link actions), and voice (IVR DTMF) to determine acceptance, decline, or alternative requests. Applies deterministic branching rules first, then NLP fallbacks with confidence thresholds. Handles ambiguous replies with clarifying prompts, enforces opt-out keywords, and updates chain state atomically. On acceptance, locks and books the slot via scheduling APIs, sends confirmations, and stops the chain; on decline or timeout, escalates to the next candidate.

Acceptance Criteria
Audit Trail & HIPAA-Compliant Logging
"As a compliance officer, I want a complete, HIPAA-compliant audit trail of every offer and response so that we can demonstrate accountability and resolve disputes."
Description

Creates an immutable, time-sequenced log of all QuickChain events including candidate selection rationale, messages sent, delivery results, holds, responses, escalations, and overrides. Minimizes PHI in logs, encrypts sensitive fields at rest and in transit, supports role-based access, and provides redacted views for support. Enables export by chain, slot, patient, or date range, with tamper-evident hashing and configurable retention aligned to HIPAA and practice policy. Surfaces a clear, filterable audit view in the UI.

Acceptance Criteria
Manual Override & Safeguards
"As a front-desk lead, I want the ability to intervene in a QuickChain when necessary so that I can handle edge cases without breaking the workflow."
Description

Allows authorized staff to pause, resume, or cancel a chain; skip or pin a candidate; adjust timers; or manually assign the slot. Performs preflight safety checks to prevent sending to already booked or ineligible patients and resolves state cleanly on override, including releasing holds and notifying affected parties. Provides undo for recent actions and emits alerts when chains stall or exhaust the candidate pool, with recommended next steps.

Acceptance Criteria

ETA Guard

Checks real-time arrival feasibility (distance, traffic, weather, known availability) before sending an offer. Only patients who can realistically make it on time receive the message, cutting last-minute no-shows and avoiding frustrating, impossible asks.

Requirements

Real-time ETA Computation Engine
"As a scheduler, I want the system to verify a patient’s real-time ability to arrive on time so that we only send offers to patients who can actually make it."
Description

Compute per-patient arrival feasibility in under 2 seconds by aggregating live travel times (drive, transit, walk), traffic incidents, and weather impacts from multiple providers. Apply practice-configurable buffers for parking, check-in, and building access. Normalize time zones, handle multi-location practices, and recalculate ETAs on schedule changes or as the slot start approaches. Provide a binary gate (send/withhold) plus an arrival confidence score to the messaging pipeline so offers are only sent to patients who can realistically arrive on time. Include resilient fallbacks, rate limiting, caching, and graceful degradation when a data source is unavailable.

Acceptance Criteria
Provider & Operatory Availability Sync
"As an office manager, I want ETA Guard to confirm a real, bookable slot exists with the right provider and room so that offers don’t create conflicts or double-bookings."
Description

Continuously sync provider calendars, operatory/chair availability, appointment types, durations, and required buffers from the practice management system to ensure an actually bookable slot exists before sending offers. Enforce provider-specific rules (e.g., procedure constraints, required equipment/room), prevent double-booking via optimistic locking or short-held reservations, and respect blocked times and lunch/meeting schedules. Support multi-provider, multi-location setups and handle daylight saving/time zone edges. Integrate with existing SmileCue scheduling and branching logic without adding manual steps for staff.

Acceptance Criteria
Patient Eligibility & Preferences Rules
"As a dentist, I want offers to consider each patient’s preferences and constraints so that we invite the right patients at the right times."
Description

Evaluate non-travel constraints before offer send, including patient communication preferences (DND hours, channel opt-ins), known availability windows, mobility/assistance needs, distance caps, and historical punctuality/no-show patterns. Respect HIPAA minimum-necessary access while using address-on-file and consented data to avoid intrusive tracking. Exclude ineligible patients (e.g., not due for care type, incompatible insurance for slot) and include rationale codes for audit and staff review. Make rules configurable per practice and appointment type.

Acceptance Criteria
Confidence Scoring & Lead-Time Guardrails
"As a hygienist, I want configurable confidence thresholds and lead-time rules so that only patients likely to arrive on time receive short-notice openings."
Description

Combine ETA, traffic volatility, weather severity, patient reliability signal, and slot prep requirements to produce a 0–100 arrival confidence score. Gate messaging with configurable thresholds per practice, appointment type, and time-of-day. Enforce minimum lead times (e.g., at least X minutes to arrive and complete check-in) and dynamic safety buffers during adverse conditions. Support A/B testing of thresholds, capture reasons for rejections, and expose configuration via admin settings with change history.

Acceptance Criteria
HIPAA Compliance, Consent & Data Minimization
"As a compliance officer, I want consent, encryption, and audit safeguards built-in so that ETA Guard protects patient privacy while enabling accurate offers."
Description

Ensure all ETA Guard processing adheres to HIPAA by limiting PHI use to the minimum necessary, encrypting data at rest and in transit, segregating secrets/API keys, and maintaining BAAs with data vendors. Provide patient-friendly consent flows for optional location-based enhancements (e.g., on-demand ETA link), record consent provenance, and allow revocation. Enforce retention limits and access controls, and store audit artifacts for compliance review without exposing sensitive data in logs or dashboards.

Acceptance Criteria
Staff Console & Explainability
"As a scheduler, I want a clear explanation and the ability to simulate or override when appropriate so that I can manage openings confidently and transparently."
Description

Deliver a console that shows why a patient did or did not receive an offer, including key factors (ETA, traffic, weather, availability, preferences) and the computed confidence score. Provide a privacy-safe explanation, quick simulations (“what if we moved the slot by 15 minutes?”), and a limited, auditable override with mandatory reason codes. Integrate directly with SmileCue’s existing queue and messaging views to minimize context switching.

Acceptance Criteria
Observability, Auditing & SLA Monitoring
"As a product owner, I want robust monitoring and audit trails so that we can maintain reliability, prove compliance, and quickly resolve issues."
Description

Instrument ETA Guard with metrics (latency, decision rates, data-source errors), structured event logs with PII minimization, distributed tracing for external API calls, and health checks. Provide alerting for degraded data sources, falling confirmation rates, or rising rejection errors. Generate daily compliance-ready audit reports of offer decisions and rationale codes. Establish SLOs (e.g., 99.9% decision availability, <2s p95 latency) and track error budgets.

Acceptance Criteria

Waitlist Profiles

Patients self-manage waitlist preferences via a secure link: preferred days/times, providers, locations, language, channels, and deposit willingness. Profiles include pediatric caregiver constraints. Offers match preferences, increasing acceptance and reducing opt-outs.

Requirements

Secure Magic-Link Access
"As a patient, I want a secure link to manage my waitlist preferences so that I can update them quickly without creating an account while keeping my health information private."
Description

Implement HIPAA-compliant, single-use magic links for patients to access and self-manage waitlist profiles without account creation. Links are sent via SMS or email, contain no PHI, expire after configurable windows, and are bound to the patient record and device fingerprint where possible. Support optional OTP step-up for sensitive actions (e.g., enabling deposits), rate limiting, revocation, and re-issuance flows. Ensure end-to-end TLS, HSTS, CSRF protection, and replay attack mitigation. Integrate with SmileCue’s messaging services for delivery status, bounce handling, and fallback to alternate channel when the primary fails.

Acceptance Criteria
Preference Data Model & Validation
"As an office manager, I want structured patient waitlist preferences so that the system can reliably match openings and reduce manual coordination."
Description

Design and implement a normalized data schema for waitlist profiles capturing preferred days (by weekday), time windows, providers, locations, languages, communication channels, deposit willingness (boolean and optional limit/notes), and pediatric caregiver constraints. Include field-level validation (e.g., non-overlapping time windows, valid provider/location IDs, language codes), versioning for auditability, and default values per practice. Support soft-deletes, historical snapshots for rollbacks, and partial updates. Expose typed APIs for create/read/update with optimistic concurrency to prevent overwrites.

Acceptance Criteria
Mobile-first Preference Manager
"As a patient on the go, I want an easy mobile interface to update when and how I can come in so that I receive offers I can actually accept."
Description

Deliver a responsive, accessible (WCAG 2.1 AA) web UI for patients to review and edit waitlist preferences on mobile devices. Pre-fill existing preferences, provide guided inputs (chips for days, sliders/time pickers, provider/location selectors), and inline validation/errors. Include multi-language UI matching the patient’s language preference, timezone detection for time windows, progressive save with offline tolerance, and clear confirmations with the ability to revert changes. Integrate with SmileCue theming and brand settings per practice.

Acceptance Criteria
Pediatric Caregiver Constraints
"As a caregiver of a pediatric patient, I want to specify my availability and contact preferences so that appointment offers respect school and custody constraints."
Description

Extend profiles to support pediatric scenarios: designate caregiver(s), relationship, required presence, preferred contact order, school-hour constraints, and custody schedules (e.g., alternating weeks, specific days). Allow multi-contact notifications with consent tracking and require confirmation from an authorized caregiver when the patient is a minor. Enforce rules in matching (e.g., exclude school hours unless explicitly allowed) and in offer sending (e.g., send to both caregivers when required). Include age-based gating and automated transition when the patient reaches adulthood.

Acceptance Criteria
Preference-driven Offer Matching
"As a scheduler, I want the system to match openings to patient preferences so that offers are relevant and acceptance rates improve."
Description

Create a rules-and-scoring engine that evaluates open appointment inventory against patient waitlist profiles. Hard filters (provider, location, deposit willingness) gate eligibility; soft preferences (days/times, language) contribute to a match score. Support tie-breaking, batching, and throttling to prevent offer spam, with configurable minimum match thresholds per practice. Include explainability (reason codes) for why an offer was or wasn’t sent, and real-time recalculation when preferences or inventory change. Integrate with SmileCue’s branching logic to adapt follow-ups based on responses.

Acceptance Criteria
Channel & Quiet Hours Control
"As a patient, I want control over when and how I’m contacted so that I’m not disturbed at inconvenient times and can opt into my preferred channels."
Description

Respect patient-selected communication channels (SMS, email, voice) and set per-channel opt-in/out, quiet hours, timezone-aware delivery windows, and frequency caps. Implement fallback cascades (e.g., SMS then email) and practice-level defaults. Enforce compliance (TCPA, HIPAA) by honoring consent status and including opt-out mechanisms. Expose configuration in admin and ensure delivery orchestration integrates with matching and offer sends.

Acceptance Criteria
Audit Trail & Consent Capture
"As a compliance officer, I want a complete audit trail and consent records for waitlist preferences so that we can demonstrate regulatory compliance and resolve disputes."
Description

Record immutable, timestamped audit events for all profile views and changes, including actor (patient/staff), method (magic link/portal), IP/device metadata, prior and new values, and correlation to message/offer IDs. Capture explicit consents for communications and deposit willingness with language, version, and checkbox attestation. Provide export/search for compliance reviews and surface a readable change history to authorized staff. Define data retention policies aligned with HIPAA and practice requirements.

Acceptance Criteria

Offer Composer

Auto-builds concise, multilingual offers with one-tap confirm, optional secure deposit/form links, and a clear expiration timer. Can include +/- 15-minute alternates where allowed. Personalized, urgency-aware messages convert quickly and write back to the calendar instantly.

Requirements

Multilingual Offer Templates
"As an office manager, I want ready-to-use multilingual offer templates that auto-personalize safely so that I can reach patients in their preferred language without risking compliance or delays."
Description

Provide a library of concise, customizable offer templates in multiple languages (e.g., English, Spanish, French) that auto-select based on patient preference or profile data. Templates support channel-specific constraints (SMS/email/voice), include PHI-safe merge fields (first name, provider, date/time, location) with redaction rules, and embed compliance disclosures. Authors can toggle optional components (deposit prompt, forms link, alternates, expiry text) and preview across devices. The system enforces tone, length, and reading-level guidelines, validates links, and logs versions for auditability. Integrates with SmileCue’s patient profile, consent, and opt-out settings to ensure HIPAA-compliant, culturally appropriate messaging.

Acceptance Criteria
One-Tap Confirmation & Decline
"As a patient, I want to confirm or decline an appointment with one tap so that I can quickly respond without logging in or making a call."
Description

Enable patients to confirm or decline an offered appointment with a single tap from SMS or email, without requiring account login. Deep links carry signed, expiring tokens tied to the specific appointment and patient, support ADA/WCAG accessibility, and prevent duplicate submissions. Upon action, the system immediately acknowledges the choice, triggers appropriate follow-ups (e.g., deposit prompt, reschedule link), and updates internal state to prevent further outreach for that slot. Includes IVR fallback for voice messages and graceful degradation when the deep link expires or is forwarded.

Acceptance Criteria
Secure Deposit & Forms Links
"As a patient, I want a secure, quick way to pay a required deposit and complete forms from the offer so that I can finalize my appointment without extra steps or phone calls."
Description

Attach optional, secure links for deposit collection and pre-visit forms within the offer. Links use short-lived, single-use tokens, enforce HTTPS, and isolate PHI in a HIPAA-compliant portal. Payment flows are PCI-DSS compliant and support major cards, Apple Pay, and Google Pay, with automatic receipts and refunds per office policy. Forms pre-fill known data, validate signatures, and sync completed artifacts to the patient record. The composer conditions inclusion of deposit/forms based on appointment type and payer rules, and clearly indicates when they are required before confirmation.

Acceptance Criteria
Expiration Timer & Urgency Logic
"As a hygienist, I want offers to expire and escalate automatically so that scarce chair time is filled quickly without manual follow-up."
Description

Display a clear expiration timestamp and optional countdown within messages and the offer page, localized to the patient’s timezone. On expiry, automatically rescind the offer, notify the next eligible patient or revert the slot to general availability, and update messaging accordingly. Urgency-aware logic escalates reminders at configurable intervals, throttles after-hours outreach, and adapts language to indicate diminishing availability. All state transitions are auditable, idempotent, and resilient to clock skew and daylight saving changes.

Acceptance Criteria
+/- 15-Minute Alternates
"As a patient, I want nearby alternate times presented with the offer so that I can choose a better fit without calling the office."
Description

Offer adjacent time options within ±15 minutes when allowed by provider, resource, and payer rules. Retrieve real-time availability from the connected calendar, respecting buffers, room/chair resources, provider breaks, and travel time. Selecting an alternate holds the slot temporarily, handles race conditions, and confirms or releases it on decision or timeout. The composer adjusts messaging to present alternates succinctly in SMS and more richly in email, with accessibility-compliant selection controls on the offer page.

Acceptance Criteria
Calendar Write-Back & Conflict Resolution
"As an office manager, I want confirmations to write back to the calendar reliably and safely so that scheduling stays accurate without double-booking or manual edits."
Description

Instantly synchronize confirmed, declined, and alternate selections back to the practice management system/EHR calendar with atomic, audited operations. Implement optimistic concurrency (ETags/versions), retries with backoff, and compensating actions to resolve conflicts and prevent double-booking. Support webhooks to notify downstream systems (billing, reminders) and queue updates for offline scenarios. Provide an admin activity log showing who/what changed each appointment and why, with exportable audit trails for compliance.

Acceptance Criteria
Personalization & A/B Optimization
"As a practice owner, I want offers tailored and tested for my patient base so that confirmation rates increase and no-shows decrease over time."
Description

Personalize offer content (greeting, urgency phrasing, CTA order, channel) based on patient preferences, history, and no-show risk while honoring consent and privacy settings. Provide a built-in A/B testing framework with configurable variants, randomization, holdouts, and statistical reporting on confirmation, deposit, and no-show outcomes. Surface per-cohort insights and recommended defaults to improve conversion over time. All data processing minimizes PHI exposure, uses role-based access controls, and supports opt-out and deliverability health monitoring.

Acceptance Criteria

Flex Nudge

When no perfect match exists, politely asks adjacent confirmed patients to shift earlier/later within a safe window to free a precise gap. Respects risk scores, consent, and caregiver needs, then reconciles changes automatically—recovering chair time without overbooking.

Requirements

Smart Gap Detection & Opportunity Modeling
"As a scheduling coordinator, I want the system to surface precise gap-creation opportunities by shifting adjacent patients safely so that I can fill openings without manual trial-and-error."
Description

Automatically identifies fillable gaps when no perfect appointment match exists by analyzing the live schedule, provider availability, operatory/equipment constraints, and appointment durations. Computes viable micro-shifts among adjacent confirmed patients within configurable safe windows to produce exact-fit openings. Ranks opportunities by impact and risk using patient no-show probability, consent status, caregiver and transportation notes, and appointment-type restrictions. Generates a non-destructive plan that preserves buffers, lunch/breaks, room turnover, and pre/post-op holds, and never creates overlaps or double-booking. Exposes a preview and API payload containing proposed adjustments, affected patients, and expected recovered chair time for review or automatic execution.

Acceptance Criteria
Eligibility & Constraint Engine
"As an office manager, I want the system to only ask appropriate patients to move so that we respect consent, clinical constraints, and patient circumstances."
Description

Determines which confirmed patients can be nudged based on explicit message and schedule-change consent, configurable maximum shift minutes per provider and appointment type, minimum notice windows, per-patient nudge frequency caps, and exclusion flags (e.g., sedation, pre-medication, lab case dependency, special equipment). Evaluates caregiver availability windows, transportation constraints, ADA/accessibility needs, patient time-of-day preferences, and risk thresholds. Produces deterministic eligibility decisions with reason codes for transparency. Integrates with the consent registry and PMS/EHR to pull appointment metadata and returns a filtered, ranked list of candidates ready for messaging or staff review.

Acceptance Criteria
Multichannel Polite Nudge Messaging
"As a patient, I want a polite, easy way to say yes or no to moving my appointment so that I can help the clinic without inconvenience or confusion."
Description

Composes and delivers courteous, context-aware requests over SMS, email, and voice with clear response options (accept, decline, suggest alternatives) and secure short links. Tailors templates by shift size/direction, appointment type, and language, with configurable tone and branding. Enforces HIPAA minimum necessary PHI, includes explicit opt-out language, and adheres to TCPA quiet hours and frequency throttles. Supports adaptive follow-ups if no response by SLA, per-channel fallbacks, and rate limiting per practice. Captures delivery, open, and response events to drive branching logic and maintain a complete communication record.

Acceptance Criteria
Real-time Response Processing & Auto-Reconciliation
"As a scheduler, I want accepted nudges to rebook automatically and safely so that the calendar stays accurate without manual rework."
Description

Processes patient replies in real time, re-validates schedule state to avoid race conditions, and places temporary holds on proposed times. On acceptance, performs atomic rescheduling across the PMS and SmileCue, cascades required shifts for impacted appointments, and updates reminders and notifications for all affected parties. Handles declines, counter-suggestions, expired offers, and conflicts with deterministic rollbacks and staff alerts. Emits events for downstream workflows and maintains idempotency to prevent double moves. Ensures no overbooking, preserves clinic buffers, and logs every change for auditability.

Acceptance Criteria
Safety Guardrails & Risk Limits
"As a dentist, I want strict safeguards on when and how patients are moved so that care quality and trust are never compromised."
Description

Applies hard guardrails to protect patient experience and clinical safety: maximum cumulative shift per appointment, minimum notice before start time, per-day and per-patient nudge limits, provider- or appointment-type exclusions, do-not-nudge lists, and flags for anxiety, mobility, or medical risks. Validates caregiver/transport dependencies and ensures no shift violates room/equipment allocations or sterilization turnover. Provides pre-send simulation to detect any constraint violations and auto-aborts with clear error reasons if safety thresholds are exceeded.

Acceptance Criteria
Staff Oversight, Preview, and Audit
"As an operations lead, I want to review and approve proposed nudges with full context so that I remain in control and compliant."
Description

Offers a dashboard to preview proposed nudges, predicted recovered minutes, and impacted patients with reason codes. Supports one-click approve/deny, manual edits to shift windows, and message preview before send. Provides role-based access, detailed change history, message transcripts, consent proofs, and exportable HIPAA-compliant audit logs. Includes a simulation mode to model outcomes prior to execution and notifications to staff for exceptions requiring manual intervention.

Acceptance Criteria
Performance & Impact Analytics
"As a practice owner, I want clear metrics on how Flex Nudge performs so that I can quantify ROI and fine-tune settings."
Description

Tracks acceptance rate, time-to-fill, recovered chair time, impact on no-show rate, provider utilization, and patient satisfaction signals. Breaks down performance by channel, appointment type, provider, and shift size to inform continuous optimization. Feeds learning signals back into ranking to improve candidate selection and messaging strategies over time. Exposes dashboards and an API for reporting to stakeholders.

Acceptance Criteria

Fill Analytics

Live metrics for fill rate, time-to-fill, revenue saved, outreach per fill, and fairness distribution by provider/location. Includes what-if simulators for thresholds and waitlist size, plus exports—helping managers prove ROI and fine-tune settings with confidence.

Requirements

Real-time Fill Metrics Dashboard
"As an office manager, I want a live dashboard of fill metrics by provider and location so that I can spot issues in real time and adjust outreach to hit our targets."
Description

Provide live, continuously updating metrics for fill rate, time-to-fill (median, p90), revenue saved, and outreach per fill, with filters for date range, provider, location, appointment type, and channel. Include trend charts, benchmarks/targets, and drill-down to the underlying appointment and outreach events. Data freshness indicator and update latency of ≤60 seconds. Integrates with SmileCue’s scheduling event stream and communication logs; responsive UI accessible on desktop and tablet. Enables managers to monitor performance, prove ROI, and react quickly to gaps.

Acceptance Criteria
Time-to-Fill and Cohort Analytics
"As a regional operations lead, I want to analyze time-to-fill by cohort so that I can identify bottlenecks and replicate what works across locations."
Description

Compute and display time from opening creation to confirmation across cohorts (provider, location, appointment type, daypart, lead source, channel). Show distributions, percentiles, and aging buckets with optional outlier handling. Support saved cohort views and comparisons period-over-period. Exclude canceled or re-opened slots per configurable rules. Identifies bottlenecks and best-performing segments to optimize staffing and outreach cadence.

Acceptance Criteria
Multi-touch Outreach Attribution
"As a marketing/communications manager, I want to see which messages and channels contribute to each fill so that I can reduce outreach volume while maintaining fill rates."
Description

Attribute filled openings to SMS, email, and voice outreach using configurable multi-touch models (first-touch, last-touch, time-decay) and attribution windows. Calculate “outreach per fill,” channel lift, and script/template performance. Deduplicate contacts, respect opt-outs, and exclude unrelated contacts using appointment and patient linkage. Provide transparent attribution logs for auditability. Surfaces what channels and messages drive fills with the least effort.

Acceptance Criteria
Fairness Distribution Reporting
"As a practice owner, I want visibility into how filled slots are distributed across providers so that I can ensure equitable allocation aligned with our targets."
Description

Report the distribution of filled openings across providers and locations normalized by availability and panel size. Display fairness indices, target ranges, and variance flags. Allow configuration of fairness thresholds and target weights for reporting purposes, with alerts when distribution drifts beyond targets. Provide drill-downs to see which appointment types or channels are driving imbalances. Supports compliance and equitable allocation goals without enforcing scheduling rules.

Acceptance Criteria
What-if Simulation Sandbox
"As an operations analyst, I want to model proposed setting changes so that I can predict their impact on fill metrics and choose the optimal configuration."
Description

Simulate the impact of changing thresholds (e.g., outreach cadence, reminder timing, waitlist size) on fill rate, time-to-fill, revenue saved, outreach per fill, and fairness using historical appointment and outreach data. Provide side-by-side scenario comparisons, sensitivity analysis, and confidence ranges. Simulations run asynchronously with queued jobs and are clearly labeled as non-production until applied. Enables data-driven tuning of settings before rollout.

Acceptance Criteria
Data Export and Scheduled Reports
"As an office manager, I want to export and schedule delivery of our fill analytics so that I can share results and back up ROI claims without manual work."
Description

Offer one-click exports of aggregated and detailed analytics to CSV/XLSX with selectable fields, filters, and aggregation levels. Provide scheduled delivery via email and SFTP, plus an authenticated REST endpoint for programmatic retrieval. Include a data dictionary, versioning of schemas, and audit logs for access and downloads. Support optional de-identification for exports to external stakeholders.

Acceptance Criteria
Role-based Access and HIPAA-safe Aggregation
"As a compliance officer, I want analytics access and exports constrained by role and safe aggregation so that we remain HIPAA-compliant without sacrificing insight."
Description

Enforce role-based access controls for analytics views and exports, restricting PHI to authorized roles and masking identifiers where not required. Apply minimum cell-size thresholds and k-anonymity-style aggregation to prevent re-identification in small cohorts. Encrypt data in transit and at rest, and maintain immutable audit logs for all analytics access and exports. Ensures compliance while preserving actionable insights.

Acceptance Criteria

SmartCode Routing

Delivers the one-time passcode over the best available, consented channel—SMS, email, or voice—then auto-falls back if undelivered. Multilingual prompts and delivery checks reduce lockouts and support calls, lifting completion rates across all patient cohorts without extra staff effort.

Requirements

Consent-Aware Channel Selection
"As an office manager, I want OTPs routed only through channels patients have consented to so that we remain compliant and avoid patient frustration."
Description

Selects the initial OTP delivery channel (SMS, email, or voice) using per-patient consent, verified contact availability, regulatory constraints, and practice preferences. Pulls consent and language from SmileCue’s patient profile and EHR integrations, honors opt-in/opt-out status in real time, and filters out non-consented channels for both primary send and any fallback attempts. Validates contact health (e.g., hard bounce history, carrier blocks), respects quiet hours and do-not-call rules, and records the rationale for each routing decision for auditing. Ensures compliant, patient-friendly delivery that reduces failures and complaints while fitting seamlessly into existing SmileCue communications infrastructure.

Acceptance Criteria
Multi-Channel OTP Fallback Orchestration
"As a patient, I want my passcode delivered over a working channel with automatic retries so that I can sign in without contacting support."
Description

Delivers a single OTP across the best available, consented channel and automatically falls back if undelivered or unacknowledged within a configurable window. Implements delivery checks per channel (SMS delivery receipts, email bounce/SMTP codes, voice call outcome), capped retry counts, and backoff with jitter to reduce carrier filtering. Maintains idempotency across attempts (one active code per flow), masks destinations in notifications, and synchronizes state so the same code can be received on alternate channels without duplication. Includes timeout/expiry, max attempt limits, and clear error handling, integrated with SmileCue’s messaging gateways and job scheduler.

Acceptance Criteria
Adaptive Routing Intelligence
"As a practice owner, I want the system to learn which channel works best for each patient so that more patients complete verification on the first attempt."
Description

Learns the optimal channel and send timing per patient using historical deliverability, engagement signals, and cohort-level performance, while strictly enforcing consent rules. Computes a per-patient/channel score and chooses the highest-scoring eligible option for the first attempt, with guardrails for cost and call frequency. Supports cold-start defaults, continuous feedback from delivery outcomes and completion events, and A/B evaluation to verify uplift. Exposes safe, explainable decisions and allows admins to set bounds (e.g., limit voice usage). Integrates with SmileCue analytics pipeline and feature flags for iterative rollout.

Acceptance Criteria
Multilingual OTP Prompts
"As a Spanish-speaking patient, I want to receive OTP instructions in my preferred language so that I can complete verification confidently."
Description

Provides localized OTP templates for SMS and email, and natural-sounding IVR/TTS prompts for voice in supported languages. Automatically selects language based on patient preference with fallback to English, supports right-to-left scripts, and formats digits clearly for voice playback with repeat options. Centralizes translation management, template versioning, and QA checks to ensure consistency across channels. Ensures all content remains PHI-free and aligns with SmileCue’s branding while reducing confusion and support burden for non-English speakers.

Acceptance Criteria
Verification UX: Resend & Channel Switch
"As a patient, I want an easy way to resend or switch delivery method if I didn’t get the code so that I can finish verification quickly."
Description

Offers a streamlined OTP entry experience with countdown, masked destination hints, and accessible controls to resend the code or switch to another consented channel without restarting. Enforces rate limits, lockout thresholds, and code expiry while providing clear, localized feedback messages. Mobile-first UI supports one-tap SMS code autofill where available, copy/paste handling, and deep links from email. Integrates with SmileCue’s authentication flow and session management to minimize drop-off and prevent brute-force attempts.

Acceptance Criteria
Compliance, Security & Audit Logging
"As a compliance officer, I want OTP routing and delivery to meet HIPAA/TCPA requirements with full audit trails so that we minimize regulatory and security risk."
Description

Implements HIPAA-aligned processing for OTP flows: no PHI in messages, encryption in transit and at rest, secret/key rotation, and short-lived, random codes with attempt throttling. Records immutable audit logs capturing consent state, routing rationale, send/fallback attempts, and outcomes with timestamps and actor/system IDs. Supports TCPA-compliant opt-out handling, quiet hours, and per-jurisdiction rules. Provides breach-resistant storage, least-privilege access, and exportable audit reports to satisfy compliance reviews and BAAs. Integrates with SmileCue’s centralized logging and alerting.

Acceptance Criteria
Routing Analytics & Policy Controls
"As an office manager, I want visibility into OTP performance and the ability to adjust routing rules so that I can improve completion rates without engineering support."
Description

Delivers a dashboard showing verification funnel metrics (send, deliver, first-try completion), channel performance, language distribution, and failure reasons with filters by location, cohort, and timeframe. Provides configurable routing policies: channel order, max attempts, timeouts, quiet hours, languages enabled, and IVR voice options, with change history and safe previews. Enables CSV export and alerts on abnormal failure spikes. Integrates with SmileCue’s admin console and permissions model for role-based access and environment-specific settings.

Acceptance Criteria

Device Bind

Locks each expiring magic link to the requesting device/browser with a short-lived token, blocking forwarded or intercepted links from opening elsewhere. Optional in-office QR handoff preserves convenience while preventing misdelivery, lowering privacy risk without adding patient friction.

Requirements

Device-bound Magic Link Issuance
"As a patient, I want the magic link I request to only open on my device so that my appointment details stay private even if the message is forwarded."
Description

Issue short-lived, single-use magic links that are cryptographically bound to the requesting device/browser using a privacy-preserving device fingerprint and secure cookies. Tokens contain no PHI, are signed server-side, and expire within a configurable window to limit exposure. On request, the system generates an opaque token tied to device attributes (e.g., Web Crypto key material, user agent, and same-site secure cookie) and stores a hashed reference for verification. Links are distributed across SMS, email, and voice-driven URLs via SmileCue’s messaging pipeline, supporting deep links on iOS/Android and standard browsers. Keys are rotated regularly, clock skew is tolerated within safe bounds, and all operations use FIPS-validated crypto libraries to maintain HIPAA safeguards while minimizing patient friction.

Acceptance Criteria
Token Validation and Replay Protection
"As an office manager, I want forwarded or intercepted links to be rejected and logged so that patient PHI isn’t exposed and we can address misdelivery issues."
Description

Validate incoming link requests by verifying token signature, expiry, device/browser binding, and single-use status. On first successful use, immediately revoke the token to prevent replay. Reject mismatches with clear, localized error states and capture reason codes (expired, device mismatch, replay, tamper). Apply IP- and tenant-scoped rate limits and progressive backoff to deter abuse. Integrate with SmileCue’s appointment confirmation and rescheduling endpoints so that successful validation continues the intended flow without added steps. Provide operational metrics and health checks for latency and failure-rate thresholds, ensuring security without hurting confirmation rates.

Acceptance Criteria
In-office QR Handoff
"As a receptionist, I want to hand off a patient’s link to our check-in tablet via a quick QR scan so that we can assist them without exposing their information on other devices."
Description

Enable an optional front-desk flow where staff can generate a time-boxed QR code that authorizes a secure handoff of the patient’s link to a clinic-owned device (e.g., kiosk or tablet). The QR encodes a scoped, ephemeral grant tied to the patient and visit; scanning establishes a new device binding without exposing PHI. Handoff is restricted to configured clinic networks/locations and expires within seconds to limit misuse. Provide visual confirmations for staff and patients, fallback to short code entry if the camera is unavailable, and record all events for auditing. This preserves convenience during check-in while maintaining strong delivery controls.

Acceptance Criteria
Legitimate Device Change Fallback
"As a patient, I want a simple, secure way to continue on a new device so that I’m not blocked from confirming or rescheduling my appointment."
Description

Provide a secure fallback path when a patient intentionally switches devices after requesting a link. Offer configurable options: approve-on-original-device prompt, SMS one-time code to the verified number on file, or minimal-knowledge verification aligned with HIPAA’s minimum necessary standard. Fallback attempts are rate-limited, logged, and time-bound; success establishes a new device binding and invalidates prior tokens. The experience is accessible (WCAG-compliant) and mobile-friendly to avoid support escalations while preserving privacy controls.

Acceptance Criteria
Admin Policy Controls and Configuration
"As a practice administrator, I want to configure device-binding policies and fallbacks so that we balance security with patient convenience across our locations."
Description

Provide tenant-level settings to enable Device Bind per channel (SMS, email, voice portal), configure token TTL and single-use enforcement, toggle in-office QR handoff, and choose enforcement levels (strict vs. lenient with fallback). Allow allowlisting of clinic networks/devices, customization of error messaging and help text, and A/B toggles to measure impact on confirmation rate and no-shows. Surface dashboards with adoption, mismatch rates, and fallback success metrics. Integrate with SmileCue’s feature flag system, role-based access controls, and configuration audit trails.

Acceptance Criteria
Audit Logging, Monitoring, and Compliance
"As a compliance officer, I want complete, PHI-safe logs and alerts for device-bound link activity so that we can demonstrate safeguards and investigate incidents when needed."
Description

Capture immutable, access-controlled logs for token issuance, validation outcomes, mismatches, fallbacks, and QR handoffs with timestamps, tenant IDs, reason codes, and minimal contextual metadata—no PHI in payloads. Encrypt logs at rest, enforce retention aligned to HIPAA and organizational policy, and provide export to SIEM. Implement alerts for anomaly patterns (e.g., spikes in device mismatches) and publish operational dashboards for latency, error rates, and replay detections. Document controls and provide evidence packs to support HIPAA audits and BAAs, including key rotation and disaster recovery procedures.

Acceptance Criteria

SecureShare

Enables patients to securely delegate access to a caregiver for a single item via a separate, time-boxed OTP link. Honors guardian permissions, logs the relationship, and auto-expires after use—supporting real-world family workflows without screenshots or HIPAA headaches.

Requirements

Single-Use, Time-Boxed OTP Link Generation
"As an office manager, I want to generate a single-use, time-limited link for a specific document so that a caregiver can securely view it without exposing the rest of the patient’s record."
Description

Generate a cryptographically secure, single-use OTP link that is time-boxed and bound to a specific patient and item. The token includes claims for patient ID, item ID, and purpose, and expires automatically after the first successful access or when the configurable TTL elapses. No PHI is embedded in the URL or outbound notifications. Implement server-side invalidation, replay detection, and rate limits on OTP verification attempts. Store tokens as hashed, short-lived secrets with key rotation support. Expose creation as an internal API for SmileCue messaging flows and staff tools, emitting events for analytics and monitoring. This ensures caregivers can securely access only what’s intended without exposing broader records, aligning with HIPAA minimum-necessary standards.

Acceptance Criteria
Item-Scoped Access Enforcement
"As a front-desk coordinator, I want the caregiver’s link to be restricted to a single file so that they can’t browse or discover any other patient information."
Description

Enforce strict, item-level scoping so the recipient can only view/download the single shared item with read-only permissions. Validate every request against token claims and policy checks (patient, item, scope, expiry, status). Prevent navigation or enumeration of other resources (no listings, index, or API expansion). Use ephemeral, pre-signed object access conditioned on scope and expiry; disable caching and prevent embedding where possible. Apply optional viewer watermarking and click-through notices to deter onward sharing. Ensure accessibility- and mobile-friendly rendering with PHI minimization. This containment guarantees the share is narrowly limited to the intended artifact and nothing else.

Acceptance Criteria
Relationship Verification & Consent Capture
"As a dentist, I want to verify the caregiver’s relationship and capture consent or guardian status so that any share complies with HIPAA and our practice policies."
Description

Capture and verify the caregiver’s identity and relationship (e.g., legal guardian, spouse, adult child) and honor guardian permissions from the patient record. For minors, require a guardian of record; for adults, capture the patient’s express consent or use an existing authorization on file per practice policy. Collect caregiver contact details, present HIPAA-compliant disclosures, and log an attestation and timestamped e-signature when required. Perform OTP verification to the caregiver’s channel to confirm possession. Persist the relationship and consent artifacts to the patient profile for future reference and auditing, blocking shares when required permissions are missing.

Acceptance Criteria
Audit Logging & Compliance Trail
"As a compliance officer, I want a complete audit trail of SecureShare activity so that we can demonstrate compliance and investigate any suspected misuse."
Description

Record an immutable, structured audit trail for all SecureShare events, including link creation, delivery, access attempts (success/failure), OTP verifications, expirations, revocations, and content viewed. Log actor identifiers (staff user, patient, caregiver), relationship type, timestamps, channel, IP/device metadata, and policy decisions without storing unnecessary PHI. Provide retention aligned to HIPAA requirements, search and filter in the admin console, and export to CSV/SIEM. Surface alerts for anomalous behavior (excessive failures, repeated access after expiry) and attach audit references back to the patient record for end-to-end traceability.

Acceptance Criteria
SecureShare Policy Controls & Templates
"As a practice admin, I want to configure timeouts, retries, delivery channels, and templates so that SecureShare matches our compliance requirements and brand voice."
Description

Provide practice-level configuration for SecureShare, including default TTL, single-use toggles, maximum OTP attempts, lockout duration, allowed delivery channels (SMS/email), and permitted relationship types. Manage consent requirements by context (minor vs. adult, specific item categories), and configure legal disclaimers and pre-approved content templates with merge fields. Expose role-based access to initiate, revoke, and view shares, and allow admins to override defaults per share when authorized. Centralized policies ensure consistent risk posture, brand alignment, and easier rollout across locations.

Acceptance Criteria
Adaptive Delivery & Messaging Flow Integration
"As a hygienist, I want to send a SecureShare link through the patient’s preferred flow and have automatic fallbacks so that caregivers reliably receive access without extra follow-up."
Description

Integrate SecureShare into SmileCue’s adaptive messaging engine to collect caregiver details, verify channels, and deliver OTP links via SMS or email based on patient input and delivery health. Support failover (e.g., switch to email if SMS bounces), scheduled reminders before expiry, and one-tap reissue flows if a link expires or is consumed. Ensure separation of channels so the caregiver receives a distinct link from the patient’s notifications. Provide staff-side shortcuts in the inbox/scheduler to initiate SecureShare within existing workflows, reducing manual effort while improving reliability of caregiver access.

Acceptance Criteria

Adaptive Auth

Tunes verification to risk: recognized devices get streamlined codes; unusual signals (new device, location shift, multiple failures) trigger step-up options like voice callback or secondary checks. Patients breeze through when safe, while high-risk cases get extra protection—balancing security with speed.

Requirements

Real-time Risk Scoring Engine
"As a patient, I want SmileCue to recognize when my login looks normal so that I can confirm my appointment quickly without extra steps."
Description

Implements a low-latency risk assessment service that evaluates each verification attempt using device fingerprint signals, IP reputation, geo-velocity, time-of-day, prior confirmation history, and recent failure patterns. Produces a normalized score and tier (e.g., low/medium/high) within 150 ms to drive Adaptive Auth decisions without delaying patient flows. Integrates with SmileCue’s reminder and scheduling workflows by gating sensitive actions (confirm, reschedule, portal access) behind risk-appropriate verification. Supports privacy-by-design: stores only pseudonymous identifiers, minimizes PHI in logs, and honors retention policies to remain HIPAA compliant. Provides extensible adapters for new signals and safe defaults when signals are missing. Includes circuit breakers and graceful degradation so verification remains available during partial outages.

Acceptance Criteria
Trusted Device Recognition & Management
"As a returning patient, I want my usual phone to be recognized so that I can verify with fewer steps and get on with my day."
Description

Establishes secure device recognition to streamline repeat verifications on known hardware while enabling revocation when risk changes. Binds a trusted device using cryptographically strong identifiers (rotating device token + signed server nonce) and stores a pseudonymous handle, never raw device data, to maintain HIPAA compliance. Trust duration, renewal, and inactivity timeout are configurable per practice (e.g., 90 days) via admin policy. Detects material changes (browser reset, OS upgrade, SIM swap indicators) and gracefully downgrades trust to require step-up. Provides patient-initiated and admin-initiated device revocation, with audit trails and alerts on mass revocations. Seamlessly plugs into existing SMS/email reminder links and the patient web flow to auto-apply streamlined challenges for recognized devices.

Acceptance Criteria
Adaptive Challenge Orchestrator
"As an office manager, I want verification to adapt to risk in real time so that low-risk patients move fast while high-risk cases get extra protection."
Description

Delivers a policy-driven engine that maps risk tiers and context (device trust, channel health, geo, practice rules) to the next best verification step in real time. Supports step-up options including SMS OTP, email magic link, voice callback with DTMF confirmation, and secondary checks (e.g., birthdate confirmation) while enforcing HIPAA minimum-necessary data exposure. Enables per-practice policy templates with guardrails, A/B tests for friction tuning, and automated fallbacks when a channel fails or deliverability is degraded. Operates as an idempotent, stateful workflow with resumability to handle user drops and retries across channels. Integrates with SmileCue’s scheduling API so downstream actions (confirm/reschedule/cancel) are unlocked only after successful completion of the orchestrated flow. Provides observability hooks and feature flags for safe rollout.

Acceptance Criteria
Multi-Channel OTP Delivery & Lifecycle Controls
"As a patient, I want to receive my verification code through my preferred channel so that I can complete authentication even if one channel is unavailable."
Description

Implements reliable, compliant OTP delivery over SMS and email with strict lifecycle management to prevent abuse. Enforces single-use codes, short TTLs (e.g., 5 minutes), resend limits, per-identity and per-device rate limits, and lockouts after repeated failures. Provides channel redundancy and auto-fallback (e.g., switch from SMS to email on carrier failure) while preserving the verification session state. Uses HIPAA-safe templates that avoid PHI, supports practice branding (sender ID, email domain), and adheres to CTIA/TCPA guidelines with opt-out handling. Monitors deliverability and latencies with provider health checks and adaptive routing. Exposes server-side and client-side SDKs to integrate OTP requests seamlessly into SmileCue’s reminder links and patient portal.

Acceptance Criteria
Voice Callback Step-Up Verification
"As a patient on a poor data connection, I want a verification call option so that I can still authenticate securely and confirm my appointment."
Description

Adds an automated voice callback option for high-risk or failed OTP scenarios, enabling patients to verify via TTS instructions and DTMF input without exposing PHI. Supports branded caller ID where available, localized prompts, retry/backoff policies, and quiet-hour windows configurable per practice. Validates call answer events, handles voicemail detection, and ensures the verification result is posted back to the orchestrator in real time. Encrypts call metadata at rest, redacts sensitive fields in logs, and records audit events for HIPAA compliance. Integrates with existing SmileCue scheduling flows to unblock confirmations when SMS/email are unreliable or the user lacks data coverage. Provides operational dashboards for call success rates and reason codes (no answer, voicemail, DTMF mismatch).

Acceptance Criteria
Admin Policy Controls & Risk Analytics
"As an office manager, I want to adjust authentication policies and monitor results so that I can balance security with patient experience and reduce no-shows."
Description

Delivers an admin console for practice owners/managers to tune Adaptive Auth policies and review outcomes without engineering support. Allows configuration of risk thresholds, trusted device durations, allowed channels, resend limits, quiet hours, and secondary checks, all with sensible defaults and guardrails. Provides real-time and historical analytics: verification success rates, median time-to-confirm, step-up rate by risk tier, channel deliverability, and no-show impact correlation. Includes exportable, PHI-minimized audit logs and role-based access controls to satisfy HIPAA and internal compliance reviews. Integrates with SmileCue’s existing admin portal and permissions model for a consistent experience. Supports versioned policy changes with staged rollout and automatic rollback on regressions.

Acceptance Criteria

Flex Expiry

Sets smart expiration windows by content sensitivity (e.g., X-rays vs. instructions), shows a clear countdown, and allows self-serve resend/refresh with cooldowns. Staff can grant one-click extensions from the appointment view, preventing timeouts that derail completion and drive inbound calls.

Requirements

Policy-based Expiry by Content Sensitivity
"As an office manager, I want expiration windows to adjust by content sensitivity so that sensitive documents expire quickly while instructions remain accessible long enough to ensure completion."
Description

Introduce a configurable expiry policy engine that sets default time-to-live (TTL) values per content category (e.g., X-rays, treatment plans, pre-/post-op instructions, payment links, intake forms) with template-level and message-instance overrides. Policies apply across SMS, email, and voice workflows, embedding expiry metadata into generated tokens/links. The system resolves the applicable TTL at send time, stores per-artifact expiry timestamps, and enforces soft/hard expiration behavior (e.g., grace period after first access) aligned with HIPAA constraints. Integration points include message templating, adaptive branching (trigger recovery flows on expiry), and appointment records. Timezone-aware calculation ensures countdowns and absolute “expires at” times are accurate to the patient’s locale. Expected outcomes are fewer timeouts, improved completion rates, and tighter control of PHI exposure windows.

Acceptance Criteria
Patient-facing Countdown and Expiry Page
"As a patient, I want to see a clear countdown until my link expires so that I can complete tasks in time and understand what happens if I don't."
Description

Provide a responsive, accessible landing experience that displays a real-time countdown to expiry and an absolute expiry timestamp localized to the patient’s timezone. When content is expired, present a dedicated page that explains the status, removes access to sensitive content, and offers a clear path to request a refreshed link if enabled by policy. Emails render a static expiry timestamp; SMS directs to a landing page with countdown; voice reminders state the expiry window in natural language. Handle clock skew and offline scenarios gracefully by prioritizing server-side expiry checks and fallbacks. This enhances patient clarity, reduces confusion-driven calls, and increases on-time completions.

Acceptance Criteria
Self-serve Resend/Refresh with Cooldowns
"As a patient, I want to request a refreshed link myself with safeguards so that I can continue without calling the office."
Description

Enable patients to request a refreshed access link from the expiry page or authenticated deep link, with configurable cooldowns (e.g., one refresh per 5 minutes and daily caps) and channel-specific rate limiting. For PHI-bearing content, require lightweight verification (e.g., DOB check or one-time code) before issuing a new signed URL. New links are appended to the existing conversation thread without altering appointment state, and failed/abusive attempts trigger progressive delays and optional staff notifications. All actions are logged for compliance. This lowers inbound call volume while preserving security and system stability.

Acceptance Criteria
Staff One-click Extension in Appointment View
"As a hygienist, I want to extend a patient's link expiry from the appointment view with one click so that I can prevent timeouts from derailing check-in or forms completion."
Description

Add an “Extend link expiry” control in the SmileCue appointment view that lets authorized staff extend expiry for selected artifacts (or all related items) by preset increments (e.g., +1h, +24h) or a custom duration within policy-defined ceilings. The action should require minimal clicks, show current and new expiry times, and optionally notify the patient with an updated message. Where supported, the extension updates the token validity without regenerating links; otherwise, a new link is created and inserted into the existing thread. Role-based permissions and comprehensive audit entries are mandatory. This prevents timeouts from disrupting check-in and form completion.

Acceptance Criteria
Secure Expiring Links and Audit Trail
"As a compliance officer, I want all expiry, access, and extension events audited so that we maintain HIPAA compliance and can investigate issues."
Description

Issue per-patient, per-artifact signed tokens/URLs with absolute and optional sliding expirations, single-use toggles, and immediate revocation on appointment cancellation or policy change. Enforce HTTPS, HSTS, and anti-enumeration protections; avoid embedding PHI in message bodies; and encrypt identifiers at rest and in transit. Maintain a tamper-evident audit trail for token creation, access, expiry, refresh requests, resend events, extensions, actor identity, timestamps, and source channel/IP/device, with export and retention controls to satisfy HIPAA. Provide admin views and APIs to search and report on these events for investigations and compliance audits.

Acceptance Criteria
Expiry Analytics and Proactive Alerts
"As an office manager, I want analytics and alerts on expiring items so that I can proactively reduce no-shows and improve confirmation rates."
Description

Deliver dashboards and exports that track expiry-related funnel metrics (views before expiry, refresh rates, extensions, completion after refresh, time-to-confirm) segmented by content type, channel, provider, and practice. Provide real-time alerts for at-risk items (e.g., pre-op instructions expiring within two hours and not viewed) via email/Slack, and optional automation to auto-extend within policy ceilings. Support A/B testing of TTL policies to optimize confirmation rates and reduce no-shows, with outcomes feeding back into policy recommendations. This equips practices to proactively intervene and continuously improve performance.

Acceptance Criteria

Safe Preview

Displays a minimal, non-PHI teaser—practice name, provider, and appointment date—plus trusted branding before OTP entry. Builds confidence, reduces phishing anxiety, and nudges completion without exposing sensitive details, improving patient trust and conversion.

Requirements

Pre-OTP Minimal Teaser Display
"As a patient, I want to see a safe, minimal preview of who is contacting me and when my appointment is so that I feel confident it’s legitimate before I enter a verification code."
Description

Implement a pre-authentication teaser view that renders only practice name, provider name, and appointment date/time in the patient’s local timezone, along with SmileCue and practice branding and a primary call-to-action to “Verify with OTP.” The teaser must load in under 1 second on 3G-equivalent networks, work responsively across mobile/desktop, and never reveal PHI beyond the approved whitelist. It integrates with existing message links (SMS/email) and routes to the OTP gate, logs impressions and click-throughs, and supports skeleton loaders and offline-safe messaging to reassure users while preventing sensitive data exposure.

Acceptance Criteria
PHI Guardrails & Redaction Rules
"As a compliance officer, I want enforceable guardrails that prevent PHI from appearing in the preview so that we remain HIPAA-compliant while improving patient trust."
Description

Create a centralized policy layer that strictly whitelists allowed teaser fields (practice name, provider name, appointment date/time) and automatically redacts or blocks all other PHI or free-text content. Policies must be enforced at render-time and API boundaries, include unit and integration validation, and emit audit logs for compliance. Add automated scans and contract tests to prevent template drift or accidental additions of disallowed fields. Include security review, threat modeling, and documented SOPs for updates to the whitelist with versioned change control.

Acceptance Criteria
Trusted Branding & Verification Indicators
"As a skeptical patient, I want visible verification and recognizable branding so that I can quickly determine the message is legitimate and safe to proceed."
Description

Display clear trust signals within the teaser: practice logo and colors, SmileCue “Verified Sender” badge, branded short-link domain, and links that align with DMARC/SPF/DKIM-authenticated sending domains. For SMS, ensure 10DLC brand registration alignment where applicable; for email, show a recognizable from-name and security-aligned domain; for web, enforce HTTPS/TLS with HSTS and certificate pinning where supported. Provide a short, patient-friendly privacy statement and a link to SmileCue’s privacy policy to reduce phishing anxiety.

Acceptance Criteria
Channel-Specific Safe Preview Delivery
"As a patient, I want a consistent, trustworthy preview experience whether I receive a text, email, or call so that I always know who is contacting me and why."
Description

Tailor the safe preview experience for each channel while maintaining the same whitelist content. For SMS, the landing page opens via a branded short link with meta tags for rich previews where supported. For email, align subject and preheader with teaser content without exposing PHI, and ensure consistent rendering across major clients. For voice, provide a brief IVR preview script that states the practice, provider, and appointment date/time before requesting OTP or confirmation input. Validate behavior across iOS/Android, major browsers, and common email clients.

Acceptance Criteria
A/B Testing & Conversion Analytics
"As a product manager, I want to experiment with safe preview variants and see their impact on verification and confirmations so that we can maximize patient trust and conversion."
Description

Enable configuration to A/B test teaser variants (copy tone, badge placement, CTA wording) within the strict whitelist and measure effects on OTP completion, time-to-verify, bounce rate, and opt-out signals. Provide dashboards segmented by practice, channel, and cohort with statistically-sound results and guardrails to stop underperforming or risky variants. Emit events to the analytics pipeline and expose summary metrics via the admin console and API.

Acceptance Criteria
Accessibility & Localization
"As a patient with accessibility needs or a non-English speaker, I want a clear, readable, and localized preview so that I can trust and understand the message before proceeding."
Description

Ensure the teaser meets WCAG 2.2 AA: proper semantic structure, focus states, contrast ratios, keyboard navigation, and screen reader labels. Localize fixed copy and date/time formats, supporting at least EN and ES at launch, with automatic locale detection and manual override. Ensure all trust badges and images have accessible text equivalents and that voice channel scripts are concise and clear for diverse audiences.

Acceptance Criteria
Configurable Teaser Rules & Fallbacks
"As an office manager, I want to configure the teaser within safe limits and have sensible fallbacks so that patients get a trustworthy preview even when some details are unavailable."
Description

Provide admin controls to toggle which approved fields appear (within the whitelist), manage copy and branding elements, and define fallbacks when data is missing (e.g., hide provider if unavailable, display generic safe copy). Include feature flags per practice, environment-based defaults, and graceful degradation when network or asset loads fail. All configurations must be validated against PHI policies and logged for auditability.

Acceptance Criteria

Power Planner

Right-size every experiment before you launch. Power Planner calculates required sample size and run time by cohort and goal (confirmations, time-to-fill, no-shows, revenue saved), accounts for day-of-week seasonality, and supports sequential testing with smart early-stop criteria. You get trustworthy winners faster, without overexposing patients or wasting weeks on underpowered tests.

Requirements

Multi-Goal Sample Size & Runtime Calculator
"As an office manager, I want accurate sample size and run-time estimates for my chosen goal so that I can plan realistic tests without underpowering or delaying scheduling operations."
Description

Calculates required sample size and expected calendar run time per variant and per cohort for selected goals (confirmations, time-to-fill, no-shows, revenue saved). Supports binary and continuous metrics, baseline inputs or auto-derived baselines from SmileCue historical data, minimum detectable effect (MDE), target power, and alpha. Incorporates traffic allocation, send caps, and cohort volumes to translate sample needs into days/weeks. Provides UI and API output, validation warnings for infeasible or underpowered plans, and exportable design summaries for stakeholder review.

Acceptance Criteria
Day-of-Week Seasonality Adjustment
"As a practice owner, I want Power Planner to account for weekday and holiday patterns so that my test timelines and power estimates reflect real patient behavior."
Description

Models day-of-week and holiday seasonality using practice-level historical messaging and appointment data to adjust volume forecasts and variance used in power calculations. Allows admins to review and tune seasonality factors, exclude anomalous periods, and simulate alternate schedules. Updates duration projections and early-stop thresholds accordingly, with visualizations showing the impact of specific days on expected progress and confidence.

Acceptance Criteria
Sequential Testing with Smart Early-Stop Rules
"As a data-savvy office manager, I want safe early-stopping rules so that I can declare trustworthy winners sooner and avoid wasting patient messages on losing variants."
Description

Implements pre-registered sequential analysis with configurable alpha-spending (e.g., O’Brien–Fleming or Pocock) for frequentist tests and optional Bayesian monitoring, enabling early stop for efficacy or futility while preserving error rates. Supports interim looks at calendar-based or information-based intervals, compatible with binary and continuous goals. Provides clear decision guidance, intervals, and auto-generated recommendations. Locks parameters at start to prevent peeking misuse and records all analyses for audit.

Acceptance Criteria
Cohort Targeting & Eligibility Rules
"As a hygienist, I want to target and balance tests across the right patient groups so that results are relevant and fair without interfering with other experiments."
Description

Lets users define cohorts (e.g., new patients, overdue recalls, payer type, age bands) and inclusion/exclusion criteria for each experiment. Pulls attributes from SmileCue integrations and local EHR/PM systems via existing HIPAA-compliant connectors, with safe mapping and validation. Ensures stratified randomization within cohorts, enforces mutual exclusivity across overlapping live experiments, and supports per-cohort quotas to balance exposure.

Acceptance Criteria
Overexposure Guardrails & Patient Safety Limits
"As a compliance-conscious office manager, I want automatic guardrails that prevent over-messaging patients so that experiments remain patient-friendly and policy-compliant."
Description

Applies configurable caps per patient and per channel (SMS, email, voice) during experiments, consent and opt-out checks, blackout windows around appointments, and quiet hours enforcement. Blocks configurations that would violate limits given projected volumes, suggests adjusted allocations or extended durations, and requires explicit override with reason and role-based approval. Integrates with Power Planner timelines to prevent unsafe overexposure.

Acceptance Criteria
HIPAA-Safe Experiment Data Handling & Audit Logging
"As a privacy officer, I want PHI-safe planning and a complete audit trail so that our experimentation remains compliant and reviewable."
Description

Enforces HIPAA-compliant data minimization by using de-identified IDs in planning, dashboards, and exports; redacts PHI from analysis outputs; and restricts access with RBAC and least-privilege scopes. Captures an immutable audit log of experiment designs, randomization seeds, parameter changes, interim looks, alerts, and decisions with timestamp, actor, and rationale. Provides exportable audit and pre-analysis plan artifacts to support compliance reviews.

Acceptance Criteria
Real-time Power Tracking & Alerts
"As an office manager, I want real-time updates and alerts on experiment power so that I can act quickly when it’s time to stop, extend, or adjust a test."
Description

Continuously ingests experiment telemetry to update observed information, effect size estimates, variance, and conditional power, showing progress toward stopping boundaries. Sends in-app and email/Slack alerts when power thresholds are achieved, early-stop criteria are met, or a test risks missing power within the planned duration. Exposes a dashboard widget and API endpoints for status, forecasts, and recommended actions.

Acceptance Criteria

Traffic Shaper

Let the system adaptively steer traffic to better-performing variants while preserving statistical validity. Traffic Shaper uses guardrailed multi-armed bandit logic to boost promising branches, protects minimum volume for each variant and cohort, and caps exposure for sensitive segments. Faster learning, fewer bad sends, and higher confirmation lift—automatically.

Requirements

Guardrailed Bandit Allocation Engine
"As a campaign administrator, I want the system to automatically shift traffic toward better-performing reminder variants while preserving minimum exposure and caps per cohort so that we improve confirmations without compromising statistical validity or patient safeguards."
Description

Implements an adaptive multi-armed bandit policy (e.g., Thompson Sampling) to automatically allocate SMS, email, and voice reminder traffic to better-performing variants while enforcing strict guardrails. Guardrails include per-variant and per-cohort minimum sample floors, exposure caps for sensitive segments, and exploration floors to preserve learning. Supports cold start with equal split and warm start using cohort-specific historical priors. Allocation updates run in near real time with configurable batching windows and delay handling for late outcomes (e.g., confirmations within 48 hours). Includes sequential monitoring controls and stopping rules to maintain statistical validity and prevent premature convergence. Integrates with SmileCue’s campaign engine and template branching, operating transparently across channels and appointment types.

Acceptance Criteria
Cohort & Sensitive Segment Constraints Configuration
"As an office manager, I want to configure minimum volumes and exposure caps for specific patient cohorts and sensitive segments so that the Traffic Shaper respects practice policy and patient safety while learning."
Description

Provides UI and API to define cohorts (e.g., practice, provider, appointment type, language, age band) and mark sensitive segments that require exposure caps and stricter thresholds. Enables configuration of per-cohort minimum sample sizes, exploration floors, daily/weekly send limits, and per-variant caps. Validates configurations for conflicts and infeasible settings and surfaces clear error messages. Supports environment-scoped defaults and campaign-level overrides. Changes are versioned, auditable, and safely rolled out via feature flags.

Acceptance Criteria
Statistical Validity & Performance Reporting
"As a practice owner, I want clear reports on why traffic is being shifted and the statistical confidence behind it so that I can trust the system’s decisions and communicate results to my team."
Description

Delivers a reporting layer that explains allocation decisions and learning progress, including variant lifts, credible intervals/confidence bounds, expected regret, and guardrail status per cohort and channel. Surfaces primary metric (confirmation within 48 hours) and secondary metrics (opt-outs, reschedules, undeliverables, complaint rate) with multiple-comparison controls. Provides timelines, reason codes for pauses/adjustments, and exportable CSV/JSON. Distinguishes learning vs. steady-state phases and highlights when minimum sample requirements are unmet or when caps bind allocation.

Acceptance Criteria
Safety Guardrails & Anomaly Auto-Pause
"As a compliance-minded administrator, I want automatic detection and pausing of risky variants or segments so that patients are protected and our practice avoids deliverability or regulatory issues."
Description

Continuously monitors safety and deliverability signals (opt-out spikes, complaint rates, undeliverables by carrier, sudden no-show increases) at variant, cohort, and channel levels. Automatically triggers protective actions—pause variant, revert to safest baseline, or return to equal split—when thresholds or trend detectors fire. Sends real-time alerts to admins, logs reason codes, and supports manual override with justification. Integrates with consent management, frequency caps, and carrier rate limits to prevent over-sending and ensure compliant operations.

Acceptance Criteria
HIPAA-Compliant Data Handling & Decision Audit Log
"As a security officer, I want every allocation decision and its inputs auditable under HIPAA controls so that we can demonstrate compliant, traceable decision-making during audits."
Description

Ensures the bandit engine operates under HIPAA requirements by minimizing use of PHI, using de-identified cohort attributes, encrypting data in transit and at rest, and enforcing least-privilege access. Records an immutable audit log of every allocation decision with timestamp, inputs (cohort, constraints, observed outcomes), model version, and resulting action. Supports retention policies, export for compliance reviews, and BAA-aligned controls. Provides redaction for operational views while preserving full detail in secure audit storage.

Acceptance Criteria
Offline Simulation & Policy Validation Harness
"As a data analyst, I want to simulate Traffic Shaper policies on historical data so that we can choose settings that learn quickly without sacrificing safety or validity."
Description

Adds a sandbox to replay historical campaigns and synthetic cohorts to evaluate candidate bandit policies and guardrail settings before production. Supports counterfactual evaluation, A/A tests to verify false positive rates, and power calculators to estimate minimum samples and expected time-to-confidence. Produces policy comparison reports (e.g., regret, lift, exposure fairness) and generates safe default settings for new campaigns. Integrates with feature flags for staged rollouts and can backtest across SMS, email, and voice channels.

Acceptance Criteria

Cohort Carver

Auto-builds the right segments for clean insights: appointment type, provider, location, risk tier, language/age, guardian involvement, and more. Cohort Carver enforces fair splits, excludes tiny cohorts from biasing results, and tags each result with context. You see exactly what works for whom—then roll out with precision.

Requirements

Unified Patient & Appointment Attribute Model
"As a data-minded office manager, I want patient and appointment attributes standardized so that I can create accurate cohorts without manual cleanup."
Description

Standardize and enrich patient and appointment data to power accurate cohorting. Ingest attributes from SmileCue and connected practice systems (appointment type, provider, location, risk tier, language, age band, guardian link, insurance type, recall status, preferred channel, consent status, last confirmation behavior, no-show history) into a normalized schema with consistent IDs. Perform validation, deduplication, derivations (e.g., age bands, first-time patient, pediatric guardian involvement), and field-level sensitivity tagging for PHI. Support incremental updates, late-arriving data handling, and data freshness SLAs. Provide a data dictionary and attribute versioning to ensure analyses remain comparable over time. Expected outcome: reliable, complete inputs for segmentation and unbiased insights.

Acceptance Criteria
Cohort Rule Builder & Saved Templates
"As a hygienist lead, I want an easy way to define and reuse patient cohorts so that I can quickly target reminders tailored to each group."
Description

Deliver a visual, no-code builder to define cohorts using nested AND/OR conditions across demographic, behavioral, and operational attributes (e.g., appointment type, risk tier, guardian presence, confirmed within 24 hours, reschedule intent). Support relative time windows, exclusions, computed fields (first-time patient, recall due), and preview counts with masked sample records. Allow saving, versioning, and sharing of cohort templates across locations, with permission-aware access. Validate rules for syntax and attribute availability, and provide instant feedback on cohort size and coverage before saving. Integrate with SmileCue’s scheduling and messaging modules to ensure cohorts are immediately actionable.

Acceptance Criteria
Fair Split & Minimum Sample Enforcement
"As a practice owner, I want the system to prevent misleading small-sample insights so that decisions are based on statistically reliable comparisons."
Description

Enforce statistically sound cohort comparisons by auto-balancing across key covariates (e.g., provider, location, risk tier) and excluding tiny cohorts that fall below configurable thresholds. Perform power checks and minimum detectable effect estimations to determine whether observed lifts are reliable. Surface guardrail warnings and prevent publishing insights or rollouts when thresholds aren’t met, with optional override requiring justification and audit capture. Output includes effective sample size, coverage, balancing method, exclusions applied, and confidence indicators to reduce bias and confounding in reported results.

Acceptance Criteria
Contextual Result Tagging & Lineage
"As a compliance officer, I want every insight to include its context and lineage so that we can audit decisions and reproduce results when needed."
Description

Attach comprehensive context to every cohort and analysis result, including rule definitions, attribute schema versions, data timeframe, included/excluded populations, sample sizes, balancing methods, thresholds used, creator and approver identities, and system version. Maintain end-to-end lineage from raw events to derived metrics with immutable IDs and timestamps. Expose context tags in the UI, exports, and API to enable reproducibility, auditability, and clear communication of what works for whom. Provide filters and search over tags to quickly locate relevant insights and their provenance.

Acceptance Criteria
Precision Rollout to Campaigns & Branching
"As a dentist, I want to deploy proven reminder strategies to the right patient cohorts so that I can increase confirmations without disrupting other workflows."
Description

Enable targeted deployment of winning strategies to specific cohorts across SMS, email, and voice. Support gradual rollout with percentage-based targeting, holdouts/controls, start/stop scheduling, and automatic fallbacks. Integrate with SmileCue’s adaptive branching engine to vary scripts, cadence, timing, and channel mix per cohort. Include pre-rollout checks for consent status, channel availability, provider/location constraints, and fair-split guardrails, followed by post-rollout tracking of confirmation uplift and no-show reduction by cohort. Provide rollback, versioning, and approval workflows to ensure safe, precise execution.

Acceptance Criteria
Role-Based Access, PHI Protections & Audit Logging
"As an administrator, I want strict access controls and audit logs around cohorting and rollouts so that we remain HIPAA-compliant and minimize risk."
Description

Implement granular role-based access controls for creating, editing, viewing, and rolling out cohorts and insights, aligned to dentist, hygienist, office manager, and admin roles. Apply HIPAA-compliant protections including PHI masking in previews/exports by default, encryption in transit and at rest, session timeouts, and consent checks at action time. Require approvals for high-impact changes and guardrail overrides. Capture detailed audit logs for data access, cohort changes, result publication, and rollout actions, with exportable reports for compliance reviews and incident response.

Acceptance Criteria

Consent Guard

Keep every test compliant by design. Consent Guard preflights variants against Jurisdiction Rules, quiet hours, consent class (informational vs. marketing), and template approvals. It blocks risky sends, logs decisions to Evidence Vault, and recommends safe alternates—so you innovate confidently without TCPA or HIPAA missteps.

Requirements

Jurisdiction Rule Engine
"As a compliance administrator, I want outgoing messages automatically checked against applicable laws by jurisdiction so that non-compliant sends are blocked before they reach patients."
Description

A rules engine that evaluates each outbound message against federal and state regulations (e.g., TCPA), HIPAA treatment-versus-marketing distinctions, and channel-specific carrier policies before send. Policies are stored as versioned, machine-readable rule packs that can be hot-updated by authorized admins without code deployment. The engine ingests message purpose, content metadata, channel (SMS, email, voice), recipient location, consent scope, and campaign settings to compute allow, warn, or block outcomes with rationale. It integrates with the SmileCue composer, automations, and scheduler to intercept risky sends pre-dispatch and propagate decisions to downstream delivery services. The engine supports rule precedence, exception handling for emergencies, and produces consistent, explainable decisions that reduce legal risk while maintaining throughput for compliant traffic.

Acceptance Criteria
Quiet Hours & Timezone Guard
"As an office manager, I want SmileCue to detect each patient’s local time and honor legally mandated quiet hours so that reminders are delivered compliantly without disturbing patients."
Description

Detects each recipient’s local timezone and applies jurisdiction-defined quiet hour windows for SMS, email, and voice. Time resolution uses a hierarchy of explicit patient timezone, verified address, number portability lookup, and area code, with DST-aware calculations and fallbacks. When a message falls inside a restricted window, the system automatically reschedules to the next compliant time and annotates the schedule with the reason. Practice-level quiet hours and channel overrides can be configured provided they remain within legal bounds, with guardrails preventing unsafe settings. All rescheduling decisions are exposed in the composer and scheduler and are included in compliance logs for auditability.

Acceptance Criteria
Consent Classifier & Enforcement
"As a practice marketer, I want campaigns enforced by the correct consent level so that only patients with appropriate permissions receive promotional messages."
Description

Classifies each template and campaign as transactional/informational or marketing and maps that classification to required consent levels per channel and jurisdiction. At send time, verifies the presence and currency of consent artifacts (timestamp, scope, channel, provenance, double opt-in where applicable) and checks for revocations or STOP keywords across channels. Blocks or downgrades delivery when consent is insufficient and records the consent snapshot used in the decision. Supports HIPAA treatment exceptions, ensuring PHI-related informational messages are permitted within regulatory boundaries while marketing communications require heightened consent. Provides guardrails to include required disclosures and opt-out instructions for marketing SMS and voice.

Acceptance Criteria
Template Approval Workflow
"As a compliance reviewer, I want a controlled template approval process so that staff can only use content that has been vetted for regulatory compliance."
Description

Provides a governed lifecycle for message templates with statuses including Draft, In Review, Approved, Rejected, and Expired. Compliance reviewers can compare revisions with diffs, validate dynamic placeholders, enforce prohibited phrasing lists, and bind templates to consent classes and allowed channels. Only approved templates are selectable in campaigns and automations; attempts to use unapproved or expired templates are blocked at composition and send time. Templates auto-require reapproval when underlying policies change, with notifications and migration assistance. All actions are permissioned and logged to support separation of duties and audit requirements.

Acceptance Criteria
Evidence Vault Decision Logging
"As a practice owner, I want an auditable record of every allowed or blocked decision so that I can demonstrate compliance during regulatory reviews or disputes."
Description

Captures an immutable record for every preflight decision including inputs (message hash, template ID, recipient attributes), rules evaluated with versions, consent artifacts referenced, quiet-hour calculations, outcome, and rationale. Stores records in tamper-evident storage with configurable retention, encryption at rest, and PHI minimization through tokenization and redaction. Provides search, filtering, and export capabilities with role-based access controls to support audits and incident response. Correlates decisions with delivery events using trace IDs and exposes downloadable compliance reports by time range, campaign, or provider location. Integrates with SIEM and eDiscovery workflows via secure API endpoints.

Acceptance Criteria
Safe Alternate Recommendations
"As a campaign creator, I want compliant alternatives suggested automatically when something is blocked so that I can fix issues quickly without deep regulatory expertise."
Description

When a send is blocked or warned, generates actionable, compliant alternatives such as rescheduling to the next safe window, switching to a permitted channel, substituting an approved informational template, or adding required disclosures. Presents ranked recommendations with explanations that map to the triggering rules and projected risk reduction. Enables one-click apply in the composer and provides equivalent fields in the API response so integrators can automate remediation. Learns from accepted recommendations to improve future suggestions while preserving rule determinism. Ensures any proposed alternative re-runs preflight checks before finalization.

Acceptance Criteria
Real-time Preflight & Bulk Precheck API
"As a developer integrating SmileCue, I want a real-time preflight API and composer feedback so that I can prevent non-compliant sends programmatically and during authoring."
Description

Exposes a low-latency preflight API and in-composer validator that simulate send decisions in real time for single messages and perform batch prechecks for campaigns. Guarantees performance targets suitable for authoring workflows and high-volume scheduling, supports idempotency keys, rate limiting, and detailed error taxonomy. Returns structured decisions with rationale, affected rules, and recommendation payloads, and supports localization of messages for staff-facing UI. Integrates with SmileCue’s automation engine to gate triggers and with delivery services to enforce blocks at dispatch time. Provides webhooks for decision events and degradation-safe defaults if the service is temporarily unavailable.

Acceptance Criteria

Branch Diff

Visually compare message trees at a glance. Branch Diff highlights copy, timing, and channel changes node-by-node, shows expected impact and past performance annotations, and supports one-click reuse of winning nodes across templates. Clear, actionable diffs make iteration fast and collaborative.

Requirements

Node-by-Node Diff Visualization
"As a practice manager, I want to see a clear, node-by-node comparison of two outreach templates so that I can quickly understand what changed and assess risk before publishing."
Description

Render two message templates (or versions) as aligned trees and highlight granular changes at the node level, including copy edits, timing offsets, channel switches, property additions/removals, and node moves. Use consistent color-coding and icons for change types, with toggles to show/hide categories (copy/timing/channel/structure). Support large templates via virtualized tree rendering, search, and focus/expand controls. Perform tree-diff using stable node IDs with fallback fuzzy matching on path and content to handle renamed or moved nodes. Provide a summary header with counts of changes and quick-jump navigation. Integrates with SmileCue’s template store and permissions model to ensure users only diff templates they can access. Outcome: practitioners can see what changed at a glance, reducing review time and errors.

Acceptance Criteria
Performance & Impact Annotations
"As an office manager, I want to see historical results and expected impact next to each change so that I can choose the best version with confidence."
Description

Overlay historical performance metrics and projected impact for each changed node directly within the diff. Pull node-level KPIs (confirmation rate, response rate, opt-outs) from analytics by selected timeframe and segment (e.g., hygiene recall, new patients), and display confidence indicators and significance badges. Show projected impact deltas for proposed changes using a lightweight prediction service (heuristics initially, model-driven later) with transparent assumptions. Provide tooltips linking to underlying data and a per-diff summary of expected overall effect. Enforce PHI minimization by aggregating metrics and filtering small cohorts. Outcome: users make evidence-based edits faster, improving confirmation rates while reducing trial-and-error.

Acceptance Criteria
One-Click Node Reuse Across Templates
"As a hygienist lead, I want to reuse a proven reminder node in another recall flow so that I can roll out what works without rebuilding it from scratch."
Description

Enable users to copy a winning node or subtree from the diff view and insert it into another template with a single action. Perform compatibility checks for variables, channels, timing constraints, and guardrails (e.g., quiet hours, consent). Map and validate merge fields, suggest fixes for missing variables, and preserve formatting and branching logic. Maintain provenance metadata (source template, version, timestamp, author) to support future audits and rollbacks. Provide optional link-and-sync behavior so updates to a canonical node can be propagated. Outcome: best-performing content is easily reused, accelerating iteration and standardizing quality across campaigns.

Acceptance Criteria
Template Version & Comparison Selector
"As a dental office administrator, I want to quickly select and compare any two template versions so that I review the correct changes before approval."
Description

Provide a selector to choose any two items to compare: template-to-template, version-to-version, or draft vs. published. Include filters by date range, author, tag, and patient segment; show key metadata (publish date, approvals, change notes) for context. Support diffing against baselines (e.g., last published) and quick actions to promote or rollback. Offer deep links that encode the comparison for easy sharing and review. Integrates with SmileCue’s versioning, release workflow, and access controls. Outcome: users can consistently pick the right artifacts to compare, reducing mis-comparisons and rework.

Acceptance Criteria
Collaborative Comments & Suggestions
"As an office coordinator, I want to leave comments tied to exact changes so that my team can resolve questions and approve updates faster."
Description

Allow users to comment on specific nodes or changes within the diff, mention teammates, attach rationale, and resolve threads. Support suggestion mode to propose copy/timing edits that can be accepted into the draft. Send in-app and email notifications respecting user preferences; maintain an activity timeline per comparison. Enforce HIPAA-safe guidelines by blocking PHI in comments via pattern checks and providing admin-configurable retention/redaction rules. Outcome: cross-role teams collaborate asynchronously, speeding approvals while maintaining compliance.

Acceptance Criteria
HIPAA-Compliant Audit Logging for Diff Actions
"As a compliance officer, I want complete audit trails of diff views and edits so that we can meet HIPAA and internal audit requirements."
Description

Capture immutable audit logs for all Branch Diff activities, including views, comparisons made, node reuse operations, suggestions accepted, and exports. Record user ID, timestamp, artifact IDs, before/after snapshots, and rationale where provided. Store logs in write-once storage with encryption at rest and in transit, apply retention policies, and expose admin search/export for compliance reviews. Integrate with SSO/role-based access to ensure least-privilege access to logs. Outcome: the feature remains fully auditable and compliant with HIPAA and organizational policies.

Acceptance Criteria
Secure Share & Export of Diffs
"As a practice owner, I want to share a read-only diff with my consultant so that they can review proposed changes without accessing patient data."
Description

Provide secure sharing and export options for diffs, including expiring view-only links and watermarked PDF/PNG exports. Enforce access controls, optional password protection, and IP allowlisting. Redact or obfuscate patient-identifiable placeholders and variable previews in exports. Embed metadata (template IDs, versions, generated date) for traceability. Outcome: stakeholders can review changes outside the app when needed without risking data leakage.

Acceptance Criteria

Safe Publish

Promote winners without stress. Safe Publish stages rollouts by location/provider, supports switchbacks and holdouts, and auto-rolls back if KPIs dip. One click updates live templates, writes an audit trail, and notifies stakeholders. Improvements go live smoothly, with protection for your schedule and patients.

Requirements

Segmented Staged Rollouts
"As an office manager, I want to roll out template updates by location and provider so that I can minimize risk and validate impact before a full release."
Description

Enable staged deployments of messaging template changes by segment (location, provider, insurance cohort, or percentage-based canary). Provide scheduling windows, ramp-up percentages, and eligibility rules aligned with SmileCue’s patient segmentation. Ensure atomic, isolated activation per segment with real-time status, progress, and the ability to pause/resume without affecting other segments. Integrate with existing template engine and scheduling to avoid sending during blackout hours and respect patient communication preferences.

Acceptance Criteria
KPI Guardrails & Auto-Rollback
"As a practice operations lead, I want automatic rollback when KPIs dip so that schedule health and patient experience are protected without constant monitoring."
Description

Continuously monitor key KPIs (confirmation rate, opt-out rate, delivery failures, reply sentiment, and no-show proxy) during and after rollout. Allow configurable thresholds, evaluation windows, and anomaly detection. Automatically roll back affected segments to the last stable template if thresholds are breached, with cooldown/hysteresis to prevent oscillation. Provide instant alerts, a root-cause summary, and a clear record of the rollback action, including the exact versions and segments impacted.

Acceptance Criteria
Holdouts & Switchbacks Manager
"As a data-minded office manager, I want configurable holdouts and quick switchbacks so that I can compare outcomes and revert safely if results are worse than control."
Description

Support randomized or rules-based holdout groups and fast switchbacks to a control template for comparison. Maintain consistent cohort assignment to prevent contamination and support per-segment holdout ratios. Display side-by-side performance for variant vs control with confidence indicators to guide promotion decisions. Allow emergency switchback across selected segments with one action and clear confirmation.

Acceptance Criteria
One‑Click Promotion & Versioning
"As a content editor, I want one‑click promotion with built-in validation so that updates go live quickly without breaking compliance or delivery."
Description

Provide a single action to promote approved draft templates to live across SMS, email, and voice, with atomic, multi-channel updates. Validate dependencies and required compliance elements (e.g., merge tags, opt-out language, send windows) before promotion. Maintain full version history with labels, diffs, and restore points to enable precise rollbacks to any prior version per channel and segment.

Acceptance Criteria
Immutable Audit Trail & Compliance Logging
"As a compliance administrator, I want an immutable audit trail of all publish actions so that our practice can pass audits and investigate issues confidently."
Description

Record a tamper-evident audit trail for every change, rollout, rollback, approval, and notification, including who, what, when, where, before/after diffs, and affected segments. Hash and timestamp entries, redact PHI, and enforce retention aligned to HIPAA policies. Provide exportable, filterable logs and scheduled compliance reports for internal reviews and external audits.

Acceptance Criteria
Stakeholder Notifications & Approval Gates
"As a practice manager, I want structured approvals and timely notifications so that the right people review changes and stay informed throughout the rollout."
Description

Notify designated stakeholders (dentists, hygienists, office managers, compliance) via in-app, email, or Slack with preflight summaries, blast radius, KPIs under watch, and rollback plan. Support configurable approval gates and role-based access before promotion, with deadline reminders and escalation. Provide post-deploy updates on rollout progress, KPI status, and any automated actions taken.

Acceptance Criteria
Preview, Dry‑Run & Simulation
"As a template author, I want previews and safe dry-runs so that I can verify content and expected impact before affecting real patients."
Description

Offer channel-specific previews with real patient-safe placeholders, merge tag validation, and voice readbacks. Enable dry-runs that exercise the full pipeline without sending to patients, plus historical data simulations to estimate KPI impact and detect likely failures (e.g., missing tags, blackout conflicts). Provide a sandbox environment and test cohorts for end-to-end verification before live rollout.

Acceptance Criteria

Wallet QuickPay

Offer Apple Pay, Google Pay, Click to Pay, and ACH inside the payment link with device-aware buttons. Patients pay in one tap without typing card numbers; authorizations clear in seconds and confirmations write back instantly. Practices see fewer declines, faster collections, and less staff time on the phone.

Requirements

Device-Aware Wallet Buttons
"As a patient, I want to see payment methods optimized for my device so that I can pay in one tap without entering card details."
Description

Render Apple Pay, Google Pay, Click to Pay, and ACH buttons contextually based on device, browser, and merchant configuration to enable true one-tap payments. Detect ApplePaySession on Safari/iOS, Google Pay API readiness on Chrome/Android, EMV SRC for Click to Pay on desktop, and always-present ACH when enabled. Order methods by likelihood of success, show disabled states while initializing, and fall back gracefully to a compliant card entry option when no wallets are supported. Ensure WCAG AA accessibility, localization, and branded theming. Provide feature flags, sandbox/prod separation, and analytics events for impressions, initializes, taps, and renders to measure adoption.

Acceptance Criteria
One-Tap Payment Link Experience
"As a patient, I want a secure, prefilled payment link so that I can quickly pay my dental bill without logging in or calling."
Description

Deliver a secure, prefilled payment link that opens a lightweight checkout with device-aware wallet buttons and ACH. Generate signed, short-lived tokens with no PHI in the URL; auto-populate patient name (masked), invoice/balance, and practice branding. Achieve <2s first paint on 4G, offline-safe errors, and clear states (amount due, selected method, confirmation). Support partial amounts when allowed, optional card-on-file consent, link expiration/revocation, and rate limiting. Deep link from SMS/email/voice, preserve UTM/source for attribution, and provide a post-payment thank-you screen with receipt options.

Acceptance Criteria
Gateway & Wallet Tokenization Integration
"As a practice manager, I want wallet payments processed and tokenized through our gateway so that transactions are secure and future payments are faster."
Description

Integrate with the primary payment processor(s) to support Apple Pay (merchant/domain verification), Google Pay, EMV SRC Click to Pay, and network tokenization. Create payment intents with idempotency keys, handle 3DS/SCA when required, and normalize gateway responses and decline codes. Vault tokens per practice with clear PCI scope (SAQ A), support multi-location MIDs, and enable refunds/voids via the same token. Provide configuration UI and APIs for merchant IDs, certificates, and environment settings, plus health checks and alerting for gateway outages.

Acceptance Criteria
Real-Time Authorization & PMS Writeback
"As an office manager, I want payment confirmations to update the appointment and balance instantly so that staff don’t chase payments or double-charge."
Description

Post successful authorizations to SmileCue and the practice management system within seconds, updating patient ledger, appointment status, and outstanding balance. Implement webhooks/event bus with idempotent handlers, guaranteed delivery, and retries with backoff. Generate receipts, send confirmation via SMS/email, and mark reminder threads as completed or updated. Handle edge cases (duplicate taps, timeouts, partial approvals, reversals) and surface clear statuses in the staff portal. Expose an operational dashboard showing event lag, failures, and manual replay controls.

Acceptance Criteria
ACH with Instant Bank Login & NACHA Compliance
"As a patient, I want to pay via my bank account with instant verification so that I can avoid card fees and complete payment easily."
Description

Offer ACH as a first-class method with instant account verification (e.g., Plaid/Open Banking) and a fallback to micro-deposit verification. Display expected settlement timelines, support same-day ACH where configured, and track statuses from initiated to settled or returned (R01–R10, etc.). Enforce NACHA rules, collect and store authorization mandates, and notify staff/patients on returns with automated next steps. Map ACH fees and surcharging rules per practice policy, and write settlement outcomes back to the PMS.

Acceptance Criteria
Decline Recovery & Smart Retries
"As a practice manager, I want failed payments to automatically prompt alternatives and smart retries so that we reduce declines and collect faster."
Description

Reduce declines by detecting soft vs. hard declines, prompting the next-best available method (e.g., switch from card wallet to ACH), and scheduling intelligent retries that respect issuer guidance. Provide real-time error messaging, card updater/network token refresh, and optional alternative amount offers (e.g., partial payment). Route retries across multiple acquirers where supported, and notify staff only when intervention is needed. Log decline reason taxonomy for analytics and optimize button ordering over time.

Acceptance Criteria
Audit Logging & Compliance Controls
"As a compliance officer, I want auditable logs and strong data controls so that Wallet QuickPay remains HIPAA- and PCI-compliant."
Description

Maintain HIPAA and PCI DSS (SAQ A) boundaries by minimizing PHI in payment flows, encrypting data in transit and at rest, and segregating identifiers from clinical data. Implement immutable audit logs for all payment events, admin actions, and data access with RBAC, least-privilege, and SSO support. Capture explicit patient consent where required (wallet terms, ACH authorization), manage retention policies, and provide export for audits. Complete Apple Pay domain verification, Google merchant validation, and ongoing vulnerability and penetration testing.

Acceptance Criteria

Copay Predictor

Estimate patient responsibility before the visit using procedure, fee schedule, eligibility, and benefits-used data. Show a friendly breakdown in the message, update if coverage changes, and let staff override with notes. Clear expectations reduce day-of disputes and increase deposit completion.

Requirements

Real-time Eligibility & Benefits Sync
"As a front-desk coordinator, I want real-time eligibility and benefits data so that I can provide accurate cost estimates without calling the payer."
Description

Integrate with payers and clearinghouses to retrieve up-to-date eligibility, plan details, remaining deductible, coinsurance, copays, annual maximums, waiting periods, and frequency limitations. Support real-time X12 270/271 or payer APIs, with scheduled refresh and on-demand rechecks prior to appointment. Cache responses with TTL, handle payer timeouts and fallbacks, and normalize data to a standard benefits schema. Ensure HIPAA-compliant transmission and storage, detailed error codes, and retriable queues. Surface data freshness timestamps to staff and downstream components.

Acceptance Criteria
Fee Schedule & Plan Rules Mapping
"As an office manager, I want accurate fee schedules and plan coverage mappings so that estimates reflect our contracted rates and plan rules."
Description

Maintain practice-specific fee schedules per location, provider, and payer/plan, including contracted (in-network) rates, UCR, and negotiated discounts. Map CDT procedure codes and modifiers to fees and plan coverage percentages by category (e.g., preventive, basic, major). Support location/provider overrides, effective dates, historical versions, and automated import from CSV or PMS exports. Validate completeness and flag inconsistencies. Provide an admin UI with role-based controls and audit logs for changes.

Acceptance Criteria
Copay Estimation Engine with Secondary Insurance
"As a hygienist planning treatment, I want a clear, line-item estimate including secondary insurance so that I can set realistic payment expectations with the patient."
Description

Compute patient responsibility per visit across single or multiple procedures, accounting for remaining deductible, copays, coinsurance, annual maximums, frequency limits, waiting periods, and provider network status. Support coordination of benefits for primary and secondary insurance (including carve-outs and non-duplication), estimate write-offs, and calculate practice-collectible amounts. Produce line-item and total estimates, include a confidence score based on data completeness and payer responsiveness, and generate human-readable reasons and assumptions. Expose results via API for messaging and UI modules.

Acceptance Criteria
Patient-Friendly Cost Breakdown Messaging
"As a patient, I want a simple breakdown of what I’m expected to pay so that I can budget and avoid surprise bills."
Description

Render a concise, understandable breakdown of estimated costs in SMS and email, showing procedure names, insurance pays, patient pays, and any deposit requested. Include explanations for deductibles, coinsurance, and coverage limits in plain language, with expandable details and a standard disclaimer about estimate variability. Support multi-language templates, accessibility standards, and branded theming. Embed deep links to the patient portal for full details and consent capture.

Acceptance Criteria
Auto-Recalculation & Change Notifications
"As a scheduler, I want the system to auto-update estimates and notify stakeholders when things change so that we avoid day-of conflicts."
Description

Continuously monitor for changes in eligibility responses, fee schedules, appointment procedures, or plan rules and automatically re-run the estimate. Detect material deltas, version the estimate, and notify both staff and patients with a concise change summary highlighting the difference and rationale. Respect notification preferences and quiet hours, and log all updates with timestamps in the appointment timeline. Provide one-click staff acknowledgment and patient confirmation flows.

Acceptance Criteria
Staff Override with Notes & Audit Trail
"As an office manager, I want the ability to override estimates with documented reasons so that we can handle exceptions transparently and maintain compliance."
Description

Allow authorized staff to override the predicted copay or deposit with a new amount, attach structured reasons (e.g., goodwill adjustment, promo, prior authorization pending), and free-text notes. Record user, time, and before/after values with immutable audit logs. Display override indicators in all patient-facing and staff views, and optionally require manager approval above configurable thresholds. Ensure overrides flow into messaging and payment requests while preserving the original estimate for analytics.

Acceptance Criteria
Deposit Request & Payment Link
"As a patient, I want a secure, easy way to pay my deposit ahead of the visit so that check-in is faster and I’m confident my spot is reserved."
Description

Enable practices to request a configurable deposit based on the estimated patient responsibility (flat amount or percentage), with business rules by procedure type, provider, and appointment lead time. Generate secure payment links in SMS/email, support major payment methods, and reflect completion status in the appointment record. Handle partial payments, refunds, and expirations, and provide reminders for unpaid deposits. Expose deposit KPIs and reconciliation exports for the billing team.

Acceptance Criteria

SplitPay Families

Let caregivers split a bill across multiple payers, cards, or children in the same thread. Flexible allocations, per-child receipts, and stored preferences make pediatric and multi-guardian scenarios simple—fewer callbacks, happier families, and fully paid ledgers.

Requirements

Family Linking & Role Management
"As an office manager, I want to link children and multiple guardians into a single family with roles so that I can control who receives bills and who can authorize or pay them."
Description

Introduce a Family entity that links multiple patients (children) and multiple guardians/payers with clearly defined roles (e.g., primary guardian, secondary guardian, payer-only). Support custody constraints, permission scopes (who can view balances, receive statements, or authorize charges), and contact preferences per role. Provide staff UI to create, edit, merge, and search families without duplicating patient records. Enforce minimum necessary PHI exposure in shared threads, and handle lifecycle events (e.g., child aging into self-managed account) with role transition workflows.

Acceptance Criteria
Split Allocation Engine
"As a caregiver, I want to split a family bill across two cards and another guardian by percentage so that the costs are shared fairly and transparently."
Description

Enable flexible allocation of a family balance across payers, payment instruments, and children. Support allocation methods by percentage, fixed amount, per-child, or by procedure code, with caps, minimums, and even-split options. Calculate real-time remaining balances, pro-rate and handle rounding, and record allocation metadata for auditability. Apply practice credits and insurance adjustments in the correct order, and support reversals/refunds that preserve original allocation logic. Expose allocation via API/SDK and staff UI with clear previews before charge.

Acceptance Criteria
Per-Child Itemized Receipts
"As a parent, I want separate itemized receipts for each child so that I can submit them to different FSAs and keep our records organized."
Description

Generate HIPAA-compliant, itemized receipts per child with clear attribution of procedures, amounts, and payer contributions. Include FSA/HSA-friendly detail (provider, tax ID, CDT/CPT descriptors where applicable), unique receipt IDs, and practice branding. Deliver receipts in-thread via secure links with time-limited access, support multi-language templates, and allow staff to re-send or download. Store receipts with allocation context for future reference and audits while limiting PHI to the minimum necessary.

Acceptance Criteria
In-Thread Payment Collection
"As a secondary guardian, I want to pay my assigned portion directly from the message thread so that I can complete payment quickly without calling the office."
Description

Collect split payments directly within existing SmileCue SMS/email/voice threads. Generate secure, payer-specific payment links reflecting each party’s allocation and due date. Support tokenized card entry (PCI SAQ-A), Apple Pay/Google Pay, HSA/FSA cards, partial payments, and 3D Secure/SCA where required. Provide real-time status updates to staff, idempotency to avoid duplicate charges, concurrency controls across multiple payers, and fallback voice IVR. Integrate with supported gateways (e.g., Stripe, Authorize.Net) via tokens only; never store raw PANs.

Acceptance Criteria
Stored Preferences & Auto-Allocation Rules
"As a busy parent, I want my saved split rules to auto-apply to new visits so that payments happen with minimal coordination."
Description

Allow families to save split preferences (e.g., 60/40 between guardians, card X for child A, cap of $200 per visit) and automatically apply them to new balances. Capture explicit consent per rule, effective dates, and exceptions (e.g., orthodontics not included). Provide UI to review, override, and simulate outcomes before charging. Handle expired cards, re-consent prompts, and notify payers when rules are applied. Support pre-authorization of estimated amounts and automatic top-ups within consented limits.

Acceptance Criteria
Consent, Authorization & Compliance
"As a practice owner, I want compliant authorizations for split payments and stored rules so that we reduce legal and security risk while protecting patient privacy."
Description

Capture and store payer authorization for split charges, stored preferences, and use of tokenized payment methods via e-sign within the communication thread. Enforce HIPAA minimum necessary access, role-based permissions, and age-of-consent and custody checks. Ensure PCI compliance by using gateway tokenization and never persisting sensitive card data. Provide clear consent language, revocation workflows, and auditable timestamps, IP/device metadata, and signer identity verification steps appropriate for guardians and payers.

Acceptance Criteria
Ledger Sync & Reconciliation
"As a billing coordinator, I want split payments to sync accurately to our PMS per child so that our ledgers and reports remain correct without manual fixes."
Description

Post split payments back to the practice management system per child and procedure with allocation details, mapping to the appropriate providers, CDT/CPT codes, and ledgers. Support bi-directional sync for adjustments, voids, and refunds with robust idempotency to prevent duplicate postings. Provide a reconciliation dashboard and daily reports showing outstanding balances by family and payer, gateway settlement references, and exception handling with retry queues and alerts for failed writes or mismatches.

Acceptance Criteria

LineSync Ledger

Map each payment to the right PMS ledger code, provider, and location with automatic transaction IDs, partial/overpayment handling, and end-of-day reconciliation exports. Refunds and voids sync both ways, eliminating double-posting and month-end cleanup.

Requirements

Ledger Code Mapping Engine
"As an office manager, I want payments to auto-map to the correct PMS ledger codes so that I don’t have to manually reclassify transactions and risk month-end discrepancies."
Description

Implement a rule-driven engine that maps each incoming payment, adjustment, and credit to the correct PMS ledger code based on payment method, procedure type, payer, provider, and location. Support versioned mapping rules, fallbacks, and validation against PMS metadata to prevent invalid codes. Provide low-latency lookups for real-time posting and maintain backward compatibility when rules evolve. Integrate with SmileCue payment events and PMS APIs/webhooks to ensure seamless, accurate categorization the moment a transaction is authorized or settled.

Acceptance Criteria
Idempotent Transaction Correlation
"As a billing coordinator, I want guaranteed idempotency for ledger postings so that duplicate webhooks or retries never create double entries in our PMS."
Description

Generate and persist globally unique transaction IDs and correlation keys to guarantee idempotent posting across SmileCue, the payment gateway, and the PMS. Deduplicate replays, retries, and webhook storms; record cross-system references (gateway transaction ID, PMS receipt/entry ID) to prevent double-posting. Expose a reconciliation-safe API and enforce write-once guarantees with optimistic concurrency control for updates such as voids and refunds.

Acceptance Criteria
Partial & Overpayment Allocation
"As a front-desk receptionist, I want to correctly allocate partial and overpayments across procedures so that patient balances and reports stay accurate without manual spreadsheets."
Description

Support allocation of partial payments, overpayments, and unapplied credits across multiple procedures, providers, and dates of service. Provide configurable allocation strategies (e.g., oldest balance first, by procedure priority, by provider quotas) and allow manual overrides with audit trails. Synchronize allocations and remaining balances with the PMS, including creation of credits or adjustments where supported, and enforce rounding rules consistent with PMS constraints.

Acceptance Criteria
Bidirectional Refund/Void Sync
"As a practice owner, I want refunds and voids to sync both ways so that our books stay consistent regardless of where staff initiates the action."
Description

Enable real-time, two-way synchronization of refunds and voids between SmileCue and the PMS. When initiated in either system, propagate corresponding reversing entries with correct ledger codes, provider/location attribution, and links to the original transaction. Enforce permission checks, capture reasons, and maintain a complete reversal chain for auditability. Handle asynchronous timing and failure recovery to keep both systems consistent.

Acceptance Criteria
End-of-Day Reconciliation Exports
"As an accountant, I want daily reconciliation exports with stable IDs so that I can tie out deposits and ledger entries quickly without manual matching."
Description

Produce scheduled, tamper-evident end-of-day exports with both summary and transaction-level detail by location and provider. Support configurable cutoffs by time zone, export formats (CSV, XLSX, JSON), secure delivery (SFTP, secure email, or API), and inclusion of cross-system IDs for easy tie-out. Provide success/failure notifications and a re-run capability that preserves original transaction IDs for audit alignment.

Acceptance Criteria
Provider & Location Attribution
"As a hygienist, I want payments attributed to the right provider and location so that production and compensation reports reflect the care actually delivered."
Description

Automatically attribute payments to the correct rendering/billing provider and practice location using appointment context, PMS provider mappings, and user-defined overrides. Handle multi-location practices, associate providers, and mid-procedure provider changes. Validate provider/location IDs against PMS directories and apply deterministic fallback rules when context is missing to avoid orphaned entries.

Acceptance Criteria
Ledger Sync Audit, Alerts & Retry Queue
"As a revenue cycle manager, I want clear audit logs and automatic alerts with safe retries so that I can quickly resolve sync issues without risking data integrity."
Description

Create a comprehensive audit trail for every ledger event, capturing before/after states, mapping rules used, external IDs, actor, timestamp, and source system. Implement resilient retry queues with exponential backoff and dead-letter handling for PMS/API failures. Expose a monitoring dashboard with filters, error categories, and one-click replay, plus configurable alerts (email/Slack) for reconciliation-impacting failures. Apply data minimization and encryption-in-transit/at-rest aligned with HIPAA and PCI boundaries.

Acceptance Criteria

CardVault Consent

Tokenize a card-on-file with explicit, scope-limited consent during checkout or via a separate secure link. Patients control how and when it’s used (deposits, co-pays, balances), with easy revoke and auto-expiry. Faster follow-up collections with PCI scope minimized.

Requirements

PCI-Compliant Card Tokenization & Vaulting
"As an office manager, I want patients’ cards tokenized through a PCI-compliant vault so that we can safely keep a card on file without storing sensitive card data ourselves."
Description

Implement card-on-file storage using a PCI DSS Level 1 tokenization provider. Collect card data only through provider-hosted fields/pages to avoid handling PAN within SmileCue, minimizing PCI scope. Store only tokens and non-sensitive metadata (brand, last 4, expiry, network reference) mapped to the patient profile and practice tenant, with strict multi-tenant isolation. Ensure TLS 1.2+ in transit and strong encryption at rest for all artifacts we persist. Support network tokenization and card updater services where available, without changing consent scope. Provide idempotent token creation, safe retries, and lifecycle management APIs. No PHI is transmitted to the payment provider; SmileCue stores only the minimal linkage needed to associate tokens to patients while keeping PHI and PCI data logically and physically segregated.

Acceptance Criteria
Explicit Scope-Limited Consent Capture
"As a patient, I want to grant explicit, limited consent for how my card can be used so that I stay in control of charges and understand exactly what I’m authorizing."
Description

Enable capture of granular, explicit consent that defines exactly how the card-on-file may be used: allowed categories (appointment deposit, co-pay, post-visit balance, missed-appointment fee, payment plan installments), per-transaction and cumulative caps, frequency limits, validity window, and practice-specific terms. Present clear disclosures and a consent summary with versioning, and record e-signature evidence (checkbox, typed name, timestamp, IP, device fingerprint, user agent, locale). Support capture during checkout or as a separate flow, with ADA-compliant UI and multilingual content (e.g., EN/ES). Store immutable consent records linked to the token and patient, including policy/version references for audit and dispute resolution.

Acceptance Criteria
Patient Self-Service Secure Consent Link
"As a patient, I want a secure link to add my card and choose what it can be used for so that I can complete consent on my own time without calling the office."
Description

Allow practices to send a one-time, expiring secure link via SMS or email for patients to add a card and set consent permissions remotely. Protect the link with short-lived tokens, device binding, and optional OTP verification (SMS/email) or DOB verification. Use payment-provider hosted pages to input card details, then route back to a SmileCue consent review screen to select permitted uses, caps, and expiry before final e-sign. Provide clear success/failure states, error recovery, and accessibility support. Record delivery, open, and completion events to power reminders and follow-ups within SmileCue’s communication workflows.

Acceptance Criteria
Real-Time Consent Enforcement & Charge Guardrails
"As a billing specialist, I want the system to automatically block any out-of-scope charge and tell me why so that we only run charges patients have approved."
Description

Introduce a centralized decisioning service that validates every attempted card-on-file charge against the patient’s active consent: category match, amount within caps, frequency limits, and consent validity window. Expose a synchronous API and SDK for SmileCue automations and staff-initiated charges to request authorization with idempotency and receive an allow/deny decision plus reason codes. Block out-of-scope charges and surface actionable messages to staff, with options to request updated consent via a one-click link. Tag charges with categories from the practice management/billing context to ensure accurate enforcement without exposing PHI to the payment provider.

Acceptance Criteria
Easy Revocation & Auto-Expiry Controls
"As a patient, I want to revoke my consent at any time and know it will expire automatically after a set period so that I remain in control without needing to call the office."
Description

Provide simple patient- and staff-initiated revocation mechanisms that take effect immediately across all workflows. Support partial revocation (by category) and global revoke, with optional reasons. Implement configurable auto-expiry for consents (e.g., 6 months), with pre-expiry reminders and easy renewal links. Upon revoke/expiry, disable scheduled or automated charges and notify relevant staff. Maintain a complete history of state changes while ensuring the token itself can remain for future re-consent without re-entering PAN, subject to provider capabilities and policy.

Acceptance Criteria
Audit Logging, Evidence Packs & Dispute Reporting
"As a compliance officer, I want complete, exportable evidence of consent and charge decisions so that we can resolve disputes and pass audits with confidence."
Description

Capture an immutable audit trail for consent lifecycle events (create, update, revoke, expire), token lifecycle events, enforcement decisions, and executed charges. Each record includes actor (patient/staff/system), timestamp, IP, device/user agent, request IDs, and consent/version references. Provide exportable, court-ready evidence packs (PDF/JSON) that bundle disclosures, signed terms, event logs, and decision outcomes for chargebacks or compliance reviews. Offer search and filtered reporting for practices, with retention policies aligned to regulatory and contractual requirements. Ensure logs exclude PAN/PHI while preserving necessary context to establish provenance.

Acceptance Criteria
Staff Console & Workflow Integration
"As an office manager, I want an easy console to request, review, and manage card-on-file consent so that our team can reduce manual collections while staying compliant."
Description

Add a CardVault section in the SmileCue admin where staff can request consent, view current token status, permitted uses, caps, and expiry, trigger secure links, revoke or renew consent, and see enforcement decisions with explanations. Provide role-based access controls, activity feeds, and alerts when automations are blocked due to missing or expired consent. Integrate with existing SmileCue appointment and billing communications so staff can include consent requests in reminders, post-visit follow-ups, and balance collection campaigns using templates and merge fields. Ensure the UI surfaces only minimal payment metadata (brand, last 4, expiry) and never exposes sensitive card data.

Acceptance Criteria

Chairside QR

Generate a one-time QR from the appointment view to hand off payment to the patient’s device or a clinic tablet. The session is device-bound and time-boxed for security, perfect for walk-ins and less tech-savvy patients. Payments complete in seconds, no terminal needed.

Requirements

Appointment-Linked One-Time QR Generation
"As a dental assistant, I want to generate a one-time QR from the appointment screen so that I can hand off payment to the patient’s device or a clinic tablet without using a card terminal."
Description

Enable staff to generate a single-use, time-limited QR code directly from the appointment view that launches a payment session tied to the selected appointment. The QR encodes a short-lived token (not PHI) that resolves to a secure payment URL. Display a visible countdown timer and controls to cancel/regenerate. Ensure high-contrast rendering for print/display, compatibility with common QR scanner apps, and immediate invalidation upon successful payment or cancellation. Regeneration should revoke prior tokens and update the UI so staff can hand off payment within seconds without a terminal.

Acceptance Criteria
Device-Bound, Time-Boxed Payment Session
"As a practice owner, I want each QR payment session to lock to a single device and expire quickly so that payments are secure and cannot be replayed or intercepted."
Description

Bind the payment session to the first device that scans the QR using a server-side association and secure session cookie, enforcing a configurable expiration window (e.g., 5–10 minutes). Prevent replay by invalidating tokens after first bind, applying anti-reuse checks, rate limiting, and signed short-lived tokens (e.g., JWT) with no PHI in URL parameters. Auto-expire and purge state upon completion, timeout, or staff cancellation. Provide staff-side indicators of active/expired status and kiosk safeguards (auto-timeout, data purge) when using clinic tablets.

Acceptance Criteria
Patient-Friendly Payment UI
"As a patient, I want a simple, secure payment screen on my phone or the clinic tablet so that I can pay quickly without dealing with a card terminal."
Description

Deliver a fast, accessible, mobile-first checkout that summarizes the visit and amount due with minimal PHI (e.g., initials, appointment time), supports cards, HSA/FSA cards, and Apple Pay/Google Pay, and completes in one or two screens. Meet WCAG 2.1 AA with large tap targets, plain-language prompts, and error recovery. Provide EN/ES localization initially, optional tips/gratuity (configurable), and clear success/failed states. Offer receipt delivery via SMS/email and optional card-on-file tokenization with explicit consent through the payment processor.

Acceptance Criteria
Payment Processor Integration & Webhooks
"As an office manager, I want payments to process securely and automatically update the appointment record so that staff doesn’t have to reconcile manually."
Description

Integrate with a primary PSP (e.g., Stripe) via PaymentIntent-style flows to support SCA/3DS challenges and digital wallets, with an abstraction layer for future processors. Include idempotent creation, metadata linking (appointment ID, patient ID), and secure client confirmation. Implement webhook handlers for succeeded/failed/requires_action events, with retries and signature verification, to update appointment balances, mark confirmations, and issue receipts. Maintain PCI SAQ A scope by never handling raw PAN and storing only PSP tokens and non-sensitive metadata.

Acceptance Criteria
Handoff Failover & Recovery Paths
"As front-office staff, I want reliable fallbacks when a patient can’t scan the QR so that we can still complete payment without delays."
Description

Provide robust alternatives when scanning fails: display a short URL and 6–8 character code alongside the QR, allow sending the link via SMS/email from the appointment view, and accept manual code entry on the payment page. Support session cancellation, regeneration, and interrupted-session recovery within the expiration window. Present clear guidance for declined payments with retry options and surface offline/network error messaging with safe recovery steps. Log failures for support diagnostics.

Acceptance Criteria
Audit Trails, Access Control, and HIPAA Safeguards
"As a compliance officer, I want detailed, secure audit logs and minimal PHI exposure so that we meet HIPAA requirements and can investigate incidents."
Description

Record immutable, timestamped audit events for QR generation, scans, device binding, payment attempts, outcomes, cancellations, and expirations with staff/user IDs and originating IPs. Enforce role-based permissions for generating and canceling sessions. Minimize PHI exposure (no PHI in URLs, tokens, or logs) and encrypt data in transit and at rest. Provide configurable retention, exportable audit reports, and alerts for anomalous activity (e.g., repeated token reuse attempts). Ensure BAAs are honored and policies align with HIPAA and organizational compliance.

Acceptance Criteria
Admin Configuration and Kiosk Mode
"As an administrator, I want to configure how Chairside QR operates and enable a secure kiosk mode so that the feature fits our workflow and stays secure."
Description

Add admin settings to control QR expiration, allowed payment methods and wallets, tipping, partial payments, localization, and branding. Implement clinic tablet kiosk mode with guided flow, app/pinned-browser locking guidance, inactivity timeout, automatic session cleanup, and optional device registration. Configure default receipt delivery (SMS/email) and staff permissions for QR features. Provide a lightweight dashboard for monitoring active sessions and recent payments.

Acceptance Criteria

Product Ideas

Innovative concepts that could enhance this product's value proposition.

Consent Lockbox

A tamper-proof consent ledger tracking opt-in/out by channel, language, and timestamp; templates auto-check consent before sending, lowering TCPA risk and carrier blocks.

Idea

No-Show Radar

Predicts appointment no-show risk from history and channel response; triggers earlier outreach, voice fallbacks, or deposits for high-risk slots to protect chair time.

Idea

Family Bundle Sync

Automatically groups family members, coordinates sibling appointments, and sends one parent-friendly message to confirm or reschedule everyone in a tap.

Idea

Smart Gap Filler

Monitors cancellations in real time and instantly texts best-fit waitlisted patients; confirms on reply and writes back to the calendar without staff clicks.

Idea

SecureLink OTP

Delivers PHI via expiring magic links gated by one-time passcodes; verifies identity before revealing prep instructions, forms, or X-rays, reducing misdelivery risk.

Idea

BranchLab A/B Studio

Drag-and-drop experiments for message wording, timing, and channel branches; auto-allocates traffic, declares winners by cohort, and publishes improvements in one click.

Idea

Text-to-Pay Chairside

Sends PCI-compliant pay links inside reminders for deposits, co-pays, or balances; auto-posts to PMS and retries failed cards, cutting day-of no-shows.

Idea

Press Coverage

Imagined press coverage for this groundbreaking product concept.

Want More Amazing Product Ideas?

Subscribe to receive a fresh, AI-generated product idea in your inbox every day. It's completely free, and you might just discover your next big thing!

Product team collaborating

Transform ideas into products

Full.CX effortlessly brings product visions to life.

This product was entirely generated using our AI and advanced algorithms. When you upgrade, you'll gain access to detailed product requirements, user personas, and feature specifications just like what you see below.