Displaying Medications Given in the First Stage in the Follow-Up Form

Hello DHIS2 Community,

I am working on a tracker program where I need to display the medications given in the first stage during follow-up visits. My goal is to ensure that the medications recorded in the first stage are visible in subsequent follow-up forms for reference and continuity of care.

I have a few questions regarding this implementation:

  1. What is the best way to retrieve and display data from the first stage in later follow-up stages?
  2. Can program rules or scripts help in auto-populating this data dynamically?
  3. Are there any best practices or recommended approaches for handling this in DHIS2?

I would appreciate any guidance, examples, or documentation that could help achieve this functionality.

Thank you!

Hi @SanghArsha_PyakuRel

Yes, you can use program rule variables that will get the data from a previous stage. Check the source type descriptions: docs.dhis2.org - create_program_rule_variable