I am working on adding visit document functionality in the app. I was able to add https://github.com/mekomsolutions/openmrs-module-visitdocumentsui to the local instance and it was working fine. Can someone tell me how could I find the proper endpoints to where the files from the app should be sent and to fetch the previously uploaded file ?
Hi @defcon,
VDUI’s web API is basically this: VisitDocumentsController
.
It’s pretty simple: one URL to upload a visit document, and one URL to download a visit document.
There is a plan to refactor this module into Patient Attachments UI and while doing so make it RESTful. But that has not yet been prioritised yet. Another note about this topic here.