Payer Autocomplete
Bridge’s React SDK is in beta! Expect breaking changes, bugs, and missing features. Please talk to us before integrating.
Bridge’s Payer Search API allows you to drive a powerful Payer search, with autocomplete, for your patients or tools.
The React SDK boils this down to a single hook, usePayerAutocomplete
, and buries away API calls, caching, and optimized pre-population.
The query
argument is required, it’s the search query the user is typing.
The second opts
argument is optional, it configures the search query.
The limit
is the maximum number of results to return. If not defined, defaults to 10.
The function returns an object with a results
and isLoading
fields.
Results are an array of Payers, with the following shape:
Note: there may be multiple results with the same Payer ID, this is expected, and helps patients specifically match their card/plan.
Example
See the Demo Project for a full example using MUI’s Autocomplete
component.