Skip to contents

facility_affiliations() allows you to access information concerning providers' facility affiliations

Usage

facility_affiliations(
  npi = NULL,
  pac_id = NULL,
  first_name = NULL,
  middle_name = NULL,
  last_name = NULL,
  facility_type = NULL,
  facility_ccn = NULL,
  parent_ccn = NULL,
  offset = 0L,
  tidy = TRUE
)

Arguments

npi

Unique clinician ID assigned by NPPES

pac_id

Unique individual clinician ID assigned by PECOS

first_name

Individual clinician first name

middle_name

Individual clinician middle name

last_name

Individual clinician last name

facility_type

Facilities can fall into the following type categories: - Hospital - Long-term Care Hospital (LTCH) - Nursing Home - Inpatient Rehabilitation Facility (IRF) - Home Health Agency (HHA) - Skilled Nursing Facility (SNF) - Hospice - Dialysis Facility

facility_ccn

alphanumeric; Medicare CCN (CMS Certification Number) of facility type or unit within hospital where an individual clinician provides service. The CCN replaced the terms Medicare Provider Number, Medicare Identification Number and OSCAR Number and is used to verify Medicare/Medicaid certification for survey and certification, assessment-related activities and communications.

parent_ccn

numeric; CCN of the primary hospital where an individual clinician provides service, should the clinician provide services in a unit within the hospital.

offset

offset; API pagination

tidy

Tidy output; default is TRUE.

Value

A tibble containing the search results.

Examples

if (FALSE) { # interactive()
facility_affiliations(facility_ccn = "060004")
facility_affiliations(parent_ccn = 670055)
}