Automated dispensing cabinets in clinical wards may contribute to improving safety by reducing the likelihood of medications not being available when needed. However, achieving this safety benefit is dependent on a 'back office' sociotechnical infrastructure that combines semi-automated processes with mindful, resilient work practices