NAME
Validate::NPI - Validates National Provider Identifier (NPI) numbers
VERSION
version 0.03
SYNOPSIS
$fValidated=validate_npi('1234567893'); # will return 1 (true)
METHODS
validate_npi($value,$msg)
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.
ACKNOWLEDGEMENTS
Adapted from a code fragment found at http://javatechnicals.blogspot.com/2009/03/npi-check-digit-validation-peoplecode.html
AUTHOR
Stephen Flitman <sflitman@xenoscience.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.