Skip to main content
FHIR storage infrastructure

Clinical data, stored right.

FHIR R4 storage with automatic encryption, tenant isolation, and immutable audit trails. You write the app; we handle the infrastructure, compliance, and scale.

HIPAA BAA included on every paid plan.

// Store clinical data: encrypted, isolated, compliantconst { data: lab } = await clinik.labs.create({patientId: 'pt_7821',code: '58410-2',display: 'CBC Panel',status: 'final',conclusion: 'All values within normal range'});// Query with automatic tenant scopingconst { data: results, meta } =await clinik.labs.search({patientId: 'pt_7821',dateFrom: '2025-01-01'});

Encrypted + tenant-isolated

  • 99.9%

    Uptime SLA on Team

  • 62

    FHIR R4 resources

  • AES-256

    Encryption standard

Architecture

Storage built for clinical data

Encryption, isolation and auditing are part of the storage layer, not something you wire up yourself.

Encryption at every layer

AES-256 encryption at rest and TLS in transit. Every field of every resource is encrypted before it touches disk. Key rotation is automatic and transparent.

Tenant isolation

Every resource is tagged with your organization ID at the storage layer. Queries are automatically scoped, so data does not leak between tenants. Paid plans get their own isolated data store, and dedicated servers start at the Medium size.

Immutable audit trail

Every read, write, and delete is logged with resource context, timestamps, and API key metadata. Audit logs are immutable and accessible from your dashboard in real time.

FHIR R4 native

Data is stored as native FHIR R4 resources with full referential integrity. You send simplified JSON; our engine transforms, validates, and stores it as spec-compliant FHIR automatically.

Rich query engine

Search by patient, status, date range, code, and more. Cursor-based pagination for large result sets. Include linked resources in a single request with _revinclude.

Zero ops

No databases to provision, no schemas to migrate, no backups to schedule. We handle replication, failover, scaling, and patching. You focus on your application.

From your app to compliant storage

Every request flows through validation, transformation, encryption, and tenant isolation before reaching the data store.

  1. Step 1: Your app

    Send simplified JSON via the SDK or REST API. No FHIR knowledge needed.

  2. Step 2: Validation

    Zod schemas enforce field types, string lengths, and required fields. Invalid data is rejected instantly.

  3. Step 3: FHIR transform

    Our engine converts your payload to a spec-compliant FHIR R4 resource with tenant tags and references.

  4. Step 4: Encrypted store

    AES-256 encrypted, tenant-isolated, with automatic backups and an immutable audit log entry.

Bulk operations

Import and export at scale

Migrate millions of records with NDJSON bulk import. Export entire data sets for analytics, reporting, or compliance audits. Track job progress in real time from the dashboard.

  • NDJSON format for streaming large data sets
  • Async job tracking with status polling
  • Automatic validation and error reporting per record
  • Secure cloud storage for large exports
// Import 10,000 patients from NDJSONconst job = await clinik.bulk.import({resourceType: 'Patient',data: ndjsonStream});// Poll for completionconst status = await clinik.bulk.status(job.id);// { status: 'completed', imported: 10000, errors: 0 }

Bulk import complete

Test and live, fully separated

Test keys route to an isolated sandbox. Live keys route to production. Paid plans get an isolated production data store, on a dedicated server from the Medium size. No configuration needed.

Test environment

Shared sandbox with clk_test_* keys. Full API parity with production. Reset data anytime.

Live (shared)

Multi-tenant production store with clk_live_* keys. Tenant-isolated at the data layer. Free plan.

Live (production)

An isolated data store on paid plans, on a dedicated server from the Medium size. Your own compliance boundary.

Ready To Transform Healthcare?

Join developers who've downloaded the SDK 2,000+ times. Get a sandbox API key in minutes.