cody
03/16/2023, 4:07 PMCommunication?sender={patient},{practitioner}&recipient={patient},{practitioner}
Note the commas between the references. The commas behave as an "or". So it translates to: "communications where the sender is [patient or practitioner] and the recipient is [patient or practitioner]"ahmedsakri
03/16/2023, 6:39 PMahmedsakri
03/17/2023, 10:46 AMahmedsakri
03/17/2023, 10:58 AMreshma
03/17/2023, 7:49 PMcody
03/17/2023, 9:03 PMsetInterval or something similar.
You may also need to specify cache: 'reload' to force bypass the cache: medplum.searchResources('Communication', '...', { cache: 'reload' });