Technically speaking, no, it is not true that the development of medieval European cities was marked by improvements in health and safety practices, since these practices tended not to arise until the Renaissance.
The Ottoman Empire might have created ethnic diversity because it was a bigger piece of land which included many ethnic diversities cause they contained Europe, Africa and Asia.