Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 1891

Data value from previous Data element event

$
0
0

Hi, everyone.

I have a program with a single repeatable stage

I have a data element (test result) that contains an option set (Positive and Negative).

I intend to create a new event, but in this new event, the system should assume the value of the previous event.

Exercise done:

I created a program rule variable (“resultadoHIVprevious”) with the source type “Data element from the previous event”, and the Data Element “test result”.
I created another program rule variable (“resultadoHIVprevious”) with the source type “Data element from the newest event in the current program”, and the Data Element “test result”.
Program Rule:

Condition: #{resultadoHIVprevious} == true

Action
Assign value

Data Element to assign to : test result
Expression to evaluate and assign
#{resultadoHIVprevious}

But is not working.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1891

Trending Articles