em-3 select cases by clinic_id, diagnosis