We have a facility that would like to analyze data stored in the As needed field from the medication tab using Bahmni-Mart/Metabase. However, it seems like this data is not included in the analytics database that Bahmni-Mart creates.
Is there a way to add this field to the analytics database? And could it be done through the bahmni-mart.json file?
I am not fully conversant with bahmni-mart code. I think, this is what is happening:
I used the openmrs data model browser - and it seems you want the as_needed field from drug_order table, to be stored in the mart table. Is this understanding correct?
Hello @krisr,
as @gsluthra suggested
changing drugOrder.sql is one option which would require re-building the mart rpm or making it as custom job which wouldn’t require re-bundling the mart.