Implementation of `log` and `exponent` function in Program Rules

Hi,

Following the discussion in DHIS2 Program Rule Mathematical Functions, addition of log and exponent functions to Program Rules expression make it possible to achieve calculations such WHO CVD risk score or CKD-EPI Creatinine Equation. For example, if patient score is above X (which requires log for calculation), hide DE Y.

Thanks!

1 Like

Hi team,

I am writing to follow-up on this since this is a blocking dependency in our project. It would be great to know whether implementation of these functions (e.g., power, log, etc.) will be on the roadmap or not.

Thanks in advance.

Thank you @malekpour for your attentive follow-up and clarification that this is important for your implementation. I’ve triaged the post and it could be considered; however, it depends on roadmap prioritizations whether it will be picked up or not (and when). May I ask if you have added the idea here: Jira?

Thanks!

1 Like

Hi @Gassim,

Many thanks for your update, no, I haven’t added to ideas in Jira, do I have access to do so?

1 Like

Hi @malekpour , this does seem like an important use case and feature!

The JIRA is open for anyone – you just need to make an account and add an “Idea” under “DHIS2 Roadmap” space.

Instructions on how to use our Roadmap discovery project on Jira are here

2 Likes

Hi @brian,

Thanks for your guidance, I just created the Idea under “DHIS2 Roadmap” at Jira

1 Like