Clinical systems
EHR · Labs · Claims · Pharmacy
FHIR · HL7 · X12
Praxis sits across existing healthcare systems, continuously converts clinical data and events into an updated patient state, and emits reliable triggers for downstream clinical work.
System boundary
Praxis complements source systems; it does not replace the authoritative medical record.
EHR · Labs · Claims · Pharmacy
FHIR · HL7 · X12
Reports · Notes · Referrals · PDFs
C-CDA · Files · Attachments
Inbox · Messages · Email
APIs · Webhooks
Praxis boundary
Prioritized work · drafts · evidence
Tasks · approvals · escalation
EHR write-back · messages · orders
Master view
Convert fragmented clinical events into a current, source-backed patient state.
Detect meaningful changes and determine which patients and actions need attention.
Turn recommendations into durable, approved and trackable clinical workflows.
Use feedback, outcomes and evaluations to improve without changing clinical truth.
Deep dive 01 · Understand continuously
Source connectors
Push, pull, webhooks and scheduled backfills
Standard event envelope
A stable contract across every source
Immutable landing
Original payload to S3 before transformation
Operational path
Incremental · event-driven · seconds
Validate intake
Verify source, tenant, schema and access policy.
Resolve patient
Match identity; quarantine uncertain or conflicting matches.
Deduplicate
Use event ID, source version and content hashes for idempotency.
Route by type
Structured facts use deterministic parsers; documents use text extraction or OCR.
Normalize & validate
Map units and terminology while preserving confidence and provenance.
Update patient state
Write the current operational projection to PostgreSQL transactionally.
Publish change
An outbox emits PatientStateChanged and starts or signals Temporal.
Data intelligence path
Backfills · population compute · minutes / hours
Original source records, ingestion metadata and replay history.
Patient-linked, deduplicated clinical events and terminology mappings.
Longitudinal features, panel metrics and evaluation datasets.
Versioned feature update
Write decision-ready features to PostgreSQL, then emit PatientFeatureUpdated.
Structured route
Parse FHIR, HL7 and X12 records; normalize dates, units and terminology; avoid an LLM when the source already provides structured facts.
Document route
Parse born-digital files directly. Use Textract only for scanned pages, retain layout and confidence, and quarantine low-confidence extraction.
Unstructured evidence pipeline
Original documents remain immutable. Every searchable chunk is traceable to a document version, section and source location.
Create a document version and retain the immutable original.
Check binary, canonical-text and per-chunk hashes.
Use native text first; OCR only scanned pages while preserving layout.
Classify the document and identify pages, sections, tables and paragraphs.
Respect semantic boundaries with token limits and minimal overlap.
Reuse unchanged vectors; embed only new or modified chunks.
Test counts, metadata filters, exact search, HNSW retrieval and citations.
Switch the active version, then tombstone obsolete chunks.
Identity
tenant_id · patient_id · source_id · document_id
Citation
document_version · page · section_path · chunk_id
Reproducibility
parser · chunker · embedding model versions · hashes
State ownership
Source systems
Authoritative clinical record
S3 + Delta Lake
Immutable, replayable history
Aurora PostgreSQL
Current operational patient state
pgvector
Patient-scoped evidence retrieval
Temporal
Durable workflow progress—not clinical truth
Reference implementation
Connectors
FHIR · HL7 · X12 · APIs
Immediate events
EventBridge + SQS
Raw documents
Amazon S3
OCR
Amazon Textract
Heavy ETL
Databricks Lakeflow + Delta Lake
Operational state
Aurora PostgreSQL
Evidence search
pgvector + PostgreSQL full-text
Durable work
Temporal Cloud
At-least-once delivery with idempotent effects
Original evidence and provenance are never discarded
Structured data avoids unnecessary model calls
Uncertain identity or extraction is quarantined—not guessed
New document versions are validated before activation
Audit logs contain references and hashes, not raw PHI
Architecture principle
Preserve the source, compute incrementally, and never trigger clinical reasoning from data the system cannot identify, explain or replay.