Under the Emergency Workers (Scotland) Act 2005, doctors, nurses, midwives and ambulance workers are protected in any area of a hospital whenever they are on duty. These workers and anyone assisting them are also protected when they are responding to emergency situations, including in community health care settings.