@here I have some issues regarding medplum.searchR...
# general
n
@here I have some issues regarding medplum.searchResources API in React Native App. searchResources Adding an extra query string parameter by default called _ with some random string as a value. And becuase of that API is giving an error of "Unknow search parameter : _" . Can anyone help me to solve this issue ??
r
Hi @nilaybrahmbhatt - the search is not properly constructed. I recommend trying to construct the search in your Medplum app before trying it in your custom app. Tutorial here: https://www.medplum.com/docs/fhir-datastore/basic-fhir-search#use-medplum-app-to-learn-advanced-search
n
Hi @reshma Thank you so much for checking. I checked this document and tried in same way earlier and now also. But the issue is same. I am using Medplum Client in React Native. I upload the screen recording to understand you. I tried multiple ways but nothing worked for me. Thanks
r
That is strange - it does look like that extra parameter is getting added to the query, which is causing the issue. I am not a react-native expert by any means but any thoughts on how/where props are getting passed in?
178 Views