Learn R Programming

npi (version 0.2.0)

npi_is_valid: 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)

Value

Boolean indicating whether npi is valid

Arguments

x

10-digit candidate NPI number

Examples

Run this code
npi_is_valid(1234567893) # TRUE
npi_is_valid(1234567898) # FALSE

Run the code above in your browser using DataLab