- OpenMRS 1.11.7
- App to be extended: find-patient
- App Framework
- find-patient widget: I would like to extend it by adding an icon just as shown in the image below. The red arrow indicates where to place the icon onto the widget.
Am planning on using it in a custom module. I have seen it in ui-commons. I want to follow the open-closed principle.
What should I do to pull it off?
@wyclif @dkayiwa @maurya @ayeung @nyoman @k_joseph
I have not seen an extension point for that. You may need to either override the default find patient app or create a new one.
I doubt there is an extension point there, you might to request for it or override the page as @dkayiwa suggested
“I doubt there is an extension point there, you might to request for it submit a pull request to add one.”
Sounds good for me. I will make time this week to have this done.
@smuwanga those are extension points for the legacyui, not the new reference application ui. To reduce complexity, if i were you, i would first make it work in a fork of a reference application module. That way, you will get the full experience of what and how many extension points you would need for the full implementation. Finally, you would then create pull requests with the necessary extension points that you would have discovered along the way. The beauty in this is that even if deadlines come in, you at least have something fully working, from the end user’s perspective, as you later on deal with extension points.