Hi all,
Would it be possible:
- to lock a repeatable program stage for further data entry after data has been entered a number of times? I want the program stage to lock automatically when the number of events reaches 7.
Thanks
Hi all,
Would it be possible:
Thanks
Hello Davuya,
The answer to your question is Yes. You can write a program rule to hide a program stage after data has been captured for that stage a number of times. For example;
The program rule expression:
V{event_count} = = 7
And the program rule action: ‘Hide program stage’
This will hide the program stage after data has been captured seven times for that program.
I hope our response is able to solve the issue you were facing.
With from the Dhistance Team.
DHISTANCE.com: The Easiest DHIS2 Setup system. Up and running in 5 minutes!
No technical knowledge needed! Great Support with Data Security/Confidentiality.
This program expression:
works if there is only one repeatable stage, but in my case I have multiple repeatable stages. And I would like to lock each repeatable program stage according to the number of visits made. Does this behavior has to do with the program rule variables?
Thanks again.