Skip to contents

[Experimental]

clinicians() allows you to access information about providers enrolled in Medicare, including the medical school that they attended and the year they graduated

Update Frequency: Monthly

Usage

clinicians(
  npi = NULL,
  pac = NULL,
  enid = NULL,
  first = NULL,
  middle = NULL,
  last = NULL,
  gender = NULL,
  credential = NULL,
  school = NULL,
  grad_year = NULL,
  specialty = NULL,
  facility_name = NULL,
  pac_org = NULL,
  city = NULL,
  state = NULL,
  zip = NULL,
  offset = 0L,
  tidy = TRUE,
  na.rm = TRUE,
  ...
)

Arguments

npi

< integer > 10-digit Individual National Provider Identifier

pac

< integer > 10-digit Individual PECOS Associate Control ID

enid

< character > 15-digit Individual Medicare Enrollment ID

first, middle, last

< character > Individual provider's name

gender

< character > Individual provider's gender; "F" (Female) or "M" (Male)

credential

Individual provider’s credential

school

< character > Individual provider’s medical school

grad_year

< integer > Individual provider’s graduation year

specialty

< character > Individual provider’s primary medical specialty reported in the selected enrollment

facility_name

< character > Name of facility associated with the individual provider

pac_org

< integer > 10-digit Organizational PECOS Associate Control ID

city

< character > Provider's city

state

< character > Provider's state

zip

< character > Provider's ZIP code

offset

< integer > // default: 0L API pagination

tidy

< boolean > // default: TRUE Tidy output

na.rm

< boolean > // default: TRUE Remove empty rows and columns

...

Empty

Value

A tibble with the columns:

FieldDescription
npi10-digit individual NPI
pac10-digit individual PAC ID
enid15-digit individual enrollment ID
firstProvider's first name
middleProvider's middle name
lastProvider's last name
suffixProvider's name suffix
genderProvider's gender
credentialProvider's credential
schoolProvider's medical school
grad_yearProvider's graduation year
specialtyProvider's primary specialty
specialty_secProvider's secondary specialty
facility_nameFacility associated with provider
pac_orgFacility's 10-digit PAC ID
membersNumber of providers associated with facility's PAC ID
addressProvider's street address
cityProvider's city
stateProvider's state
zipProvider's zip code
phoneProvider's phone number
telehealthIndicates if provider offers telehealth services
assign_indIndicates if provider accepts Medicare assignment
assign_orgIndicates if facility accepts Medicare assignment

Examples

if (FALSE) { # interactive()
clinicians(enid = "I20081002000549") # enid not working
clinicians(school = "NEW YORK UNIVERSITY SCHOOL OF MEDICINE")
}