This is tested for v0.80. It hasn't yet been tested for the latest version of Bahmni. If you have feedback with regards to this script please do connect with us. Thanks!!
Steps
To make bahmni data anonymous first download all the files from:
Note, the scripts are only examples. You should revisit the scripts and modify them based on your context. For example, you should identify all possible PII information that you capture first up and subsequently anonymize through techniques such as masking, pseudonymization, generalization and data swapping.
Go inside vagrant box:
vagrant ssh;
Stop services:
sudo service openmrs stop;
sudo service bahmni-lab stop;
sudo service openerp stop;
Then goto the directory where you have downloaded all the files from the above mentioned link.
For example if you have kept it inside "bahmni" then you have to do: