Medical-device safety