![]() ![]() |
Reference Type: Controlled Subscription, Category: National Provider Identifier (NPI), ICR#: 4532
The $$CHKDGT^XUSNPI extrinsic function validates the format of a National Provider Identifier (NPI) number. It checks the following:
NOTE: This API was released with Kernel Patch XU*8.0*410.
$$CHKDGT^XUSNPI(xusnpi)
xusnpi: |
(required) The 10-digit National Provider Identifier (NPI) number to validate. No default. |
returns: |
Returns:
|
The following example shows the result when checking a valid NPI:
>W $$CHKDGT^XUSNPI(1234567893) 1 |
The following example shows the result when checking an invalid NPI (not 10 digits):
>W $$CHKDGT^XUSNPI(123456789) 0 |
The following example shows the result when checking an invalid NPI (invalid digit):
>W $$CHKDGT^XUSNPI(1234567892) 0 |