Mediloop
CLINICAL DEVICE CONNECTORS

Device Commands & Control

7 of 10

Connect clinical devices and professional peripherals through standards-based local, network and vendor-specific interfaces.

ReadCommandAcknowledgeSafety boundariesTimeoutsAudit
Command & control model
CapabilityExamplesImportant rule
Read / pollFetch current measurement, status, battery, availabilitySupported broadly and generally lower risk
Session controlOpen session, start stream, subscribe to eventsUse explicit lifecycle and timeout handling
Operational commandTrigger print, reset buffer, acknowledge alertRequire permission and auditable acknowledgment
Clinical controlChange therapy-related settingsOnly when explicitly supported, governed and validated
Safety principles
Not every device should expose remote commands.
Capabilities must be explicit and narrow, not assumed from transport access.
Commands need user, role and tenant context plus device acknowledgment.
Time-bound sessions and replay protection are strongly recommended.
Clinical safety
Therapy-affecting or patient-safety-sensitive commands require separate review, stronger controls and vendor-specific validation.
Command lifecycle
1
Authorize
Role, tenant and scope checks
2
Validate
Capability + payload schema
3
Send
Connector transmits command
4
Acknowledge
Device or vendor confirms
5
Handle timeout
Retry or fail safely
6
Audit
Persist trace of who did what
Illustrative command example
typescriptCopy
await mediloop.devices.sendCommand({
  connectorId: 'pump-connector-01',
  deviceId: 'pump-room12-bed2',
  command: 'acknowledge-alert',
  payload: { alertId: 'a-1289' },
  actor: { membershipId: 'mem_123', role: 'nurse' },
  correlationId: 'corr_8ac12',
});