What happens when someone calls 999?

BBC Scotland follows a 999 call from the moment it is received by health service call handlers...