Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »

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 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.

Example

The output of this would be "55 - 56 - 54 - " and would continue to add

 

  • No labels