I have no idea how we could create fake neuropsychiatric (only) patients, but I can tell you how we are creating the data for the demo server.
If you are willing to take a look in docker + docker-compose, you have the demo server here:
The database in dbdump folder contains 500 (fake) patients' data.
On the readme file, there's the explanation on how to generate demo data, which is pretty much:
- Wait for app to start
- Inside Administration/Global System Properties, change referencedemodata.createDemoPatientsOnNextStartup to (let's say) 500
- Restart the application
- Go grab a coffee. Or go cook yourself a meal.
- Dump the database with the new demo data and profit.
As far as I understand it, https://github.com/openmrs/openmrs-module-referencedemodata is the module responsible for creating demo data.