A simple patient management system for small scale clinics and hospitals