I'm using the mock medplum client as shown in the screenshot and for some reason searching for resources by identifier isn't working - any ideas?
r
rahul1
11/09/2023, 8:44 AM
@aj__6570 - one possibility would be that you need to index the search parameters. The MockClient doesn't have a perfect 1:1 reproduction of all search semantics, and by default it looks at limited set of search params.
See this guide on test setup for more information (https://www.medplum.com/docs/bots/unit-testing-bots#set-up-your-test-framework)
a
aj__6570
11/09/2023, 9:01 AM
thanks! is this the right link?
r
rahul1
11/09/2023, 9:02 AM
whoops! Just edited
a
aj__6570
11/11/2023, 10:51 PM
ah yep that was it - thanks!
r
rahul1
11/27/2023, 5:27 AM
@aj__6570 - I'm curious - what was your use case for using the