← Connected Healthcare

FEAT-ORDERS

Orders

A clinician asks for something to be done for a patient — a lab panel, a follow-up televisit, an imaging study, a prescription dispatch, a referral. The platform models this as a first-class order surface, used uniformly across every clinical module that requests work and every module that performs it. The order is what makes the result come back to the right place, what lets the catalogue mean something operationally, what bridges the visit assistant's smart-action proposal and the lab module's worklist, what crosses customer organisations for cross-border referral. One ordering surface, every module reads and writes against it.

Why this matters

Clinical care is full of orders. A visit produces orders (book the follow-up, run the lab panel, send the prescription). A ward round produces orders (start the antibiotic, request the chest X-ray, refer to physiotherapy). An MDT produces orders (book the CT angiography, refer for surgical consultation). The hospital's operational throughput is the rate at which orders get raised, routed, fulfilled, and returned.

A platform where each module owns its own order surface fragments this. A lab order raised from the visit assistant doesn't naturally come back to the visit; the doctor has to manually go fetch it. An MDT decision to book imaging needs manual carbon-copy into the radiology module. A cross-border referral becomes per-module workflow plumbing rather than a platform feature. The customer pays the cost in clinician time, in delayed results, in dropped follow-ups.

The opposite design — one ordering surface that every clinical module reads from and writes to — keeps the flow continuous. A visit-assistant smart-action proposal becomes a platform-level order when the doctor accepts it. The lab module sees it on its worklist. The result, when it comes back, attaches to the order, which references the originating visit. The doctor sees the result in their patient timeline tomorrow morning without hunting.

The Orders component is that surface. It lives in the Shared Clinical Surface, reads from the Hospital service catalog, binds to the patient's record (identity held as the Master Patient Index describes), and is the one surface every clinical feature uses when it needs work done that another module (or another customer organisation, or an external partner) will perform.

What's in the box

One ordering surface across all modules

Every order — regardless of which module raised it or which module fulfils it — is a FHIR order on the platform. The visit assistant's "order this lab panel" becomes a orders; the ward round's "request the chest X-ray" becomes an order; the MDT's "book the CT angiography" becomes an order. Each carries the same shape: who requested it, who the patient is (pseudonymously), what catalogue item it references, what fulfilment is expected.

A new module shipping on the platform doesn't design its own ordering surface. It writes orders for outbound requests and watches orders for inbound work. The contract is one resource shape, one set of state transitions, one audit pattern.

Continuous flow from order to result

An order references the catalogue item being requested, the originating context (the visit, the round, the consultation), and the fulfilment target (which module, which department, which partner). When the fulfilling module produces a result, the result attaches to the order — which means it attaches to the originating context automatically.

The doctor who raised a lab order from a visit sees the result, when it lands, attached to that visit's record. They don't have to navigate from "results" to "visits" to "the relevant visit"; the platform did the join.

This is what makes the cross-module clinical workflow promise hold operationally: the order is the bridge between the requesting module and the fulfilling module, with the result flowing back along the same bridge.

Edge-bound order delegation

A customer organisation running an edge — a hospital with on-prem lab analysers managed by the edge — has orders that need to land on the edge for fulfilment. The platform supports edge-bound order delegation: a cloud-side orders for an edge-bound Device is routed to the edge, the edge's module fulfils it locally, the result syncs back when connectivity allows.

This is the order shape that lets the hybrid edge-cloud operation deliver clinical continuity: orders raised during network disruption queue at the edge, orders pre-routed before disruption execute locally, results catch up on reconnect. The device-facing transport itself — drivers, protocols, offline buffering at the bench — is the Order Hub's dispatch wing on the device management framework.

Cross-customer organisation orders (referrals)

A referral from a primary-care GP to a specialist in a different hospital is, structurally, an order: a request for a service that another customer organisation performs. The platform supports orders that cross between customers as a first-class shape, with the receiving customer organisation accepting the request, performing the work, and returning the result.

Identity crosses the boundary only as part of the referral itself — a step whose run names the receiving customer organisation and records what was disclosed (see Master Patient Index). The receiving customer organisation holds the patient under its own record; the patient appears there as a referenced patient, not a directly-attached one.

