Moved patient details form to its own view