Connected Visit Detail Page with Python backend