Hello
I Have some questions on Queueing of patients in Refapp
Is there a module that handles Queueing of patients (having ability to send patients from one point of care to another with assigned clinic providers).
I have not seen this happen in Refapp currently. Yet Its really necessary.
Is it possible to build it in Refapp
Here is a sample use case on this.
A patient walks in the health centre and is registered. Then sent to triage for Vitals. After Triage patient is sent to either doctor, Lab or Pharmacy. The place where this patient is sent to can also send this patient to any place with specific people to see or services to carry out in a given place.
@dkayiwa. I looked at Patient Lists and it could not provide what I envisioned for Patient Queueing. I will come up with a model then share it here. If possible include the data model in the OpenMRS Core.
@mksd This is Still work in progress. Thou the first commit of code is ready. When the Repo is created by @dkayiwa I will commit it for review and in the process People can contribute more.
I’m afraid a good old module with GSP pages and fragments will hit the wall at some point.
Because of all what’s happening between OpenMRS React Components and the move to micro frontends, I would really strongly suggest to embrace all this.
Your views should be living in a reusable UI library (such as OpenMRS React Components), and the whole thing should be packaged as an OWA. As for the backend, it should be RESTful.
If your UI development is not too far yet and that it’s possible to go for the above, please yes, I would advocate for it.
Yes it’s an obsolete standard but 1) it is SPA/micro-frontend friendly, meaning that developing through an OWA will not cause troubles down the line, there is a clear path to SPA and 2) GSP is completely obsolete.
I would put your UI components in OpenMRS React Components, if you do so, the place where you eventually bundle them for final delivery becomes much more of a detail, whether wrapped inside a GSP or bundled in an OWA.
Well This discussion seems to be Interesting. I will follow on from this. Let me put in some research to see how I transform what I have to be micro-front end friendly.