A system to help doctors manage their clinics