providerOutreach

Query to specify data request for individual healthcare providers and their accompanying contact information, including email, phone and fax.

Get Started with providerOutreach

If you have already setup CareQuery, run the below code to get started with your first providerOutreach query.

Example:

Request contact details for all orthopaedic hand surgeons in New Mexico and Colorado.

# import package
from care_query.care_query import CareQuery

# instantiate and connect
cq = CareQuery(email = "your-email", 
               token = "your-api-token")

# construct query
query = cq.providerOutreach(subspecialty = "orthopaedic surgery - hand surgery",
                            state = ["CO","NM"])

# estimate query size (optional)
estimate = query.estimate() 

# return query sample data (optional)
sample = query.sample() 

# execute query to return results
data = query.execute() 

Query Parameters

The following a parameters are available within the providerOutreach query, including details on the parameter values.

parameter

description

options

npi

National Provider Identifier (NPI) of individual and
organizational provider record

Any valid National
Provider Identifier (NPI)

taxonomy

Primary taxonomy code of the individual provider

values available

subspecialty

Subspecialty of the individual provider record

values available

specialty

Specialty of the individual provider record

values available

specialty_category

Specialty category of the individual provider record

values available

short_zip

First three digits of zip code for the individual provider record

First three digits of
any valid zip code

metro

Metropolitan and micropolitan statistical areas according to the US Census Bureau

values available

state

US State code of the individual provider record

values available

division

US State Division code of the individual provider record

values available

region

US State Region code of the individual provider record

values available

limit

Number of rows returned in the data request

Integer or False

show

Binary indicator as to whether you'd like query to be printed
for review upon query creation

True or False

Query Return Data

The providerOutreach query returns the all executive data that meet the criterion specified within the query.

The PROV_OUTREACH_TABLE offers provider contact information including descriptions, categorial mappings of their roles.

featuredescriptionexample
hcp_npiNational Provider Identifier (NPI) of the individual provider registered with NPPES.1588763981
hcp_nameFull name of the individual provider recordrandal aaberg
taxonomyPrimary taxonomy code of the individual provider367A00000X
subspecialtySubspecialty of the individual provider recordurology - general
specialtySpecialty of the individual provider recordurology
specialty_categorySpecialty category of the individual provider recordallopathic & osteopathic physicians
email1Primary email address of the individual provider[email protected]
email2Secondary email address of the individual provider[email protected]
addressPrimary address on record for the individual provider record3288 moanalua rd
cityCity of primary address for the individual provider recordhonolulu
stateTwo digit US State code of primary address for the individual provider recordHI
zipZip code of the primary address for the individual provider record96819
phonePrimary phone number of the individual provider record808-432-8000
faxPrimary fax number of the individual provider record808-432-8000
update_dateThe last date in which the provider contact details have been updated2023-09-01
system_execBiary indicator of whether the executive is at the hospital or health system administrative level0
update_dateThe last date in which the hospital executive contact details have been updated2023-09-01

Advanced Query Logic & Recipes

providerOutreach gives users categorical groupings for ease of use, as well as SQL-like capabilities to tactfully specify AND and OR logic, right within the CareQuery API!

🚧

providerOutreach does not allow for nested lists within the query parameters

Please reference the following resources to better understand how to create rockstar queries!