medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
438 stars 209 forks source link

Research community use of search #9365

Open mrjones-plip opened 3 weeks ago

mrjones-plip commented 3 weeks ago

Describe the issue We don't know how search is used, so we're not sure how hosting TCO efforts to reduce free text search might impact search.

Describe the improvement you'd like UXR team to decide best how to validate search use, but: We should reach out to App Services, program managers, 3rd party app devs and anyone else we think would help inform us of how search is used. Are there workflows that CHWs are trained on that use search? Are there deployments where reports tab is hidden so this search doesn't work?

Some info to inform our research is:

update from Care Teams

Excerpt from a slack thread:

which ones use it? (telemetry?)

Here are two posts re: search on Reports and Contacts pages. I just pulled some data based on the search:contacts:search and search:reports:search keys for a handful of projects. I can't guarantee that these keys only count freetext searches but I believe so. We can chat tomorrow about the details if you like.

how many hide it? (eg hide reports tab)

Also included in the same spreadsheet as above. Pretty much everyone has access to the Contacts Page, some users don't have access to Reports, but most do.

Worth noting that there's a difference between (a) being able to see the page at all, and (b) whether it shows up as a tab or in the hamburger menu. The data I pulled relates to being able to see the page at all

train on it?

Not sure.

Another excerpt from the same thread:

Looking at telemetry ,percentage of total CHWs is between 0.07% and 50% - search is very much being used!

Fields we're planning on indexing

Contacts

Reports:

Search results analysis

Care Teams Updates

mrjones-plip commented 3 weeks ago

@jkuester - can you fill out the fields section above? There were a lot less fields than I expected in Mokhtar's PR - so wanted to get a core eng to validate what I saw (and fill out reports section ;)

@ZiitheH - I'll look to do fill out the search results analysis section above - per our chat this will be stored in a private google doc as it will likely contain PII/PHI

jkuester commented 3 weeks ago

:+1: Still in the process of doing a deep dive into our current functionality and how search is being used programmatically. The output of this will be a list of fields that I believe should be indexed. I plan to complete this tomorrow and will followup on this issue with the list.

jkuester commented 3 weeks ago

Okay, see this comment: https://github.com/medic/cht-core/issues/9293#issuecomment-2307407027 for my proposed fields to index. TLDR would allow searching for contacts by name, DoB, phone, and short-code and searching for reports by short-code.