While developing, it is useful to be able to reset the database (I mean user data, but I want to leave some resources, like organizations, questionnaires etc). What is the correct way to delete users/practitioners/patients in a way where it wont break the db with loose relationships etc? For example, "step 1: delete all projectMemberships (other than your account that you need to be able to login to medplum). Step 2...), or is there a function that does all this (something that resets db, but adds seed data to keep the things I want to keep)
Thanks!