Technical Specification — v1.0

CloudNova Patient Portal

HIPAA-Compliant Scheduling & Portal Architecture

Architecture Overview

The platform follows a zero-trust, microservices architecture deployed on HIPAA-eligible AWS infrastructure (us-east-1 / us-west-2 multi-region). The presentation layer is a React 18 SPA served via CloudFront with WAF rules enforced. The API gateway (Kong) handles OAuth 2.0 / PKCE authentication before routing to domain services: Patient Service, Scheduling Service, Notification Service, and Audit Service — each containerized in ECS Fargate with individual IAM roles. All inter-service communication occurs over mTLS within a private VPC. PHI data is stored exclusively in RDS PostgreSQL (encrypted, Multi-AZ) and never written to application logs. An event bus (Amazon EventBridge) drives asynchronous workflows such as reminder dispatch and EHR sync, with dead-letter queues and exponential backoff ensuring delivery reliability.

Core Database Schema

Table Primary Key Key Columns Encryption Notes
patients patient_uuid mrn, dob, insurance_id, primary_provider_id PHI — AES-256 FHIR Patient resource mapped
appointments appt_uuid patient_id, provider_id, slot_start, slot_end, status, type_code Partial PHI Indexed on slot_start, provider_id
providers provider_uuid npi, specialty, availability_json, location_id Standard TLS NPI verified via NPPES API
audit_log log_uuid actor_id, action, resource_type, resource_id, ip_hash, timestamp Immutable / WORM 6-year retention, S3 Glacier
notifications notif_uuid appt_id, channel, status, scheduled_at, delivered_at Standard TLS SMS via Twilio, email via SES

Scheduling Workflow

1
Patient Auth
OAuth PKCE login, MFA enforced
›
2
Slot Query
Real-time provider availability via FHIR Slot
›
3
Book & Lock
Optimistic lock, 5-min hold, eligibility check
›
4
EHR Sync
FHIR Appointment written back to EHR
›
5
Notify
SMS + email confirmation, calendar ICS

Deployment Notes