This is what makes the cross-zone referral user story (US-CROSS-REFERRAL) work as a normal platform feature rather than per-module integration code.

Partner-routed orders

A catalogue entry contributed by a partner-proxy bundle (a hospital booking a service that an external partner actually performs, e.g. Medipost-style lab outsourcing) is ordered through the same surface; the routing metadata on the catalogue entry tells dispatch which partner to send the order to.

The clinical requestor doesn't see the partner relationship in their workflow; they see "order this test", which routes transparently through the partner. The result, when it returns, attaches to the original order, and through it to the originating visit.

The transport — which channel carries the order to the partner, how vocabularies translate at the boundary, what identity may cross and through which gate — is the Order Hub's dispatch wing; this capability owns what the requestor experiences and the order's lifecycle.

Auditable order lifecycle

Every state transition on an order — created, accepted, in-progress, completed, cancelled, failed — emits an audit event. A regulator reviewing "how long do orders sit before fulfilment in this hospital?" asks one query against the audit feed. A patient asking "what was ordered for me?" gets a patient-readable summary through the portal sourced from one component.

Standards we lean on

  • HL7 FHIR order, work item, procedure record, result report — the resource shapes the order surface uses.
  • HL7 FHIR Workflow Module — the request / fulfilment patterns.
  • IHE LAB-1 / LAB-3 — laboratory order / result patterns the Lab module follows.
  • IHE XDR — cross-enterprise document interchange for orders that cross between customers (referrals).
  • HL7 FHIR Bulk Data Access — for a catalogue shared between customers
    • order synchronisation patterns.
  • ISO 27001:2022 Annex A.5.30 (ICT readiness for business continuity) — edge-bound order delegation is one of the A.5.30 mechanisms keeping clinical operations running through disruption.

What customers and operators experience

  • A clinician raises orders from any module's workflow surface — a visit, a ward round, a consilium — and sees the result come back to the same context without manual threading.
  • A lab manager sees orders arrive on the worklist with the context they were raised from (visit reference, ward bed reference, MDT case reference), so the lab can prioritise based on what's happening at the request side.
  • A radiology coordinator (when imaging ships) sees imaging requests from every contributing module as one worklist.
  • An IT manager has one ordering surface to monitor, one set of integration patterns to manage, one audit feed to query.
  • A patient sees their orders on the patient portal as one list — what was requested, by whom, with what status, with the result attached when it returns.
  • A DPO sees one component carrying order lifecycle audit, one boundary at which orders that cross between customers cross consent membranes, one workflow to verify when a regulator asks about cross-border data flow.

Limits and trade-offs

  • Orders depend on the catalogue. A clinical module cannot order an item that isn't in the Hospital service catalog; the proposer surfaces (visit assistant's smart actions, ward round's order drafts) are bounded by what the relevant departments have contributed. This is the right constraint — an order against a non-existent item is an error — but it requires the catalogue to be curated for the order surface to feel complete.
  • State transitions are governed at the platform layer. Modules can request transitions but the platform owns the allowed sequences. A module that wants a custom state machine for its order types either fits within the platform's set or proposes an extension; ad-hoc transitions are rejected.
  • Cross-customer organisation orders require organisation-to-customer organisation trust configuration. A GP referring to a specialist in another customer organisation requires the two customer organisations to have an established referral relationship at the platform-config level. This is not automatic; it is a deliberate per-pair setup with audit trail.
  • Edge-bound orders queue under network disruption. A cloud-side order targeting an edge-bound fulfiller during a network outage queues at the edge boundary and dispatches on reconnect. The customer's clinical workflow needs to understand this queueing for SLA design.
