How to control just only one program for a person?

how to define a program with only one scheduling or event for a person/enity all life?

Hi 晓东 林,

It’s very easy, just two simple steps:

You create a tracked entity, create a program, and in the settings for the program, make sure you tick the box “Only enrol once (per tracked entity instance lifetime)”. This will make sure each person/entity can only be enrolled once in the program.

Within the program, you then create a single program stage, and in the settings for that program stage you leave the ‘repeatable’ tick box empty. This will mean that only one event can be created per enrolment for this program stage - in other words, once the user has created this event for a person/entity, it will not be possible to create another one.

Good luck with your project!

2 Likes

Thanks

1 Like