Describe the Bug
We recently migrated to cht-core v3.7.1 in Uganda and we have noted that the UHC mode is not working for supervisors as it did in the previous v3.6.x which we were running.
The doc on setting up UHC mode permissions here Universal Health Coverage (UHC) mode | Community Health Toolkit does make a point to note that it is usually for CHWs.
However, by setting up permissions like below;
"can_view_last_visited_date": [ "district_admin", "branch_manager" ]
and also specifying the
visited_contact_uuid within the chp_visit form, we were able to have this visited date/count metric tracked whenever the supervisor conducted a chp visit on a CHW Area.
With the same configuration, the visited date/count metric is not visible in v3.7.1
How To Reproduce The Issue
- Configure the UHC mode permissions on the app_settings and the chp_visit form
- Push the settings and forms to an instance running on cht-core v3.7.x
- Log in as a supervisor
- Submit a chp_visit form
The visited count and date should be displayed on the CHW Area
This is a screenshot of a supervisor who has just submitted a chp_visit for on v3.6.x
Visited date updated to today, count = 1
Below, the same supervisor. A number of chp_visit forms submitted.
Note that, in the report, the
visited_contact_uuid is however being captured.
- Browser: Chrome
- Client platform: MacOS
- Version: 3.7.1