Skip to main content

Hydra Connect

Hydra Connect is TietAI's integration routing platform. It receives healthcare messages from any source — HL7 v2, FHIR, DICOM, X12 EDI, HTTP, MQTT — processes them through configurable channel pipelines, and delivers them to the right destination. It is the connectivity layer that feeds the Hydra Builder with real-time clinical data.


Architecture: Hub and Spoke

Hydra Connect uses a hub-and-spoke architecture:

Loading diagram…

Three core entities:

EntityWhat it is
HubCentral message router. Receives all inbound messages, applies routing rules, dispatches to spokes
SpokeA regional processing endpoint with a worker pool. Registers at runtime, sends heartbeats, can be deregistered
ChannelAn integration pipeline definition — source connector, transformations, destination connectors. Persisted in PostgreSQL

The hub itself is stateless — routing tables are in memory. Channels are the durable configuration layer.


Supported protocols

Inbound (sources)

ProtocolUse case
HL7 v2 MLLPReceive ADT, ORU, ORM, SIU messages from HIS, lab, and radiology systems
FHIR R4 RESTReceive FHIR resources and bundles from any FHIR-compliant system
HTTP/HTTPSReceive data via webhooks and REST APIs
MQTTReceive messages from IoT devices and wearable sensors
File watcherIngest files from local directories or object storage
DICOMwebReceive DICOM imaging studies and reports

Outbound (destinations)

ProtocolUse case
FHIR R4Write resources to any FHIR R4 server
HL7 v2 MLLPRoute messages to downstream HL7 systems
HTTP/HTTPSPOST data to external APIs and webhooks
X12 EDISend claims and administrative transactions
IDocIntegrate with SAP systems via IDoc format
DatabaseWrite to PostgreSQL, MySQL, or data lakes

Transformations

A channel applies transformations in sequence as a pipeline between the source and destination:

Loading diagram…

Channels can apply transformations in sequence between the source and destination:

TransformationWhat it does
HL7 → FHIRConverts HL7 v2 messages to FHIR R4 resources using segment mapping rules
FHIR → HL7Converts FHIR resources back to HL7 v2 for legacy systems
FHIR → IDocBridges FHIR clinical data to SAP IDoc format via SAP Integration Suite
X12 → FHIRTranslates X12 administrative transactions to FHIR
JSONPath / JMESPathExtracts, renames, or reshapes fields in JSON payloads
XSLTApplies XSLT stylesheets to XML messages
ValidateValidates FHIR resources against R4 profiles or HL7 conformance rules
AnonymizeStrips or pseudonymizes PHI fields for research or analytics destinations
EnrichAdds data from a reference source (e.g., lookup patient MRN from a master patient index)

Channels

A channel defines a complete integration pipeline: what comes in, what happens to it, and where it goes.

Creating a channel

  1. Go to Settings → Connect → Channels → New Channel
  2. Configure the Source connector — select the inbound protocol and its settings (MLLP port, FHIR endpoint URL, MQTT topic, etc.)
  3. Add Transformations — drag and drop transformation steps in order
  4. Configure the Destination connector — select where processed messages go
  5. Click Save and Deploy

The channel activates immediately. Inbound messages start flowing.

Channel states

StateMeaning
ActiveAccepting and processing messages
PausedListener active but messages queued, not processed
StoppedListener closed; messages rejected
ErrorProcessing failed; channel suspended pending review

Monitoring a channel

Go to Settings → Connect → Channels and click any channel to open its dashboard:

  • Message throughput — messages per minute, per hour, per day
  • Error rate — failed messages as a percentage of total
  • Latency — median and P99 processing time
  • Dead-letter queue — messages that failed all retries, available for replay or discard

Spokes

Spokes handle the actual processing work. Each spoke is a regional worker pool that can run on different infrastructure — a cloud region, an on-premise server, or an edge node inside a hospital network.

Using spoke routing

When creating or editing a channel, the Spoke field controls where processing happens:

  • Auto — The hub selects the spoke with the lowest load
  • Specific spoke — Pin the channel to a named spoke (use for data residency requirements or high-priority workloads)

Adding a spoke

Spokes register themselves with the hub at startup using the spoke registration API. Contact TietAI support to configure a new spoke in your deployment.


IoT and wearables ingestion

Hydra Connect includes an MQTT broker for ingesting data from IoT devices and wearable sensors directly, bypassing cloud APIs.

Use cases:

  • Hospital-grade bedside monitors streaming vitals
  • Medical-grade wearables transmitting to a local gateway
  • Custom IoT sensor networks in care facilities

Data received via MQTT is transformed to FHIR Observation resources using a configurable mapping and routed to the FHIR store. For consumer wearables (Fitbit, Garmin, Oura, WHOOP, Apple Health), see Wearables & Devices.


Security and compliance

  • All inbound MLLP connections are TLS-encrypted at rest and in transit
  • Messages containing PHI are processed under HIPAA Business Associate Agreement controls
  • Every message is logged to the audit trail with source, destination, timestamp, and transformation applied
  • GDPR-mode channels strip EU personal data fields before cross-border routing

Troubleshooting

Channel stuck in Error state

  1. Go to Settings → Connect → Channels → [Channel name]
  2. Open the Error log tab to see the failure reason
  3. Fix the underlying issue (misconfigured destination, expired credentials, etc.)
  4. Click Resume to restart processing

Messages arriving at MLLP listener but not flowing through

Check that:

  • The channel is in Active state
  • The spoke assigned to the channel is online (green dot in Settings → Connect → Spokes)
  • No transformation step is blocking on missing reference data

High latency on a channel

The spoke handling the channel may be overloaded. Go to Settings → Connect → Spokes and check the spoke's CPU and queue depth. Consider pinning high-priority channels to a dedicated spoke or increasing the spoke's worker pool size.