how to create hospital management systems in python