Open senseibara opened 4 years ago
@senseibara here is what I'm trying to send from RapidPro
@(json(object(
"patient_id", text(results.patient_id),
"has_fever", text(results.has_fever),
"has_cough", text(results.has_cough),
"had_contact_with_covid", text(results.had_contact_with_covid),
"has_difficulty_breathing", text(results.has_difficulty_breathing),
"_meta", object(
"form", "patient_self_assessment_covid",
"from", text(trigger.params.patient.phone)
)
)))
Marked as not required as per our conversation @senseibara
We can just call the form
patient_self_covid_assessment
The "Phone Verification" JSON form looks like this in RapidPro
We'll want to create a form that has all the responses from our RapidPro flow. (See attached workflow, though this isn't confirmed yet). For example... our JSON form would have fields for the 4 questions in that flow.
https://docs.google.com/document/d/1dNDlCgY2UU9S4pJZoRIba6Aw-fXbd4kPIlMJ2WqV3PQ/edit?ts=5e7c2658#heading=h.4vdb72vpt37h Script : https://docs.google.com/spreadsheets/d/1PAIDGwBtQDNp7Mz6D3c8FEjdfRANFl8rEKrLi8YuoHs/edit#gid=59456459
cc @michaelkohn