Different Program stages, different org units

Hi all, I’m thinking of setting up a tracker program such that the program stages are filled/completed at different org unit levels.

Example:
Stage 1 - Should only be filled and accessible at State level
Stage 2 - Should only be filled and accessible at LGA level
Stage 3 - Should only be filled and accessible at Ward level

Is this possible on DHIS2?

@Gassim @Matthew_Boddie @Ulanbek. I’d really appreciate your help please.

Hi @Rae

First create then a group of users with 3 different roles according to the levels. And then hide respective stages by checking

  1. !d2:hasUserRole(‘State _ROLE_UID’) and action Hide State level Stage
  2. !d2:hasUserRole(‘LGA _ROLE_UID’) and action Hide LGA level Stage
  3. !d2:hasUserRole(‘Ward _ROLE_UID’) and action Hide Ward level Stage
    That’s it
3 Likes

@Ulanbek While that would limit the stages’ visibility (as would userGroups set to each programStage and distinct users for each), I don’t think it would prevent a user in a higher level to record an event in a stage at a lower level, as the access would trickle down and you can’t have (that I’m aware) individual OU access per programStage. Unless I’m missing something you’re describing?

1 Like

@Matthew_Boddie, your approach is good one, unless @Rae has something else to do in those stages. I have as much information as you :slight_smile:
Therefore just provided general direction

@Ulanbek thank you so much for your helpful response. I’ll implement it and let you know how it goes.

@Matthew_Boddie thank you for your response. I understand your angle on the limitation of the suggestion. Is there a possible way around that?