How to do input field search with medplum graphql?
# support
b
Currently, I'm trying to do an autocomplete feature using Medplum's graphql query API and I'm not seeing documentation for the use case of includes or contains for variables passed into graphql queries. Is this possible to do with medplum graphql? Or do we have to use the standard search API.
await medplum.searchResources('Patient', { 'name:contains': 'eve' });
r
Unfortunately the FHIR graphql spec (https://hl7.org/fhir/R4/graphql.html) doesn't have any definitions for using modifers with GraphQL, so you'll have to use the standard search
160 Views