created the Visit entity