← Knowledge library

Facility administration

Device

A device in MANSOQ is a piece of equipment a facility owns and tracks — a ventilator, an infusion pump, a monitor, a camera. The record is the platform's durable answer to three questions: what equipment exists, where it sits right now, and…

3.1 · versioned documentation · 4 min read

A device in MANSOQ is a piece of equipment a facility owns and tracks — a ventilator, an infusion pump, a monitor, a camera. The record is the platform's durable answer to three questions: what equipment exists, where it sits right now, and which patient encounter it is supporting.

What it represents

In MANSOQ's FHIR-aligned model, a device maps to the Device resource. It holds the things you'd find on an asset register — names and identifiers, manufacturer and model, serial and lot numbers, manufacture and expiry dates — alongside the live picture of where the device is and what it is doing.

A device is the instrument, not a reading from it. The values a monitor produces are stored as observations on an encounter; the device record tracks the instrument itself across every location and patient it touches over its working life. One device, many encounters — the record is what keeps that history coherent.

Status

A device carries two status dimensions that move independently, so it can be in service yet temporarily out of action.

Operational status says whether the device is in service:

Availability status describes its physical condition:

Keeping these separate means a working device that has gone missing reads as active but lost — accurate, rather than forcing a single status to mean two things.

How it connects

A device moves through a facility, and MANSOQ records that journey as history rather than overwriting it:

Because placements and encounter links are kept as history, you can always answer "where was this last week?" or "which patients did it serve?" — not just where it is now.

Types

A device can carry an optional type that connects it to a registered plugin for behaviour beyond plain inventory tracking — the bundled example is a camera. The type is chosen at creation and cannot change afterward; deployments register their own through the device-type registry. A device with no type is still fully tracked; it simply has no specialised behaviour attached.

Permissions

Access to devices is governed by facility-scoped permissions.

Permission Description System Roles
can_manage_devices Create devices, and update, delete, relocate, service, or change the managing organization of existing ones Staff, Admin, Facility Admin, Pharmacist
can_list_devices View devices registered to a facility and their location, encounter, and service history Staff, Admin, Doctor, Nurse, Facility Admin, Pharmacist
can_manage_device_associations_to_encounters Attach a device to or detach it from a patient encounter Staff, Admin, Doctor, Nurse, Facility Admin
can_write_encounter Also required on the target encounter when attaching a device to it Admin, Doctor, Nurse, Facility Admin
can_write_facility_locations Also required on the target location when placing a device there Facility Admin, Admin, Staff
can_manage_facility_organization Also required on the organization when setting or clearing a device's managing organization Facility Admin, Administrator

Roles are granted through facility and organization memberships, and they cascade down the organization tree — a user's access to a device follows from the managing organization it sits under.

Related

FHIR reference

MANSOQ's device aligns with the FHIR Device resource, which represents a manufactured item used in delivering healthcare. MANSOQ extends it with location and encounter history so equipment can be traced across its working life.

Source evidence

References are pinned to the private MANSOQ source repository. Repository access is required to open these links.