You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


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 case
  • weight_history Calculate Condition becomes something in the lines of concat(/anc/previous_weight_history, /anc/weight, '-'). The final dash is a separator that ensures the evolution of the value can be easily read.


The output of this would be "55 - 56 - 58 - " and would continue to track the additions.


  • No labels