@raff Thank you let me try it and get back to you with feedback - this would be totally awesome!!!
@raff Another question - how can I change the date format for the data displayed - currently it is yyyy-mm-dd which is the MySQL format, but different from what is used across the UI - e.g. leveraging the global property uiframework.formatter.dateFormat
@ssmusoke, it needs to be ticketed. Currently, it’s hardcoded at https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/webapp/resources/scripts/fragments/dashboardwidgets/visitbyencountertype/visitbyencountertype.html#L3, but it can be easily extracted into a config of a widget, which could be set to default from uiframework.formatter.dateFormat gp.
@raff ping did you ever get a chance to look into this? if you do one I can complete the rest
@raff ping again now that you have successfully released 2.0.5
@ssmusoke, it’s on my TODO for Monday.
@raff ping in case you were able to get to this
@ssmusoke, fixed.
@raff I would like to get a sense of what it would take to be able to add dashboard widgets to other modules other than coreapps - starting point would be if they are based on the dashboard widgets. I have a workflow that would allow for use of this feature hence providing a testing platform.
Created https://issues.openmrs.org/browse/RA-1359 for this
@raff I have been using the Recent Visits widget and it seems to show encounters that have been voided.
Created https://issues.openmrs.org/browse/RA-1371 (so far I only see encounters but I am not sure about the obs)
@darius I have looked into this feature and it seems to only apply to extensions.
Any ideas of how I can make it work for apps like the widgets like https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/resources/apps/dashboardWidgets_app.json
UPDATE: On further investigation, I see that the require attribute is set for Extension class not ExtensionPoints - however the difference is not clear to me
@raff need your assistance again for dealing with coded and date based obs at https://issues.openmrs.org/browse/RA-1372
@raff I wanted to ask if you have any bandwith to help work on https://issues.openmrs.org/browse/RA-1359 which will enable the dashboard widgets to be created in modules other than coreapps.
I do! I’ll pick it tomorrow or Friday.
We wrote some Non Communicable Disease (NCD) patient summary at: https://github.com/jembi/openmrs-module-msfcore/pull/40/files Patient Summary - John.pdf (208.7 KB)