Live Healthcare Demo
Walkthrough of running the sample healthcare microservice with live SSE visualizer.
Auvis includes a built-in interactive healthcare demonstration stack (auvisDemo) to showcase real-time policy evaluation, HIPAA data governance, and live audit telemetry.
Architecture of the Demo Stack
Loading architecture diagram...
- Zero Client Code Changes: Client applications send standard HTTP requests to
http://localhost:8082/patients. No SDKs are installed in the client application. - Upstream Backend: The mock backend in
test-cmd/main.goreturns raw patient bundles containing SSNs, medical notes, emails, and diagnosis codes. - Auvis Gateway: Intercepts the traffic, strips SSNs, masks emails and phone numbers, pseudonymizes patient IDs, and records an audit event in
audit.jsonl. - Live Visualizer: Streams governance events in real-time over
/auvis/streamto display before-and-after payload diffs.
Running the Demo Step-by-Step
1. Start Upstream Server
BASH
cd test-cmd
go run main.go
# Listening on http://localhost:80002. Start Auvis Gateway
BASH
# In the repository root:
auvis dev
# Listening on http://localhost:80823. Send Requests as Different Roles
As a Doctor:
BASH
curl -s -H "X-User-Role: doctor" \
-H "X-User-ID: doc_301" \
http://localhost:8082/patients | jq .Doctor role receives medical records with SSNs removed, but clinical notes and diagnostic codes intact.
As an Analyst:
BASH
curl -s -H "X-User-Role: analyst" \
-H "X-User-ID: ana_102" \
http://localhost:8082/patients | jq .Analyst role receives pseudonymized patient IDs, masked emails, and clinical notes completely redacted.