26 Nov 2012 05:30:16 UTC
- Distribution: Validate-NPI
- Module version: 0.03
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (405 / 0 / 0)
- KwaliteeBus factor: 0
- 95.24% Coverage
- License: perl_5
- Activity24 month
- Download (8.77KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- 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>
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.
Module Install Instructions
To install Validate::NPI, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Validate::NPI
For more information on module installation, please visit the detailed CPAN module installation guide.