I want to track children’s age (in months) in each visit (six visits). As the age value will change over time, I am thinking of configuring age as a data element and assign to each stage (each visit). I was wondering if you could kindly help advice on this.
Configuring age as an attribute will not enable me to track it.
Do you want to automatically populate the data element in each stage? If so, you could look at populating the data element based on the age attribute (age at enrollment) + days between the events?
Tagging @dhis2-tracker, maybe they have some additional suggestions on how this could be potentially be configured.
Thank you for your help. From a program rule I was to calculate age in months (a data element) from date of birth (attribute), using d2:monthsBetween(A{DOB},V{current_date}). I then assigned the calculated value to the data element called as shows the picture below.
Two more questions:
1.If I were to use V{even_date} to freeze the age for each event, How would I achieve that?
2. Will I be able to view the different ages from all visits in the reports.