done part of 7, need to do some refactoring
did some more of part 7, need to consider how findappointmentowner and proposeswap behaviours work together and the order that they are called.
doing part 8, made lots of changes to the patient behaviours.