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

Overview

It is occasionally useful to display the username who generated a case in the case list.

Example

One example is: a nurse can receive referrals from multiple community health workers (CHWs). It would be useful for this nurse to know which CHW sent a particular referral case. Here is how to display the username:

  • In the form that acts upon (creates or updates) the case in question, add a hidden value in the form builder. You may call this hidden value whatever is appropriate.
  • In the calculate condition, paste the following: /data/meta/username
  • Save this hidden value to your case in the case management section
  • You may now add this case property to your case list or case details. It will display the username for the user who submitted the form for the case. 
  • No labels