[OE-5131] refresh the referral data when editing an examination
[OE-5131] made updateTicketForEvent take an event rather than a ticket to reduce coupling
[OE-5131] put report generate code into the TicketQueueAssignment model