← Connected Healthcare

FEAT-ORDER-HUB

Order Hub

Every clinical order the organisation receives, fulfils, or delegates passes through one component: the Order Hub. Orders arrive from clinics, hospital systems and ordering channels, land in one place, and go out to analysers, partner labs and external systems. The hub carries and stores orders; it deliberately does not decide how the work is done, so the customer's existing laboratory system, or a Jengu module, can sit on top of the same store. Each direction can be switched on alone, so the same component can act as a way of connecting devices, a way of receiving orders, or both at once. And because the analysers exist once while laboratory systems come in test and live versions, one hub serves both in parallel — same devices, same partners, same routes.

Why this matters

A hospital laboratory sits between two crowds. On one side, everyone who orders work: its own wards, outside clinics, ordering networks, the hospital's own system. On the other, everyone who performs it: every model of analyser on the bench, every partner laboratory it sends work to. Connected one pair at a time, that is every orderer wired to every performer — each connection costing thousands to build and committing someone to maintain it forever, and each one tying the laboratory system's release cycle to device firmware and partner message formats.

The Order Hub replaces every pair with a single connection each. Every orderer connects once, to one standard surface. Every performer connects once, as a driver on the device management framework. The hub carries orders one way and results the other. The laboratory system — whichever one the hospital runs — also connects once, and stops being the place where connection code piles up.

The hub takes no side on which laboratory system a hospital runs, and that is deliberate. Hospitals replace that system rarely and painfully; they replace analysers and partners constantly. Keeping the connections in something that outlives it means replacing the laboratory system never touches the bench, and changing the bench never waits on a laboratory-system release.

The hub in one picture

Order Hub component view

Reading the picture: the teal ring is the device management framework — every byte in or out of the system crosses it, and every crossing is a privacy boundary gate with a declared policy (red). Inside the ring, the Order Hub is one store with a way in and a way out. The service tree sits outside the ring, in configuration, and decides where each order goes. The laboratory system is a seat rather than a fixture: it connects to the store through the same gate as any other outside participant — and that seat may equally be filled by a Jengu module, or left empty.

How it works — one store, a way in and a way out

The store is the platform ordering surface

The hub's centre is not a store of its own — it is the platform's Orders surface seen at the organisation boundary: FHIR ServiceRequest for orders and Observation for results, held in the organisation's FHIR storage. Every participant — ordering channel, analyser, partner laboratory, laboratory system — reads and writes these same resources. There is no hub-internal message format to integrate against; the ordering surface is the contract. The Orders capability owns the order model and its lifecycle; the hub owns getting orders across the organisation boundary in both directions. Orders reference entries in the hospital service catalog by the canonical code (LOINC in the lab domain); results come back coded the same way.

Orders live at two levels on that surface. The business order is the clinical ask as the orderer placed it — one requisition, possibly a panel. The dispatch unit is one piece of device work derived from it: one per catalogue entry per performer, linked back to its business order. The hub carries dispatch units only; how a panel expands into per-analyte units is catalogue knowledge that lives with the laboratory profile, and how member results assemble back into one panel result belongs to the business lens above the hub. The hub itself never learns what a panel is — which is exactly what keeps it domain-neutral. Existing single-analyte orders need no expansion step and flow exactly as before.

Every connection is a managed connector

An ordering channel and a bench analyser are the same kind of thing to the hub: a managed connector on the device management framework. That gives every connection — upward or downward — the same operational story: added by configuration rather than by project, operated and monitored remotely, audited uniformly. One team, one skill set, one fleet view covers the Medipost channel and the immunoassay bench alike.

Each connector speaks its counterpart's dialect outward and canonical codes inward, so the ordering surface stays clean of per-system vocabulary. And an ordering system always recognises its own order: the identifier it sent arrives back with the result, unchanged.

Routing by the service tree

The service tree is the organisation's offer: every orderable service, keyed by canonical code, with mappings and routing per entry. An entry is either fulfilled in-house (routed to a bench analyser or a department) or is a proxy service — visible in the organisation's catalogue, delegated to a partner organisation for fulfilment. The orderer cannot tell the difference: same order shape, same result path. The tree lives on the configuration plane, outside the hub, because it feeds more than ordering: billing, insurance, and reporting read the same tree.