What it rests on
0 / 10 passing 6 without a result yet
  • kept by its basis its basis has no result Placing or changing the same order again never makes a second piece of work. REQ-ORD-AN-ORDER-IS-ONE-PIECE-OF-WORK
    Based on 1 promise
    • 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
  • kept by its basis its basis has no result Every order follows one lifecycle — received, accepted or rejected, in progress, then completed, failed or cancelled — and every change says who made it and why. REQ-ORD-ONE-LIFECYCLE-FOR-EVERY-ORDER
    Based on 2 promises
    • not cited Work that lasts reads as FHIR's fulfilment Task: its focus is the request it fulfils, it instantiates its step, its status goes from received through accepted or rejected and in progress to completed, failed or cancelled with the reason, its business status is the stage it has reached, it names no performer, and its parts are Tasks part of it. REQ-DBO-PROC-WORK-THAT-LASTS-READS-AS-A-FULFILMENT-TASK
    • not cited Work that lasts is accepted, or rejected and why, before it starts; is in progress once a run that is its part has started; reaches the stages its parts' results name, kept as its current stage; and ends completed, failed or cancelled, and why, by a part's result or by whoever has the right to act on it. Each is an act recorded under it, naming who and why. Work that is over is neither accepted nor moved, and a part's result that would move it is refused whole. REQ-DBO-PROC-WORK-THAT-LASTS-IS-MOVED-BY-ITS-PARTS
  • kept by its basis its basis has no result A result lands on its order whole and validated, traceable to the order it answers. REQ-ORD-A-RESULT-LANDS-ON-ITS-ORDER
    Based on 1 promise
    • cited, no result A step's result may carry records, and the tenant writes them: the participant that performed the step holds no records credential and is given none. They are written under the run, through the same path a transaction posted to the tenant takes — so the profile validates them, the identity rules hold for them and what identifies a person is sealed as for any other write — and all of one result lands or none of it does. Only the types the step's declaration says it writes are accepted. The run then names each version it produced, which is how the application that asked for the work learns which record it made. REQ-DBO-PROC-A-RESULT-IS-WRITTEN-BY-THE-TENANT
      Cited by: cloud.jengu.dbo.runner.http.AResultCrossesTheLaneWholeTest#aProvingLaneShowsTheResult, cloud.jengu.dbo.runner.http.AResultCrossesTheLaneWholeTest#aResultCrossesWhole, cloud.jengu.dbo.tenant.AResultWritesOnlyWhatItsStepDeclaresTest#aResultIsOneTransaction
  • 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 referral to another organisation is asked for at one's own door, refused with its reason where no shared zone permits it, and its outcome comes back to the referrer. REQ-ORD-A-REFERRAL-CROSSES-ONLY-WHERE-PERMITTED
    Based on 2 promises
    • not cited Work for another tenant is asked for at the asker's own step door, on an exchange a zone above it declares within a process it permits, by naming the tenant whose data it is. The run asked for records where it goes. Where the two share no zone, or a zone on the way does not permit the process, nothing is authored and the refusal says why; a request saying where the work came from or which run it answers is refused, because those are the store's to write, and a tenant's own step does not cross. REQ-DBO-ZONE-WORK-FOR-ANOTHER-TENANT-IS-ASKED-FOR-AT-ONES-OWN-DOOR
    • not cited An exchange says what its asker waits for: the records the owner shares, sealed to the asker's reader; how the owner's work ended, the asker's run ending the same way and why, with nothing sealed and no reader's key needed; or nothing, the asker's run completing once the work is authored at the owner. Whatever it waits for, an owner's run that fails or is cancelled ends the asker's run with that status and reason; an asker is never left open because the owner refused. REQ-DBO-ZONE-AN-ASKER-WAITS-FOR-WHAT-ITS-EXCHANGE-DECLARES
  • cited, no result An order handed to an edge completes when the edge returns its final report, never on an interim one. REQ-ORD-AN-ORDER-COMPLETES-ON-ITS-FINAL-REPORT
    Cited by: cloud.jengu.platform.catalogue.TheCloudCompletesItsOrderOnTheEdgesFinalReportTest#onlyAFinalReportCompletesTheOrder
  • gap: not yet stated A result appears in the visit or round its order came from. FEAT-GAP-54a724ad
  • gap: not yet stated An edge's results catch up after it reconnects. FEAT-GAP-16db4c10
  • gap: not yet stated A referral between two organisations needs trust set up between that pair first. FEAT-GAP-48694333
  • gap: not yet stated An order routed to a partner reads to the clinician like any other order. FEAT-GAP-5dcb4d39