Interbox

Integration Engine for Modern Healthcare Solutions

Interbox

Orchestrate healthcare data with a durable, queue-driven runtime. Interbox turns HL7v2 into FHIR through mappings you own in TypeScript, delivering to Aidbox.

Solutions born from years of integration experience

Our deep experience with HL7v2, C-CDA, and X12 across major EHRs taught us where production pipelines break. Interbox builds those lessons into every feature.

Efficient FHIR delivery

Hash-based diffing deduplicates bundles and picks optimal write strategy per resource. Parallel writes scale throughput — Aidbox load stays minimal, partial updates keep data consistent.

Tailored pipelines

Wire built-in source, parser, and sender stages by config, then own the HL7v2 → FHIR mapping stage in TypeScript. The conversion logic is yours; the runtime is ours.

Terminology mapping

Map local lab codes, patient classes, and status values to LOINC, SNOMED, and FHIR ValueSets without leaving the workflow.

Operational visibility

Every message carries a live status — received, processed, sent, or flagged error or deferred. Inspect any message at each stage, filter by source and status, and watch throughput from the operations dashboard.

Developer workspace

Your Git repo plugs directly into the engine for a fast edit-and-reload loop. Use our TypeScript SDK and built-in AI assistance to build mappings and pipelines — you focus on the logic, we handle the runtime.

Nothing is ever dropped

Every error, message, and result stays in the queue until you resolve it. Retry or fix on your schedule — not under pressure.

The runtime that runs your mappings

Three stages chain through PostgreSQL-backed tables. The source and sender are built-ins; the mapper in the middle is the converter you wrote in your repo. A failed message never moves to a separate log — its row flips to error or deferred carrying the cause, ready to retry.

Inbound senders
Epic Cerner Meditech
1
source
@healthsamurai/interbox
Pluggable connector — MLLP, FTP, HTTP and more. Runs its bound parser and writes received rows to the inbound table.
hl7v2_in · status=received
2
Developer workspace
your repository
Mapping as code — your HL7v2 → FHIR converter lives in your Git repository. The stage claims received rows and runs your mappings to emit FHIR resources.
ingestion_queue · pending FHIR
3
sender
@healthsamurai/interbox
Built-in. Content-hashes each resource to pick the optimal write strategy — unchanged resources are skipped entirely — then sends the batch as one FHIR transaction Bundle. On success the row flips to sent.
Destination
Aidbox
optimized
Patient Encounter Observation

Any FHIR server that accepts transaction Bundles works — tuned for maximum throughput against Aidbox.

on failure
error — flagged for investigation, with the cause attached. The message waits right where it is — nothing is lost.
deferred — you've looked, and you're parking it to revisit once you know more about the cause or how to resolve it.

Work the queue on your schedule: fix the source or the mapping and retry, or defer until you have what you need.

High-load built-in ingestion worker

Built to solve three production-grade problems that decide whether your integration scales.

Throughput at scale

Multi-threaded ingestion — workers drain Postgres queues in parallel, stress-tested against million-row datasets.

Single-threaded ingestion that buckles under realistic message volume.

Data loss

Hash-based checks decide PUT vs PATCH vs skip — partial updates never clobber fields with nulls.

Blind PUT requests overwrite existing fields with nulls and lose data on every retry.

Redundant write load

Delivery step hashes each resource and skips writes when content is unchanged. Common reuse cases (Organizations, Practitioners, Coverages) never hit the wire — the FHIR server handles only real changes.

Every message rewrites Organizations, Practitioners, and Coverages even when nothing changed. Write volume scales with traffic, not with actual change.

Operations UI

A console for the people running it

Day-to-day work doesn't need a terminal. Switch screens to see traffic, failures, mappings, and the running repo.

Interbox ops Interbox / Dashboard live · 3 workers TV
Ingestion
24msg/s
+6%
Mapper
23msg/s
+5%
Sender → Aidbox
23msg/s
+4%
Error rate
0.4%
-0.1%
Throughput · 60s
403020100
-59s-44s-29s-14s-0s
inboundmappedsenterrors
Queue depths
received412
processed96
sent84.6k
error23
deferred11
active partition542 rows
Top error kinds · 24hView all
unmapped_code127
validation_error48
mapping_error31
prerequisite_missing19
aidbox_5xx6
System health
Postgres12/100 conns · 4.2 GB3ms
Aidboxmemorial.aidbox.app8ms
Enginethreads 3 (1·1·1) · up 6d 4h18% cpu
Mapping coverage152 unresolved94%
Workspacememorial/interbox-mappingsremote

Your repo is the deployment unit

A Git repo with src/pipelines/ and src/mappers/ plugs into the runtime. Push to main, pull it in, and the engine reloads — no image rebuilds for mapping changes.

your-org/hl7-pipeline · main
your-org/hl7-pipeline
├── src/
│   ├── index.ts                  # imports pipelines + mappers
│   ├── pipelines/
│   │   └── hl7-to-aidbox.ts      # .source().mapper().sender()
│   └── mappers/v2-to-fhir/
│       ├── segments/pid-patient.ts
│       ├── segments/pv1-encounter.ts
│       └── segments/obx-observation.ts
├── test/
└── package.json                  # "@healthsamurai/interbox"
Reload from your branch

Push to main, pull it in from the dashboard, and the engine reloads the workspace. No image rebuilds, no rollout choreography for mapping changes.

Code review, tests, version control

Mappers and pipeline topology live in TypeScript next to your unit tests. PRs, blame, rollbacks — the same workflow as the rest of your stack.

AI assistance, built in

Repo ships with agent skills and HL7v2 spec tooling — any agent with ACP support — embedded right in the operations console — generates segment converters and tests against your structure, with the spec one tool-call away.

Pricing

Simple, predictable licensing

Build for free in development. Go to production standalone, or at a lower rate alongside an Aidbox license.

Developer
Free for development
 

The full engine and SDK for building and testing — no PHI.

  • All built-in stages and your own mappers
  • Operations UI, AI assistant, hot-reload
  • Synthetic / non-PHI data only
With Aidbox
Best value
$1,200 / mo
or $12,000 / year

The same Interbox at a lower price when you buy it together with an Aidbox license.

  • Everything in Standalone
Standalone
$1,900 / mo
or $19,000 / year

Run Interbox in production against any FHIR server.

  • Everything in Developer
  • Production use with PHI
  • Any FHIR transaction-bundle server
Engagement & Team
Want us to build it with you?

Our engineers work alongside yours — converters for your message types, EHR wiring, operations handoff. You ship faster; your team owns it after.

Custom scope — pricing on request.
Questions about Interbox?
Tell us about your HL7v2 senders and your FHIR destination — we'll come back with a concrete shape for the work.
AddressAddress
Health Samurai Inc. 1891 N Gaffey St Ste O, San Pedro, CA 90731

By submitting the form you agree to Privacy Policy and Cookie Policy.