ahmedsakri
03/16/2023, 9:17 AMCommunication?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)