A monitor for the emergency psychiatric service chain