Refactored out unnecessary split between patient and doctor controller and views.