I wanted to know if there is an example module that is consuming OpenMRS REST resources. I know there are api and ui modules available but the ui modules generally use the direct API functions though the api modules expose REST resources.
I am looking for an example module which can be directed to people who are trying to consume OpenMRS REST resources.
If you’re looking to show people “the future of OpenMRS development” then you should point them to the Concept Dictionary OWA. (There will still be some growing pains with this approach; we haven’t completely found a way to let the distribution specify the global navigation.)
Otherwise the Appointment Scheduling UI module is an example of what you’re looking for. (It uses the UI Framework, but the bulk of the logic is via AngularJS calling REST web services.)