Hospital homework working!

Finally think I’ve understood the structure