Database for an hospital management system