function compareAppointmentsByCompletedDrugScreen($appointment1, $appointment2) { $completed1 = $appointment1['drug_screen_completed']; $completed2 = $appointment2['drug_screen_completed']; return compareBasic($completed1, $completed2); }
function compareAppointmentsByStatus($appointment1, $appointment2) { $status1 = $appointment1['pc_apptstatus']; $status2 = $appointment2['pc_apptstatus']; return compareBasic($status1, $status2); }
function compareAppointmentsByComment($appointment1, $appointment2) { $comment1 = $appointment1['pc_hometext']; $comment2 = $appointment2['pc_hometext']; return compareBasic($comment1, $comment2); }