added save to doctorIdMap