adding support for adding a patient (still not functional)