Match HCO
Accepts attributes and returns matching healthcare organizations
Request body
Each filter is an object of and / or / not arrays. or boosts matches without excluding others; use and with a single value to filter.
- cityobjectOptionalFilter by city; case-insensitive exact match
- countryobjectOptionalFilter by country; case-insensitive exact match
- institutionTypeobjectOptionalFilter by organization type, e.g. hospital or practice; case-insensitive exact match
- namestringOptionalMatch on organization name; combines exact and fuzzy matching
- npiobjectOptionalFilter by National Provider Identifier (NPI)
and is a hard filter only when strict is true; in the default ranked mode these values influence matching and ranking without excluding results.
ANDWith
strict: true, values that must all match; a value also innotis rejected with a 400, as is, on a field the record holds once, more than one distinct value or a value outside the field'sorvalues. Otherwise treated the same asorOR1407589070With
strict: true, values of which at least one must match; if every one is also innot, the request is rejected with a 400. Otherwise alternatives that resolve or rank the match, asstrictdescribesNOTValues that must not match (hard exclusion), with or without
strictEnter adds a value · Backspace on empty removes the last - postalCodeobjectOptionalFilter by postal code; case-insensitive exact match
- Filter by state or province; case-insensitive exact match
- strictbooleanOptionalWhen true, every supplied field is a hard filter:
andvalues must all match,orvalues need at least one match, and the name must match. When false or omitted (the default),andandorare treated alike as alternatives. Any one NPI value resolves the match, and the name then only ranks; with no NPI, the name must match instead. Other fields only rank results, unless the request has neither an NPI nor a name, when at least one of their values must match.notvalues always exclude, and a request with onlynotvalues is rejected with a 400. Withstrict: true, a request is rejected with a 400 when any field has anandvalue that is also innot, or anorlist whose every value is innot; fields an organization holds once (institutionType, city, state, country, postalCode) also accept at most one distinctandvalue, which must be among the field'sorvalues when both are given. - metadataobjectOptionalOptional metadata to associate with the request. Will be returned in the response.
- Headers
x-api-keyRequired · API key for authentication
Response
- resultsobject[]Matching healthcare organizations
- aggkHcoIdstringAggKnowledge HCO ID
- citystringCity
- countrystringCountry
- institutionTypestringOrganization type (e.g. hospital, practice)
- namestringOrganization name
- npistringNational Provider Identifier (NPI)
- postalCodestringPostal code
- scorenumberRelevance score for this match; higher indicates a stronger match. Results are ordered by score descending, so callers can auto-accept the top hit or review the top N. Scores are relative within a single response and not comparable across requests.
- statestringState or province
- websitestringOrganization website
- isSuccessboolean
truewhen the request was answered with a result.falsemeans no result was returned: checkisRetryable, which istruewhen a data source failed or timed out andfalsewhen the input matched nothing. - isRetryablebooleanWhen
isSuccessisfalse, whether sending the same input again could succeed. AlwaystruewhenisSuccessistrue. - hasProblemsbooleanWhether we hit a problem answering the request: the profile or company wasn't found, or a data source failed or timed out. Data may be missing or incomplete;
problems, where the response has it, says which. - metadataobjectCaller-supplied metadata echoed back from the request.
- inputParametersobjectCaller-supplied inputs echoed back in the response