...
Create the module portlet jsp
Module portlets are defined in the omod/src/main/webapp/portlets folder. In our example, the portlet would be named this.jsp. The code inside of a portlet shouldn't have to differ from a standard OpenMRS portlet, meaning that it looks exactly like a jsp (or part of a jsp).
Use the portlet in another jsp page
...