Completed Add Patient functionality