CHT in-app Messaging Support

Hello Developers,
Curious to find out if CHT Supports In App Messaging.
I previously thought it does when I explored the messaging feature here app_settings.json – Community Health Toolkit

However, I noticed the messages I created appeared on the Reports Tab and NOT on the Messages Tab.(See the blue highlighted message below)

Goal - Need to send an ‘SMS’ kind of notification to the CHP App when a Supervisor Submits death report.

Please see attached screeenshot

"patient_reports": [
    {
      "form": "death_review",
      "silence_type": "",
      "silence_for": "",
      "fields": [],
      "validations": {},
      "messages": [
        {
          "event_type": "report_accepted",
          "bool_expr": "doc.fields.group_review.dead === 'no'",
          "message": "{{patient_name}}'s death has not been confirmed. Please continue providing services!",
          "recipient": "patient.parent.parent.contact.phone"
        }
      ]
    }
]

Does CHT Support In App Messaging that does not necessarily need delivering to phone numbers?

Does the CHP need to do something in the event they are notified of a death report? It seems like one approach would be to trigger a task for the CHP. :thinking:

Thanks for the quick reply @jkuester , No the CHP is not expected to do anything.
They just need to be informed a contact previously marked deceased is active.

:+1: I am still thinking that a task would be the most straightforward way to communicate this to the CHP. Specifically, you can have a contact task that, instead of launching a form, just redirects to the contact profile page.

Thanks @jkuester, let me explore this alternative.

1 Like