medic / cht-docs

Documentation site for the Community Health Tookit
https://docs.communityhealthtoolkit.org
14 stars 18 forks source link

"SMS messages states" page is missing information for state "received" #1186

Open kennsippell opened 1 year ago

kennsippell commented 1 year ago

In reference to docs page https://docs.communityhealthtoolkit.org/apps/guides/messaging/sms-states/

would you all add a definition for received to the SMS message states section that clarifies what it’s measuring?

https://forum.communityhealthtoolkit.org/t/time-lags-between-text-it-and-cht/2963/5

dianabarsan commented 1 year ago

Thanks for adding this @kennsippell !

I think that section refers to outgoing messages states. These are useful because tracking the state of a message that the CHT is responsible for sending is important. Incoming messages don't have states - the CHT either knows about it (received) or not (there is no record, therefore nothing to add a status to).

I think it would be helpful to clarify that the SMS States section refers to outgoing messages, and that incoming messages don't have states. The UI will display "received" and the date will be based on the timestamp of record creation - i.e. when the record actually was created in the CHT.