SGH's auto system cuts pharmacy 'near misses'