Hello community …
Could it be possible to navigate back to the patient profile by clicking on the patient name in the messages tab as seen below
just like how its done on the patient name from the reports tab below
Hello community …
Could it be possible to navigate back to the patient profile by clicking on the patient name in the messages tab as seen below
just like how its done on the patient name from the reports tab below
Hi @cliff!
I believe this is already implemented when there is a connection made between the message and the contact.
Can you share a sample of a message that doesn’t make this connection?
Aaah, thanks @diana for the clarification i think the solution is to upgrade to a more recent version of 4.x …
I am not so sure, I believe this was added years ago. I think it’s the structure of your messages that might not be sufficient to link to a contact.
Can you share one such message?
thanks @diana
Here is a sample message from a 3.17 version
{
"_id": "633b3505-71fd-4bb3-bdbc-77f918ea9fd5",
"_rev": "1-57e273f1d78965354981a3d5a909f930",
"type": "data_record",
"from": "+18764646660",
"errors": [],
"tasks": [],
"fields": {},
"reported_date": 1724174209235,
"sms_message": {
"type": "sms_message",
"message": "AUTOMATED UPDATE from HealthJam: Client joined LUNCH message group",
"form": "AUTOMATED",
"from": "+18767646680",
"gateway_ref": "1d7bfb34-9204-4abc-8517-496d930dd517"
},
"contact": {
"_id": "e46be927-d413-40d3-b8ca-eeea269df899",
"parent": {
"_id": "745e0796-3bd3-4df5-aade-fd4f1d1840d2"
}
}
}
I copied your message into my application, but changed the contact._id
, so it is an existing contact and I got the link on the message.
Can you check whether your contact ( e46be927-d413-40d3-b8ca-eeea269df899
) actually exists?
thanks @diana …
i checked in the medic DB and there is no contact with e46be927-d413-40d3-b8ca-eeea269df899
I think that’s why
oh yeah,thanks @diana for the feedback