Commit before adding a new patient to the database