npi_is_valid: Check if candidate NPI number is valid

View source: R/utils.R

npi_is_validR Documentation

Check if candidate NPI number is valid

Description

Check whether a number is a valid NPI number per the specifications detailed in the Final Rule for the Standard Unique Health Identifier for Health Care Providers (69 FR 3434).

Usage

npi_is_valid(x)

Arguments

x

10-digit candidate NPI number

Value

Boolean indicating whether npi is valid

Examples

npi_is_valid(1234567893) # TRUE
npi_is_valid(1234567898) # FALSE

frankfarach/npi documentation built on Nov. 17, 2022, 11:15 p.m.