@here Is there any API available to fetch Communic...
# general
a
@here Is there any API available to fetch Communication between the Patient and Provider? The issue I am facing while building a chat-like feature between Patients, Doctors, and Caregivers is not able to get the whole conversation: 1.
Communication?patient={patientReference}
- Returns all the msgs that a patient has sent irrespective of the recipient. 2.
Communication?patient={patientReference}&recipient={recipientReference}
- Returns all msgs sent by a patient to a particular practitioner(all msgs that are sent by the patient), but not the msgs sent by the practitioner. Passing both patient and recipient in query params only returns msgs that are sent by the patient and not the whole conversation. Any help here would be appreciated as I checked all the documentation and example but could not find anything that would be helpful. Is there any way for it? Also, I found this: https://github.com/medplum/foomedical-provider/blob/main/README.md#:~:text=Patient%2Dprovider%20messaging,under%20construction)
183 Views