[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
[OE-5127] added button undo the last ticket step for admin users
[OE-5252] replace "site" with "appointment type" for VC
[OE-5252] removed unnecessary line
[OE-5252] rename appointment_type to clinic_location
[OE-5242] merge