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.

parameterdescriptionoptions
npiNational Provider Identifier (NPI) of individual and
organizational provider record
Any valid National
Provider Identifier (NPI)
taxonomyPrimary taxonomy code of the individual providervalues available
subspecialtySubspecialty of the individual provider recordvalues available
specialtySpecialty of the individual provider recordvalues available
specialty_categorySpecialty category of the individual provider recordvalues available
short_zipFirst three digits of zip code for the individual provider recordFirst three digits of
any valid zip code
metroMetropolitan and micropolitan statistical areas according to the US Census Bureauvalues available
stateUS State code of the individual provider recordvalues available
divisionUS State Division code of the individual provider recordvalues available
regionUS State Region code of the individual provider recordvalues available
limitNumber of rows returned in the data requestInteger or False
showBinary 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!