Enough of a lifecycle to work alone, and it steps aside

With no laboratory system connected, the hub runs the order itself: accept it, route it by the tree, track its status, match the returning result, close it. That is deliberately the minimum needed to move work safely — it is not clinical judgement. When a laboratory system takes the seat, that system owns validation, worklists and reporting, and the hub's own handling steps aside. Connecting one replaces the default; it was never required for orders to move.

Orders coming in

Facing the people who order: a connection to the hospital's own system, an ordering network such as Medipost, an ordering portal. Each one:

  • receives orders in whatever format and vocabulary it speaks, translates them to the shared codes, and writes an order to the store;
  • crosses the privacy boundary on the way in, where identity is stripped or resolved — inside the hub a laboratory order carries a sample number and an order number, nothing more;
  • returns results to the orderer over the same channel, translated back, carrying the orderer's original order identifier.

Work going out

Facing the people and machines that do the work:

  • bench analysers — drivers speaking ASTM, HL7v2, serial, FTP, or REST, running at the edge next to the hardware and working through network outages;
  • partner labs — delegation channels (for example via Medipost) that carry a proxy-service order to another organisation and bring its result back;
  • outside systems — the hospital's existing laboratory system can itself be a destination, so an order arriving from a network can be handed straight on to it, unchanged.

Each order's destination comes from its entry in the service tree. Where a partner genuinely needs to know who the patient is, identity is attached as the order leaves — inside the certified connection, on the way past, audited, and never held in the hub. Analysers get no such allowance: traffic to the bench can never carry identity at all.

Each direction stands alone

Neither direction is a product edition; each is simply the set of connections configured in that direction for the customer. Configure only the incoming side, only the outgoing side, or both — the same deployed component serves very different products:

| Orders in | Work out | What the organisation gets | |---|---|---| | off | on | Device connections — the bench and partner connections beneath an existing laboratory system, which reads and writes the store | | on | off | Order gateway — external orderers reach the organisation's existing systems through one FHIR surface | | on | on | Integration hub — orders from any channel routed to any performer, with no Jengu laboratory system involved | | on | on, plus the seat filled | A complete laboratory — the hub plus something that runs the work: the customer's own laboratory system, or a Jengu module |

Because both directions use the same framework, store and tree, turning the second one on later is configuration rather than a project — the first one already paid for the machinery.

One bench, many environments

A hospital has one set of analysers and one set of partner connections — but never only one version of its laboratory system. There is the live one, its test copy, and sometimes a successor being built. When the connections live inside that system, the choice is bad either way: the non-live copies get no bench at all, or somebody maintains a second set of hardware. Because the connections live outside it here, one hub — same service tree, same connections, same routes — serves them all at once.

  • Which world you are in travels with your credentials. Every account is issued for exactly one of them: the live hospital system holds live credentials, the test system holds test credentials, developers get credentials that only ever simulate. A test system cannot place a live order — not because a rule forbids it, but because it has no way to. The environment travels with the order along the whole route, including partner delegation, and a result only ever returns to the environment its order came from.
  • A dry run costs no reagent. For development and testing, connections simulate only the last metre: receiving, translating, routing and every change of state happen for real, and only the conversation with the physical device is imitated. A vendor can test against the hospital's actual bench setup without using up a sample.
  • Real execution where wanted. What a connector does with each environment is configured per connector — emulate, execute on the real hardware (a verification bench, off-hours acceptance runs), forward to a partner's own test endpoint, or refuse. Unconfigured combinations are refused by default.
  • Sample numbers are registered, not hoped for. Laboratories run on pre-printed barcode rolls, each controlled by one system. The hub keeps the register: every printed range belongs to exactly one of them, two ranges that would collide are refused when they are registered rather than discovered later at the bench, and a sample number from outside any registered range is not accepted at all. Checking ranges is a hub setting like the others, with a management page covering the range lifecycle (active, exhausted, retired); organisations that want more can later take hub-managed ranges with printed stickers as a service.

