Unique ID in program stage

Hi @Gassim,

Thanks for your prompt response. We are using DHIS2 version

Do you know if there is a way to create unique ID (auto-increment) on one program stage data element?


I’m not sure exactly what do you mean by auto-increment but based on that I assume you have a repeated program stage and you want the data element to increment on each program stage? But then the question is why unique and increment at the same time?

For instance, it might be possible to create a program indicator that assigns the data element in the program stage a unique value which could be the V{program_stage_id} or even more unique which is the V{event_id} + V{event_count}. This later should be unique and will increment each time.

I hope this helps! :+1: