Hello,
I have just started development of DHIS2, is it possible to create a data element with a value that is autogenerated? I am creating a program stage and a data element needs to be autogenerated.
Thanks,
Leon
Hello,
I have just started development of DHIS2, is it possible to create a data element with a value that is autogenerated? I am creating a program stage and a data element needs to be autogenerated.
Thanks,
Leon
Welcome to the community, and congratulations for starting your DHIS2 journey. You’re welcome to share about your use cases, stories, and challenges with the community.
Yes, data elements’ values can be auto-generated in programs using program rules. Here’s the docs about configuring program rules, click here.
You might also find this helpful (Learner's Guide to Program Rules - DHIS2 Documentation) while watching the video:
@Gassim this was very helpful thank you.
Thank you @LEON_LAVATSA! Please feel free to mark the post with the info as a solution, or feel free to share how you resolved the issue.
Thank you!