attempt to make the add patient datepicker return the date
fixing merge issues