can't figure out bug that occurs after adding patient and trying to push new patientId into LocalDatabase's Patient table