- COPYRIGHT AND LICENSE
Validate::NPI - Validates National Provider Identifier (NPI) numbers
$fValidated=validate_npi('1234567893'); # will return 1 (true)
Call with a scalar value for validation and an optional array reference for an explanation of why validation failed. Returns 1 (true) if the NPI validates correctly.
Adapted from a code fragment found at http://javatechnicals.blogspot.com/2009/03/npi-check-digit-validation-peoplecode.html
Stephen Flitman <email@example.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Stephen Flitman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.