Currently, due to some bug in the scripts that we ran, there are scenarios where individuals have there Baseline 2024 cancelled, now this is blocking the work on ground.
Tech tasks
To solve this we need to make an unplanned Baseline available for such cases, so update the encounter eligibilty check accordingly -
[x] Fetch Baseline non cancelled encounters
[x] It can be scheduled/completed but not cancelled ones for the current year (fetch year from today's date)
[x] If there exists any one such visit then Hide the unplanned visit
[x] Also, confirm that there is no unplanned visits available for exit cases
[x] From May 15th onwards, this rule should run for the current year
[x] Make sure any visit scheduling doesn't break after completion of an Unplanned Baseline
Motive
Currently, due to some bug in the scripts that we ran, there are scenarios where individuals have there Baseline 2024 cancelled, now this is blocking the work on ground.
Tech tasks
To solve this we need to make an unplanned Baseline available for such cases, so update the encounter eligibilty check accordingly -
[x] Fetch Baseline non cancelled encounters
[x] It can be scheduled/completed but not cancelled ones for the current year (fetch year from today's date)
[x] If there exists any one such visit then Hide the unplanned visit
[x] Also, confirm that there is no unplanned visits available for exit cases
[x] From May 15th onwards, this rule should run for the current year
[x] Make sure any visit scheduling doesn't break after completion of an Unplanned Baseline