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

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

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

Description

The $$NPI^XUSNPI extrinsic function retrieves the National Provider Identifier (NPI) and related utilities from any of the following files:

NOTE: This API was released 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.i or Non_VA_Provider_ID No default.

xusien:

(required) The Internal Entry Number (IEN) from any of the following files:

  • NEW PERSON (#200)
  • INSTITUTION (#4)
  • IB NON/OTHER VA BILLING PROVIDER (#355.93)

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

Example 3

The following example uses the following file data:

>>W $$QI^XUSNPI(2222222228)
	 Non_VA_Provider_ID^3^3070122^Active;

 


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

Reviewed/Updated: June 18, 2018

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.