Well that seems to be our use case too.
I am focused for now on a MoH requirement to monthly produce a certain report, named ‘Register Logbook’.
This reports will ideally be sent by email at every reporting period, so no need for a UI yet.
Though the data asked has nothing particularly complex, there is a specific requirement on the output format.
For instance for Age:
| Patient ID | 0-28 days | 29 days-11 months | 1-4 years | 5-14 years | 15-24 | 25-49 | 50-64 | _> 65 |
This is not the patient’s Age that we want to display but rather answer ‘Yes’ to the correct age category.
The same is for patient’s gender:
| Man | Women |
I believe this kind of output can not be produced by Bahmni Reports (?)
One last things is that we should be reporting the ‘Weight over Age’ and ‘Weight over Height’ values. Does Bahmni Reports allow to calculate fields?
I think we will use Bahmni Reports to produce other simpler reports, that are more flexible on their output style.
I am very confident in the ability of the OpenMRS Reporting module to produce anything I want. But I haven’t found any developer documentation so the learning curve is steep.
I am looking at some modules as example and that’s already very useful, but a little article about how the different elements articulate would be ideal.
For instance, looking at the pihmalawi there is a lot of classes to understand:
the DataSetDefinition, the DataSetEvaluator, the Converter, the DataDefinition, the DataEvaluator, the Renderer, the Library, the Report…
Any resource I might have missed? (I have watched @mseaton 's screencast and it’s great
, though it shows only the simplest part of the module.)