Overview
In the case list screen it is often useful to display the history of a tracked value like patient weight or blood pressure. This can be done by following the Incrementing a counter trick, but using a string concatenation instead of an increment:
previous_weight_history
is set by the caseweight_history
Calculate Condition becomes something in the lines ofconcat(/anc/
. The final dash is a separator that ensures the evolution of the value can be easily read.previous_weight_history
, /anc/weight
, '-')
Example
The output of this would be "55 - 56 - 58 - " and would continue to track the additions.