Automatic Program Stage enrollment

I have a use case where if a client is found positive in another stage, that client has to be enrolled to another stage automatically. Advise me how to implement this in DHIS2, I am running 2.40.

Thank you Team.

Hi @BernardMasache

Your best bet is to use a webhook and a program rule, the program rule will check for that value, activates the program stage notification which notifies the webhook, and then the webhook should respond with an API request to start that specific program stage.

If that’s too much, would you explain the use case further? Maybe we could request a feature that this becomes possible through program rules directly. (see ideas!)