I’m working on finding a suitable UI development approach in Bahmni. Basically I’ve to create a GUI which allows the users to make subscriptions on certain events (events related to patients). I’ve considered 2 approaches.
Writing a new UI module
Adding to the existing Bahmni front-end repository
Whether your code lands in Bahmni Apps or not, we will encourage that to componentize it. Whatever you bring should be as close as possible to reusable components.
In Angular (since that’s what Bahmni Apps is written in) this would mean a reusable directive supported by - yet again - a reusable Angular service layer.
Another possibility that is always available in Bahmni Apps is to ensure that whatever you bring in can be toggled on/off through the Bahmni Config. So not only it comes up as reusable components from the developer’s standpoint, but it can be enabled/disabled from the user standpoint.