For a vendor replacing a hospital's laboratory system, this is the strongest version of the promise that nothing bought now is thrown away: the new system is built and rehearsed against the very bench and partner network the old one runs on, and the switch-over becomes a change of credentials rather than a bench project. The same machinery extends to running a candidate system alongside the live one on the same orders, for comparison.

Privacy — one ring, one policy per crossing

There is exactly one way in or out of the system: a privacy boundary gate on the device framework ring. Gates differ only in declared policy — audit only, strip, resolve, enrich — and every crossing is wire-traced and audited regardless of policy. The interior of the ring, including the store and any Jengu-side brain, is pseudonymous: specimen ID and order ID, never patient identity. Gates whose policy touches identity require a certified membrane connector and redact identity from their wire traces; audit-only gates — the analyser drivers — carry no such burden, which keeps writing a new device driver lightweight.

A deployment without identity-bearing policies holds no patient data at all, which is what keeps the hub-only offerings outside GDPR patient-data scope and makes their data-protection review short.

What it rests on
0 / 18 passing 11 without a result yet
  • kept by its basis its basis has no result An order routed to a performer reaches that performer and no other, and waits for it while it is away. REQ-HUB-WORK-REACHES-ONLY-ITS-PERFORMER
    Based on 1 promise
    • cited, no result A host starting a run may name the one participant that may take it, by its client, its executor's name or both, as contact names a worker. Only that participant is offered the run and may claim it, whatever else holds the step; while it is away the run waits for it, through releases and returns, and its Task names it as the owner until it is taken. A run naming nobody is offered to every participant holding its step, as before. REQ-DBO-PROC-A-RUN-NAMES-WHO-MAY-TAKE-IT
      Cited by: cloud.jengu.dbo.fhir.element.ATaskSaysItsStatusOwnerAndWhoMayTakeItTest#aRunForOneParticipantIsOwnedByIt, cloud.jengu.dbo.work.ARunForOneParticipantIsTakenByThatOneAloneTest#aRunForNobodyIsAnybodys, cloud.jengu.dbo.work.ARunForOneParticipantIsTakenByThatOneAloneTest#aRunForOneIsOfferedToItAlone, cloud.jengu.dbo.work.ARunForOneParticipantIsTakenByThatOneAloneTest#aRunWaitsForTheOneItIsFor
  • kept by its basis its basis has no result A patient's identity is attached only on the way out to a partner, for a stated purpose, recorded, and never handed over. REQ-HUB-IDENTITY-ONLY-ON-THE-WAY-OUT
    Based on 1 promise
    • not cited Opening a sealed payload yields the carrier form, so a runner needs no vault to do its work. Putting the person back together is a further act, and it is performed at the tenant on the runner's behalf rather than by handing the vault over — everywhere, and not only where the runner is far away, because a reassembly the store did not perform is one the trail cannot answer for. It is refused without a stated purpose, as every identifying read is, refused for a document the run does not name, as every reach is, and recorded as a disclosure naming the run that occasioned it. The answer comes back sealed to the asker alone, because the plane it may cross holds nothing readable and reassembled identity is the last thing that should be the exception. REQ-DBO-PROC-IDENTITY-IS-REASSEMBLED-AT-THE-TENANT
  • kept by its basis its basis has no result Every hand-over of an order between organisations is recorded: who handed it to whom. REQ-HUB-EVERY-HAND-OVER-RECORDED
    Based on 1 promise
    • not cited Every hop leaves a travel entry about the task — who handed to whom — and a travel entry is not a reading: audit of the journey is structural, not per-integration, and it never says anybody looked at the content. REQ-DBO-WF-HOPS-AUDITED
  • kept by its basis its basis has no result An ordering system gets its own order identifier back unchanged. REQ-HUB-THE-ORDERERS-IDENTIFIER-COMES-BACK
    Based on 1 promise
    • not cited Every object has one internal id and any number of `{system, value}` identifiers, rebuilt from the payload on each write and searchable together. REQ-DBO-CORE-EXTERNAL-IDENTIFIERS
  • cited, no result An order goes to the edge whose device can do it — the orderer's choice where that device can, else the first device of the lab's offering that runs all of it — named by its tube's barcode; an order nothing can take goes nowhere and says why. REQ-HUB-AN-ORDER-GOES-WHERE-THE-LAB-CAN-DO-IT
    Cited by: cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#aPanelAsksForEachOfItsTestsAndATestForItself, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#anEdgesCopyNamesTheCloudsOrderItIs, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#anOrderGoesToTheEdgeOfTheFirstDeviceThatCanTakeIt, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#anOrderNamesItsTubeByTheBarcodeSoTheDeviceNeedsNothingToLookUp, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#anOrderNothingCanTakeGoesNowhereAndSaysWhy, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#anOrderSentIsStampedWithItsOfferingAndNamesNoDevice, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#theOrderersHintIsFollowedWhenThatDeviceCan, cloud.jengu.platform.catalogue.AnOrderGoesWhereTheLabOffersItsCodeTest#theOrderersHintIsReadFromTheOrder
  • cited, no result A laboratory chooses which of its devices perform each test it offers, in the order they are tried, as a reviewed configuration change; a partner's service named after them stays as it was. REQ-ZSC-A-LAB-CHOOSES-THE-DEVICES-THAT-PERFORM-EACH-TEST
    Cited by: cloud.jengu.platform.catalogue.ALabChoosesTheDevicesThatPerformEachTestTest#noDeviceAndNoPartnerLeavesNobodyToPerformIt, cloud.jengu.platform.catalogue.ALabChoosesTheDevicesThatPerformEachTestTest#theDevicesChosenGoFirstInTheirOrderAndAPartnersServiceStaysAfterThem
  • cited, no result A device a lab worker pauses takes no tubes until it is set to take them again: its tubes go to the next device that runs their tests, or wait for it, and the laboratory's setup does not change. REQ-HUB-A-DEVICE-PAUSED-AT-THE-BENCH-TAKES-NO-TUBES
    Cited by: cloud.jengu.platform.catalogue.TheRoutingPageShowsWhatTheBenchHoldsTest#aHeldTestAndAPausedDeviceAreShownWithTheActionsThatUndoThem, cloud.jengu.platform.catalogue.TheRoutingPageShowsWhatTheBenchHoldsTest#aTestTakingWorkOffersToHoldItAndOneWhoMayNotChangeTheBenchOnlySees, cloud.jengu.platform.lab.ADevicePausedAtTheBenchTakesNoTubesTest#aDeviceSwitchedOffCanBePausedBeforeItIsSwitchedOn, cloud.jengu.platform.lab.ADevicePausedAtTheBenchTakesNoTubesTest#aPauseSaysTheDeviceHowItStandsAndWho, cloud.jengu.platform.lab.ADevicePausedAtTheBenchTakesNoTubesTest#standbyIsPausedAndOnTakesTubes, cloud.jengu.platform.lab.ADevicePausedAtTheBenchTakesNoTubesTest#theBenchOffersAWorkerToPauseOrResumeAndOthersOnlyToSee
  • cited, no result A lab can stop taking a test for a while: its orders go to another lab that offers it, or wait for someone to send them elsewhere, until someone at the lab takes it again; its other tests, and the other labs, go on. REQ-HUB-A-LAB-THAT-STOPS-TAKING-A-TEST-IS-NOT-SENT-IT
    Cited by: cloud.jengu.platform.lab.ATestALabStoppedTakingIsNotSentItTest#aPauseGoesToTheEdgesWithTheLabsOwnDevicesAndTakingItAgainToo, cloud.jengu.platform.lab.ATestALabStoppedTakingIsNotSentItTest#anOrderOfAPausedTestWaitsForSomeoneAndTheLabsOtherTestsGoOn, cloud.jengu.platform.lab.ATestALabStoppedTakingIsNotSentItTest#oneOrderIsTakenHereAnywayByThoseWhoDecideWhileItsTestStaysPaused
  • cited, no result An order the lab cancelled is not sent to an analyser again, the analyser it went to stops waiting for it, and a result that still comes for it waits for a person instead of answering it. REQ-HUB-A-CANCELLED-ORDER-IS-NEITHER-SENT-NOR-ANSWERED
    Cited by: cloud.jengu.platform.lab.AnOrderTheLabCancelsEndsSayingWhoAndWhyTest#aCancelGoesToTheEdgesNamingTheOrderWhoAndWhy
  • cited, no result A lab worker sees, for each analyser, whether it takes tubes, what it did today and what moved to it and from it, each by test and by the barcode of its tube, and follows any of those tubes from there along its whole way. It names no patient. REQ-HUB-EACH-ANALYSER-SHOWS-WHAT-MOVED-TO-IT-AND-FROM-IT
    Cited by: cloud.jengu.platform.lab.EachAnalyserShowsWhatMovedToItAndFromItTest#aNameTypedAsASamplesIdAtTheAnalyserIsNeverDrawnWhereItsBarcodeWouldBe, cloud.jengu.platform.lab.EachAnalyserShowsWhatMovedToItAndFromItTest#anAnalyserNoConnectionIsKnownForSaysWhetherItTakesTubes, cloud.jengu.platform.lab.EachAnalyserShowsWhatMovedToItAndFromItTest#eachAnalyserOpensItsOwnPageWhereATubeOpensItsWholeWay
  • gap: not yet stated An order the laboratory offers but no device can take yet is kept until one can, however long that takes, and goes on by itself when one can. FEAT-GAP-2d4ed08d
  • cited, no result Each order's way can be followed step by step, like a parcel's, from the barcode of its tube or the order itself: taken in, held, handed on to a device, taken there, what the device said of it, verified and answered, each with when, where, by whom and why, in the cloud as at the edge it went through. REQ-HUB-AN-ORDERS-WAY-IS-FOLLOWED-STEP-BY-STEP
    Cited by: cloud.jengu.platform.lab.AnOrdersWayIsFollowedStepByStepTest#aRefusalKeepsItsReasonWhole, cloud.jengu.platform.lab.AnOrdersWayIsFollowedStepByStepTest#aStageReachedReadsAsTheStageAndWhy, cloud.jengu.platform.lab.AnOrdersWayIsFollowedStepByStepTest#eachActIsARowWithWhenWhereWhatWhoAndWhy, cloud.jengu.platform.lab.AnOrdersWayIsFollowedStepByStepTest#workEndedReadsAsHowItEndedAndWhy, cloud.jengu.platform.lab.EachAnalyserShowsWhatMovedToItAndFromItTest#aResultOnATubeNoLabSystemKnowsYetShowsAsWaitingForItsOrder, cloud.jengu.platform.lab.EachAnalyserShowsWhatMovedToItAndFromItTest#anOrdersWayBeginsAtTheLabSystemItCameFromAndEndsWithItsResultsGoingBack
    Based on 2 promises
    • not cited A step may be declared to last. A run of it is opened, not offered, for the one request its one slot names, and keyed by that request, so the request handed in again, or changed again, finds the same work. It is received when opened, held by nobody, offered to nobody and claimed by nobody: it is nobody's card. REQ-DBO-PROC-WORK-THAT-LASTS-IS-OPENED-FOR-ITS-REQUEST
    • not cited Who moved a place's work, when and why reaches its tenant with that work: each act said of a run the place hands home — taken, refused, a stage reached, ended — is listed at home under that run as the place recorded it, by whom, at the time it was said there and with what was said. REQ-DBO-SYNC-WHAT-WAS-SAID-OF-A-PLACES-WORK-GOES-HOME-WITH-IT
  • gap: not yet stated An ordering system is told each change in where its order stands, as far as it can show it. FEAT-GAP-981f3a41
  • gap: not yet stated Test, live and simulated environments are kept apart by their credentials, and a result returns only to the environment its order came from. FEAT-GAP-dc846181
  • gap: not yet stated A register of sample-number ranges refuses a range that collides and a number outside every range. FEAT-GAP-e3464f5a
  • gap: not yet stated Traffic to an analyser never carries a patient's identity. FEAT-GAP-0d8baedd
  • gap: not yet stated Either direction of the Order Hub runs on its own. FEAT-GAP-0e9989c2
  • gap: not yet stated The Order Hub runs a minimal order lifecycle where no laboratory system is connected. FEAT-GAP-599aafab