Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A worker process would go through all apps nightly, looking for apps with studies that have schedules, and then for each of these studies, it would iterate through all participants in the study, calling the weekly adherence API endpoint for that participant to . This would generate and cache persist their adherence report. It can also generate adherence messages, if need be.

If that’s too much, we can set a flag on apps or studies to do this caching or not.

System Messaging APIs

We have had requirements to message both participants and study administrators over the years. For example, very early on we embedded a blog in an app for this purpose. Then we implemented support for remote push notifications and topics (rarely used). Instead in recent studies we have tried using local notifications based on scheduling information. Now we are talking about showing notifications to administrators about participants being out-of-adherence in an administrative UI. Because “notifications” is heavily overloaded for Bridge, I will call these “system messages.”

...