How the portal is built, how it exchanges data with EHRs, payers and processors, and the controls, testing and operations behind it.
Staff, admin and patient screens are one application. Example figures; synthetic data.
Pipelines with hooks; site rules plug in and upgrades keep flowing.
Outbox with backoff, a dead-letter lane and operator replay.
Automatic, after staff review, or off.
| Layer | What it does | Built with |
|---|---|---|
| Edge | TLS termination, HSTS, routing, sign-in rate limits | Reverse proxy |
| Web UI | Patient, kiosk, staff and admin routes in one app | React, Remix (server-rendered) |
| API | Workflows as pipelines; permissions; audit | .NET 10 |
| Workers | Scheduled jobs, outbox delivery, retries | .NET hosted services |
| Data | Records, settings, audit log; PHI columns encrypted | PostgreSQL 16 |
| Cache | Pipeline-level caching | Redis |
| Documents | Signed forms, consents and result PDFs | In-network PDF renderer |
| Uploads | Every file scanned before it is stored | Virus scanner, fail-closed |
Each feature area ships as a plugin with its own schema, pipelines and endpoints.
Hooks can add, filter or replace steps; results can be cached.
Site behaviour is switched on per setting, not forked.
One app, many workspaces: the staff arrivals board. Synthetic data; names hidden.
Patient routes: booking, served by the same app and API.
Results with the assistant: the private AI path in the UI.
| Data | Where it lives | Protection | Leaves the server |
|---|---|---|---|
| Demographics, visits | PostgreSQL | Role-scoped endpoints | To the EHR over HL7, after staff review |
| Member IDs, messages, form answers | Encrypted columns | Platform data-protection keys | Member ID to the clearinghouse |
| Card and ID photos | File storage | Scanned; location data removed | No |
| Card numbers | Not stored | Hosted fields; processor token | Processor only |
| Assistant prompts | Not stored as text | Identifiers replaced first | Private model gateway only |
| Texts and e-mails | Templates | Minimum-necessary lint | SMS and mail providers |
| Audit events | Append-only log | Who, patient, action, purpose | Export on request |
| Application logs | Log files | No patient details; 3–14 days | No |
Results on a phone.
Names, dates, record numbers, member IDs, phones, e-mail and addresses become placeholders.
Diagnoses, treatment instructions, unknown numbers and other people’s identifiers are replaced.
Crisis language brings up 911 and 988 without waiting for the model.
| Connection | What it carries | Standard / transport |
|---|---|---|
| EHR | ADT, SIU, ORU, MDM, DFT, ORM/OML | HL7 v2 over MLLP/TLS, SFTP or HTTPS |
| EHR APIs | Read, search, create, patch | FHIR R4 with SMART backend services |
| Payers | Eligibility, claim status, estimates, member card | Clearinghouse REST, OAuth 2.0 |
| Prior auth | Coverage requirements, documentation, submission | Da Vinci CRD, DTR, PAS |
| Claim files | Claims and remittances | X12 837 and 835, folder or SFTP watch |
| Payments | Card, card on file, ACH, pay links, plans | Hosted fields, gateway tokens |
| Messaging | Two-way SMS; e-mail | Twilio-compatible API; SMTP |
Prior authorization from the desk: needs action, at risk, pended and auto-approved.
Eligibility answers on the board: Verified or Needs review.
Payments on the gateway; card data tokenized by the processor.
| Safeguard | How the portal meets it |
|---|---|
| Access control | Role-scoped endpoints; proxy access by grant; unseen records answer “not found”; 15-min idle, 1-h tokens |
| Audit controls | Append-only PHI access log; sign-in, impersonation and settings audited separately |
| Integrity | Fail-closed virus scanning; SHA-256 hash of each signed consent |
| Authentication | 12+ character passwords, lockout, staff one-time code, link birth-date check, kiosk enrolment |
| Transmission | TLS 1.2+ with HSTS and a content-security policy; MLLP over TLS to the EHR |
The PHI access log with filters by patient, action, person, channel, outcome and kind.
Proxy access, logged.
Member IDs, messages, form answers, HL7 payloads and transcripts encrypted.
Texts and e-mails: first name, time, place, link.
Idle warning, then the screen, storage and camera clear.
| Autonomy level | What an agent may do |
|---|---|
| Off | Nothing |
| Shadow | Records what it would have done; changes nothing |
| Assist | Every change needs a person’s click |
| Autopilot | Only allow-listed actions, above a confidence threshold, under a dollar cap |
Checks enabled, suggestions made and acceptance rate across the AI checks.
Deterministic nurse protocols rank refills and callbacks, red flags first.
Safety rules for the voice agent, each kept as an automated eval.
Raising an agent’s autonomy is refused until its evals pass.
Coding, appeals and prior-auth submissions are never touchless; two approvers above a second threshold.
Every agent step, recommendation and decision is recorded.
| Setting | Choices | What it changes |
|---|---|---|
| Unverified coverage | Block · Warn · Flag staff | Whether check-in stops when coverage does not verify |
| EHR write-back | Auto · Staff review · Off | How corrections reach the record |
| Self-scheduling | Staff only · Request only · Self-schedule | How much patients may book |
| Quiet hours | Start and end, per patient | When non-urgent texts and calls wait |
| Kiosk | Idle warning and reset; lookup attempts | Privacy between patients |
| Cloud AI | Off by default | Whether any model outside the private gateway may be used |
| Staff MFA | On | One-time code for staff sign-in |
| View as patient | Roles; idle minutes | Who may open a read-only patient view |
Form rules: condition, form, the reason shown and an on/off switch.
Staff payment options on the same gateway.
Patient channels and quiet hours.
Every e-mail and text in English and Spanish, checked for values, diagnoses, birth dates, identifiers and amounts.
Enrol, rename, move or revoke lobby tablets; a revoked device is refused at once.
Stored encrypted and never shown in screens or logs.
Allowed roles and idle minutes are settings; each view is audited.
| Service | Role |
|---|---|
| Reverse proxy | TLS, HSTS, routing, rate limits; the only inbound entry point |
| Web UI | Server-rendered React app for every audience |
| API and workers | .NET 10 pipelines, scheduled jobs and the outbox |
| PostgreSQL 16 | Records, settings and the audit log |
| Redis | Cache |
| PDF renderer | Signed forms and results, with no route out |
| Virus scanner | Scans every upload before storage |
| SMS bridge | Twilio-compatible sending and signed inbound replies |
Clarity-hosted; your own environment as a proposed configuration.
Test environments run on synthetic data sets that apply and remove cleanly.
Health endpoints and integration events per connection.
The patient home, served by the same application as the staff screens.
| Signal | Where | What it tells you |
|---|---|---|
| Health endpoints | Each service | Whether the app and its dependencies are up |
| Integration events | Admin integrations page | Operation, mode, outcome and latency per connection; no PHI |
| Outbox | Messaging console | Pending, retried and dead-lettered messages, with replay |
| Audit log | Admin audit page | Who saw which record, when, and why |
| Application logs | Log files | Warnings and errors only, 3 to 14 days, no patient details |
The same build serves phones.
Patient, kiosk, staff and admin routes ship together in one web app and one API.
Connector modes, policies and secrets are configured per environment, not in code.
Named, versioned data sets of synthetic patients apply and remove cleanly.
58 features across access, forms, scheduling, records, messaging, AI, billing, revenue, front desk, telehealth and administration.
| Feature | How it works | Category | For |
|---|---|---|---|
Unified patient home | Responsive web UI; phone tab bar; one proxy-aware account. | Access | Patients |
Passwordless check-in links | Hashed random token; single-use, expiring; 5-try DOB lock. | Access | Patients |
Online pre-check-in | Four-step resumable session; status pushed to the board. | Access | Patients |
Insurance card capture | Upload virus-scanned (fail-closed); photo location removed. | Access | Patients |
Real-time eligibility | Provider-neutral layer; clearinghouse REST, OAuth 2.0, poll. | Access | Staff |
Lobby kiosk check-in | Enrolled devices only; 60 s wipe of screen, storage, camera. | Access | Patients |
Self-registration | Setting-gated; creates the account and linked patient. | Access | Patients |
English and Spanish | Per-patient language drives UI, templates and SMS parsing. | Access | Patients |
Smart forms | Rules on visit type, age, payer, recency; autosave. | Forms | Patients |
E-consent and signature | PDF rendered in-network; SHA-256 hash of the signed copy. | Forms | Patients |
Screeners with a safety net | Auto-scoring; risk answer pauses form, opens a care task. | Forms | Patients · Staff |
AI-assisted form import | Private-AI draft, staff review, publish as template. | Forms | Admins |
Self-scheduling | 5-minute slot holds; one booking per slot; next 3 openings. | Scheduling | Patients |
Manage appointments | ICS export; changes emit HL7 SIU scheduling messages. | Scheduling | Patients |
Waitlist auto-fill | 30-minute offer hold; reply Y accepts; manual “offer next”. | Scheduling | Staff |
Video-visit waiting room | Waiting-room flow; joins the video service you choose. | Scheduling | Patients |
Referrals | Codes, providers, linked visit and prior auth, status log. | Scheduling | Staff |
Staff calendar and worklist | Calendar reads the board feed; worklist from order messages. | Scheduling | Staff |
Results in plain language | Inbound ORU results; range flags; trends; PDF download. | Records | Patients |
Provider-held release | Release queue; notices carry no result content. | Records | Staff |
My health record and education | Chart snapshot shared by portal, staff and assistant. | Records | Patients |
Share with another provider | Hashed token, out-of-band code, per-view audit, revoke. | Records | Patients |
Family and proxy access | Proxy grants (full or visits and billing); viewing banner. | Records | Patients |
Secure messaging | Pooled inboxes; scanned attachments; crisis auto-reply. | Messaging | Patients · Staff |
Reminders and two-way texts | Twilio-compatible API; signed inbound webhook; STOP/HELP. | Messaging | Patients |
Surveys and recall outreach | Scheduled jobs; 1–5 SMS replies captured to analytics. | Messaging | Patients |
Website chat widget | Embed snippet; frame-ancestors allow-list; rate-limited. | Messaging | Patients |
Private AI assistant | Identifiers replaced before the model; output checks. | AI | Patients |
AI voice agent | Intent and name matching; masked transcripts; SIP/PBX. | AI | Staff |
The PHI access log: filters by patient, action, person, channel, outcome and kind; IP addresses stored as hashes.
Telehealth features are a module on the same platform, switched on per site.
| Feature | How it works | Category | For |
|---|---|---|---|
Nurse triage queues | Deterministic nurse protocols; shift summary. | AI | Staff |
Statements with claim status | Invoice lines by procedure code; hourly 276/277 refresh. | Billing | Patients |
Online payments and autopay | Client-side tokenization; minimum-necessary receipts. | Billing | Patients |
Payment plans | Scheduled instalments; remainder on the final payment. | Billing | Patients |
Cost estimates | From the latest 271 answer; Good Faith Estimate if self-pay. | Billing | Patients |
Price transparency | Anonymous endpoint; filters by type and facility. | Billing | Patients |
Virtual terminal | Staff card entry on the same gateway; channel tagging. | Billing | Staff |
Payment reconciliation | Deterministic match, then rule or AI proposals; 835 export. | Billing | Staff |
Prior authorization | Da Vinci CRD, DTR and PAS; pended requests re-polled. | Revenue | Staff |
Revenue-cycle agents | Off, Shadow, Assist, Autopilot; dollar caps; dual approval. | Revenue | Staff · Admins |
Claims and remit import | X12 837/835 readers; folder or SFTP watch; posting. | Revenue | Admins |
Arrivals board | Live board, status filters, patient side panel. | Front desk | Staff |
Needs-review triage | Nightly sweep; member ID, Medicare ID, name, DOB compare. | Front desk | Staff |
Walk-in registration | Five-step flow; record search; ADT^A04 on registration. | Front desk | Staff |
View as patient | Server-enforced read-only; idle and 8-hour limits; audited. | Front desk | Staff |
Clinical photo capture | In-browser camera; images held in memory until filed. | Front desk | Staff |
Telehealth intake | Question engine; disqualifier and risk rules; saved progress. | Telehealth | Patients |
Clinician visit queue | Required-actions gate (ID, labs, checklist); reassign. | Telehealth | Staff |
E-prescribing connector | OAuth connector; patient sync; signed SSO frame; webhook. | Telehealth | Staff |
Pharmacy routing | State and link routing; rendered script; fax queue. | Telehealth | Staff |
Subscriptions and auto-refill | Renewal jobs, price rules, failure handling, refill orders. | Telehealth | Patients |
Role-based access | Role-scoped endpoints; unseen records answer “not found”. | Security | Admins |
Strong sign-in and sessions | 12+ chars; 5-try lockout; staff MFA; 15-min idle; 1-h tokens. | Security | Staff · Admins |
PHI access log | Append-only: who, patient, action, channel, purpose, outcome. | Security | Admins |
Message templates | Lint blocks values, diagnoses, DOB, identifiers, amounts. | Admin | Admins |
Integrations console | Integration events: operation, mode, outcome, latency. | Admin | Admins |
HL7 v2 interface | ADT, SIU, ORU, MDM, DFT, ORM/OML over MLLP/TLS or SFTP. | Integration | Admins |
FHIR R4 connector | Read, search, create, patch; SMART backend services. | Integration | Admins |
Leadership analytics | Aggregates with CSV export (no patient data). | Admin | Staff |
Eligibility results land on the board as Verified or Needs review. Synthetic data; names hidden.
Visit types, roles, policies, systems.
Settings, form rules, templates.
EHR, clearinghouse, processor, SMS.
Synthetic data, end to end.
Monitor and tune.
NUnit test projects for the portal, coverage, workflows and revenue engine.
Playwright suites for patient, staff and admin journeys, including accessibility.
Named, versioned sets of synthetic patients that apply and remove cleanly.
Business rules replayed against scripted calls before any model change.
Mode, last activity and messages per connection, with no PHI.
Dead-letter lane and replay for every outbound message.
Watching the rollout: registration time and check-in channels. Example figures; synthetic data.
Voice agent monitoring: calls, AI answers, transfers. Example figures; synthetic data.
Access: no-shows and waitlist fills. Example figures; synthetic data.
The results page with the private assistant, and medications on a phone. Synthetic data.
HL7 v2 over MLLP/TLS or SFTP; FHIR R4 with SMART backend services.
TLS 1.2+ in transit; PHI columns encrypted at rest.
Container stack; Clarity-hosted or yours as a proposed configuration.
Forms
Plans
Proxy access
Booking
The HL7 console, an eligibility round trip, the audit log and the AI output checks.