← Connected Devices

FEAT-DEVICE-HUB

Device Hub

Device Hub is the module through which an organisation defines, grades, operates, and debugs every connector at its boundary — bench analysers, bridges to hospital and laboratory systems, ordering channels, partner networks. It is the product face of the Order Hub and the device management framework: a department-bindable module, enabled where the connectors physically are, that gathers the whole device-operations surface — the fleet, the edges, the wire traces, the specimen ranges — into one place with one access model. Sales label: Jengu Devices Integration.

Why this matters

The platform already moves orders and results across the organisation boundary — the Order Hub is deliberately faceless plumbing. What a hospital buys, however, is not plumbing; it is the ability to run its integrations: see the fleet, know which connector is live in which environment, trace what actually went over the wire when a result looks wrong, and hand an external integration partner a safe place to test without endangering production.

Without a module to own that story, device operations scatter across a generic Administration menu, visible to every org admin of every department whether or not that department operates a single device. Device Hub gives the story an owner: a module a customer organisation enables and binds to the departments that actually run connectors, exactly the way clinical modules bind to the departments that practise.

Two lenses, one store

Device Hub and a LIS module (Lab) are two lenses over the same FHIR resources — never two stores.

  • Device Hub is the transport lens: the connector fleet, the dispatch queue, the manual queue, held messages, wire traces, environments and grades, specimen ranges. It answers "is the boundary healthy, and what exactly crossed it?"
  • Lab is the business lens: accession, worklists, panel completeness, reporting. It answers "where is this sample in the laboratory process?"

Both read and write the organisation's ordering surface (order, measurement) owned by the Orders capability. Removing either module removes a view, never data.

What the module owns

The device-operations surface

Device Hub subsumes the device administration pages that previously floated in generic Administration:

  • Devices — the connector fleet: every managed connector, its driver, its binding, its state.
  • Edges — the edge appliances the connectors run on (edge fleet management).
  • Wire Traces — the captured byte-level I/O of every connector crossing, for integration debugging.
  • Specimen Ranges — the specimen-number ranges the intake seam verifies against (flag-gated with range verification).

Devices have physical locations; a location's fleet is managed by the department bound there. Binding the module to a department is what makes these pages appear for that department's users — unbound departments and customer organisations without the module see nothing. Cross-department and cross-location reporting is deliberately out of the module: that is a separate reporting story.

The Devices & Connectors view reads the way the fleet is organised: organisation node → placement → device — the customer organisation root first, Cloud before edges. Configuration affordances render only at the definition level; an inherited connector shows its enablement instead — a guarded toggle where this level's own flag decides (confirming the impact: the department and all its sub-departments), and a locked state naming the ancestor whose rule disabled it where deeper re-enablement is unrepresentable. Enablement changes are configuration changes: they commit to the organisation's configuration and take effect on the next sync pass.

Department binding, module mechanics

Device Hub attaches through the standard module integration contract: one a module description, one navigation contribution, department binding and enable/disable exactly as for any clinical module. There is nothing bespoke about how it appears and disappears — the module mechanics are the platform's, only the content is device operations.

Ownership, placement, enablement

