Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$NPI^XUSNPI(): Get NPI from Files #200 or #4

Reference Type: Controlled Subscription, Category: National Provider Identifier (NPI), Integration Agreement: 4532

Description

This extrinsic function retrieves the National Provider Identifier (NPI) and related utilities from the NEW PERSON (#200) or INSTITUTION (#4) files. This API was added with Kernel Patch XU*8.0*410.

Format

  $$NPI^XUSNPI(xusqi,xusien[,xusdate])

Input Parameters

xusqi:

(required) The Qualified Identifier for the NPI. For example: Individual_ID or Organization_ID. No default.

xusien:

(required) The Internal Entry Number (IEN) from the NEW PERSON (#200) or INSTITUTION (#4)files. No default.

xusdate:

(optional) A date of interest. Defaults to "Today."

Output

returns:

Returns any of the following strings:

  • NPI^EffectiveDate^Status—If National Provider Identifier (NPI) exists.

  • 0—If NPI does not exist.

  • -1^ErrorMessage—If invalid xusqi or xusien.

Example 1

The following example uses the following file data:

>W $$NPI^XUSNPI("Individual_ID",82)
9876543213^3061108.123651^Active

Example 2

The following example uses the following file data:

>W $$NPI^XUSNPI("Organization_ID",1)
1111111112^3070122^Active

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.