| Team / Role | Assigned Equipment Scopes | Maintenance & Work Order Privileges | Vendor Visibility Filter |
|---|---|---|---|
| ADMIN | Universal (All Hospital Assets) | Full CRUD, Work Orders, Custody Overrides, Global Reports | All Vendors (IT, BioMed, General) |
| MAINTENANCE_IT | Laptops, PCs, Servers, Switches, Printers | IT Work Orders, Specs Form Builder, Dispatch IT Hardware | Vendors with "IT" category |
| BIOMEDICAL | Ventilators, Monitors, Defibrillators, Pumps | Medical Device Calibrations, BioMed Repairs, Parts JSON | Vendors with "BIOMEDICAL" category |
| GENERAL | HVAC, Generators, Beds, Lighting, Facilities | Facility Work Orders, General Infrastructure Overhauls | Vendors with "GENERAL" category |
| END_USER (Clinical) | Custody-assigned equipment only | Open Ticket, Request Inspection, View Ticket Status (Read-Only) | None (Hidden from clinical staff) |
Time-based inspection to prevent failure. Overhauls, calibration, filter replacements.
Triggered by staff defect reports. Asset immediately flagged for triage and diagnosis.
Repaired by hospital engineers within facility workshop. Custody remains internal.
Sent out to manufacturer/supplier under official work order. Custody is legally transferred.
Technician opens asset view or defect ticket. Confirms device category, department, and serial number.
Detailed defect symptom log is written (e.g., "Motherboard failure", "Calibration drift").
Dropdown auto-filters suppliers based on matching asset department (IT, BioMed, General).
Physical unit dispatched. Custody switches to Supplier Company. Ticket status → Maintenance.
| Device Scope | Supplier Category | Example Vendors |
|---|---|---|
| IT Devices | ["IT"] |
Dell Enterprise, HP Service, Cisco Pro |
| BioMed Devices | ["BIOMEDICAL"] |
Siemens Healthineers, Philips Med, GE |
| Facilities | ["GENERAL"] |
Daikin HVAC, Schindler Elevators, Otis |
| Multi-Discipline | ["IT", "GENERAL"] |
Schneider Electric, Siemens Infra |
| Table | Column | New Value |
|---|---|---|
Assets |
Status |
Maintenance (Enum = 2) |
Assets |
CurrentCustody |
Supplier.CompanyName |
MaintenanceOrders |
Status |
SentToSupplier |
Tickets |
Status |
Maintenance |
When equipment is received from the supplier, custody MUST NOT stay with the vendor. The receiving officer chooses the target destination:
Asset.CurrentCustody = "Stock"Asset.AssignedUserId = NULLAsset.Status = InStockAsset.CurrentCustody = User.FullNameAsset.AssignedUserId = SelectedUserIdAsset.Status = InService| Entity | Attribute | Value on Return |
|---|---|---|
MaintenanceOrder |
ActualReturnDate |
DateTime.UtcNow |
MaintenanceOrder |
ItemsReplaced |
Structured JSON String |
MaintenanceOrder |
Status |
Completed |
Ticket (Linked) |
Status |
Resolved / Closed |
TicketComment |
Body |
Auto-logged return note + part list |
| Criteria | Pathway A: In-House | Pathway B: Supplier Overhaul |
|---|---|---|
| Scope | Filter swap, sensor zeroing, battery test | Internal motor rebuild, recalibration cert |
| Custody | Remains with Hospital / User | Transferred to Supplier Company |
| Status | Stays "In Service" | Switches to "Under Maintenance" |
| Parts Used | Hospital internal stock | Supplier items → ReplacedPartsJson |
| Certification | Signed by in-house engineer | Vendor certificate attached to Order |
Every maintenance operation creates an immutable historical event accessible via /Maintenance/Details/{id} and /Assets/Details/{id}: