I saw this.
It is the indications of this book that I followed to have the module basicexample. I was expecting to have Departement.java etc… by running the command mvn openmrs-sdk: create-project.
So mvn openmrs-sdk: create-project gives us the basic structure for modules, and http://devmanual.openmrs.org/en/Case_study/yourFirstModule.html an example of modification…
When i execute this command mvn openmrs-sdk: create-project i have the basic module structure , when i upload this on openmrs i got the list of all users of the system ,I thought replacing User by patient for example instead of having import.org.openmrs.User, I had import org.openmrs.Patient;
instead of having
UserService, i had PatientService. I thought it was going to work and give me the list of patients