What this page is for
These are the instructions for OpenMRS 1.6, OpenMRS 1.8.3 and OpenMRS 1.9.8. They cover how to delete all of the patient data from OpenMRS while keeping all of the forms, users, and settings that you've made (i.e. this is how to clear or delete all patient information but keeping everything else). It is also possible to do this by only exporting the tables that you want using mysqldump, but this is not covered here.
Documentation / How-To
To do this, you should log into your mysql database using a user that has delete privileges (best option is probably as an administrator).
...