; some codes are restricted to certain bill formats and
; whether or not we are deality with a Participating Payer
; Change "CODE" value if there is such a restriction
GETPRV
;EP - build provider array
PTAX(X)
;EP - provider taxonomy
MCR(X)
;EP - medicare provider number
ENVSPECT()
; Envoy Specialty Code Type
MCD(X,Y)
;EP - medicaid provider number
EIN(X)
; EP - Provider's EIN
LNM(X)
;EP - last name
SLN(X,Y)
;EP - state license number
MI(X)
;EP - middle initial
NPI(X,Y,Z)
UPIN(X)
;EP - upin number
PROVNUM(X)
; EP - Provider Number, sensitive to ABMP("INS") and ABMP("ITYPE")
ENVSPEC(X)
; EP - Envoy Provider Specialty Code
; Given X = pointer to ^VA(200,
; ABMP("INS") = pointer to ^AUTNINS / ^ABMNINS
; ABMP("XMIT") = pointer to ^ABMDTXST