Devices & connectors follow the physical and organisational structure. Every connector has a defining organisation — the customer organisation root or a department (the device's owner); the root always exists and may own connectors itself. Every connector has a placement: Cloud (implicitly available at every organisation node) or a specific Edge — an edge is nothing more than an extender of the cloud into a physical space. Each driver type declares where it may run (cloud, edge, or both), and a placement contradicting the declaration is rejected when the connector is defined — not discovered at runtime.

A connector defined at one level is usable in the whole subtree below and configurable only where defined. Sub-organisations hold an enablement flag, never a copy — and enablement is deny-only along the organisation path: a disable at any level excludes the entire subtree beneath it, and re-enabling deeper is unrepresentable. The routing that dispatches orders consults the same effective set, so a disabled connector simply stops being a candidate. Where a connector is inherited-disabled, the interface says so and by whose rule.

The dispatch dashboard

The module's operational heart is a live view over the ordering surface — never a parallel store. The Dispatch page shows the department's dispatch units by state: routable, dispatched and awaiting result, and the manual queue — orders whose catalogue entry declares a human decision or for which no serveable candidate exists, listed with enough context to hand to the right person (the workflow itself arrives with the task engine). Held partner messages surface here too, where a transport exposes held semantics. Every row links back to its business order where one exists — the transport lens keeps no business state.

The Connectors page tells the grading story per connector: the environment grade badge, what the connector does with each environment's orders (execute / emulate / forward / block), its personal data gate policy, the wing it constitutes, whether its operator is live, and whether a dry-run twin is registered.

Wings are emergent, not configured

A hub wing exists for a department because capable Devices exist there: dispatch because the fleet carries order-submitting or result-producing connectors, intake because an intake channel is live. There is nothing to switch on — defining the connector is what opens the wing, removing the last one is what closes it. The module shows each wing's state with the devices that constitute it. The organisation-level wing flags remain only as an emergency brake: incident response that stops a wing without touching device definitions.

Connector grading

An environment grade is a connector's identity, not a mode switch: one Device per grade, and the binding — endpoint, credentials, counterpart instance — is the environment. A physical analyser usually serves test through an emulated twin row rather than a second physical binding. Definition-time validation rejects grade/endpoint contradictions, so a test connector cannot quietly point at a production counterpart.

The integration cockpit

Developer access is a product feature, not a back door: a devhub:developer role composed of three forced guards. The environment wall is structural — the developer view is test and development only, and no parameter exists that widens it. The device scope comes from a per organisation assignment on the configuration plane naming the developer's connectors. Within that, the own-call filter shows traces whose principal is the developer or whose order the developer placed — wire-trace attribution is what makes a scheduler-thread dispatch still read as "my call". An external integration partner debugs their own connector self-service — against the same surfaces the hospital's own team uses, minus everything they must not touch, with identity-bearing gates redacting inline regardless.

Boundaries

  • The hub lifecycle, wings, environments, and personal data gates belong to the Order Hub; Device Hub operates them.
  • Drivers, codecs, and the crossing gates belong to the device management framework; Device Hub manages the fleet built on them.
  • Accession, worklists, and panel completeness belong to the LIS lens (Lab), above the hub.
  • Cross-department/cross-location device reporting is out of scope for the module.
What it rests on
0 / 11 passing 4 without a result yet
  • kept by its basis its basis has no result An operator sees an organisation's work as a list, most recently moved first, each piece showing where it stands, who asked for it, where it was done and how it ended, and can open any piece down to its parts. REQ-DHB-WORK-LISTED-AS-OPERATORS-NEED
    Based on 1 promise
    • not cited An application embedding the store lists a tenant's runs as a screen of work needs them, without its own HTTP surface: the roots alone or the children of one run, one run by its key, the one that moved last first, a page at a time with a cursor to the next. Each carries where it stands, when it was authored and when it last moved, the run it is part of, who asked for it, what each of its slots names, the place it was performed at, its outcome and its tally. Asked across the tenant's door, the same questions answer the same, from the same fields. REQ-DBO-PROC-A-RUN-READS-AS-A-SCREEN-NEEDS-IT
  • kept by its basis its basis has no result Whether a kind of work is handled automatically is a setting the organisation declares, and the setting nearest the work wins. Switching it off stops the next automatic pick-up and leaves work already under way alone. REQ-DHB-AUTOMATION-IS-SWITCHED-BY-SETTING
    Based on 1 promise
    • not cited Whether a step is automated here is declared configuration on the scope chain, most local winning, and it is read where a claim is taken — so switching it off stops the next automatic claim, leaves work already held alone, and says the same thing to an operator asking who would run the step as it does to the runner asking to take it. REQ-DBO-PROC-AUTOMATION-IS-A-DECLARED-SWITCH
  • kept by its basis its basis has no result A kind of work may say which cases automation may handle, decided once as each piece arrives, and the rest go to people. A rule that would need to know who the patient is gets refused when it is set up. REQ-DHB-AUTOMATION-ONLY-WHERE-ADMITTED
    Based on 1 promise
    • cited, no result A step may say when automation may take its task, as a condition over the task's inputs, and the store decides it once, when the task is authored: a task the condition does not admit is open to people alone. A condition the store cannot evaluate, or one that reads an element identifying a person — which deciding would mean unsealing — is refused when the step is declared, naming what stopped it. A step that says nothing is open to automation. REQ-DBO-PROC-AUTOMATION-TAKES-ONLY-WHAT-ITS-STEP-ADMITS
      Cited by: cloud.jengu.dbo.tenant.AStepSaysWhenAutomationMayTakeItTest#theConditionIsDecidedAsTheTaskIsAuthored, cloud.jengu.dbo.work.AnAutomationConditionIsCompiledWhenDeclaredTest#aComparisonDecidesFromTheInputs, cloud.jengu.dbo.work.AnAutomationConditionIsCompiledWhenDeclaredTest#anIdentifyingElementIsRefusedByName, cloud.jengu.dbo.work.AnAutomationConditionIsCompiledWhenDeclaredTest#whatCannotBeEvaluatedIsRefusedByName
  • kept by its basis its basis has no result Work no automation took goes to people and is counted per kind of work and per zone, so the manual backlog is a number rather than an impression. REQ-DHB-MANUAL-BACKLOG-IS-COUNTED
    Based on 1 promise
    • cited, no result Work no executor took is open only to people and counted per step and per zone. That number is the automation backlog stated as a fact rather than an opinion. REQ-DBO-PROC-FALL-THROUGH-IS-COUNTABLE
      Cited by: cloud.jengu.dbo.work.ExecutorResolutionTest#automationSwitchedOffFallsThrough
  • gap: not yet stated Every message on a device's wire is traced and can be read back. FEAT-GAP-5a913318
  • gap: not yet stated Specimen ranges are kept in one register. FEAT-GAP-886e5c4d
  • gap: not yet stated A placement that contradicts what its driver declares is refused when it is defined. FEAT-GAP-23017064
  • gap: not yet stated Enabling a connector only narrows down the organisation tree: disabled at one level, it is disabled everywhere below. FEAT-GAP-d4a8d83d
  • gap: not yet stated A test connector cannot point at a production counterpart. FEAT-GAP-80450f85
  • gap: not yet stated The developer cockpit is walled to test and development, filtered to the developer's own calls. FEAT-GAP-b70597a9
  • gap: not yet stated The Device Hub's pages appear only for departments it is bound to, and removing it removes a view, never data. FEAT-GAP-9c66d0dc