Print Page as PDF
DBIA4829 ICR (4829)

DBIA4829    ICR (4829)

Name Value
NUMBER 4829
IA # 4829
DATE CREATED 2006/02/14
CUSTODIAL PACKAGE NATIONAL DRUG FILE
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSN5067
NAME DBIA4829
GENERAL DESCRIPTION
This DBIA is provided by NDF (National Drug File) as an
API to the NDC/UPN file (#50.67). This API is to used in the future by all
packages accessing this file as all the Pharmacy packages are being
re-engineered.
STATUS Active
ID PSN5067
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
ALL(PSNIEN,PSNFT,PSNFL,LIST)
This component will return data from the NDC/UPN file
(#50.67).
VARIABLES TYPE VARIABLES DESCRIPTION
PSNIEN Input
PSNIEN = Internal Entry Number from the NDC/UPN file
(#50.67). If a value is passed in for PSNIEN, then any value passed in for the
PSNFT parameter will be ignored. [optional]
PSNFT Input
PSNFT = TRADE NAME field (#4) of the NDC/UPN file
(#50.67) (a value of "??" may be used). This value will be ignored if a value
for PSNIEN is passed in.[optional]
PSNFL Input
PSNFL = Inactivation date: A null value will return
all entries (entry of a FileMan format date (ex: 3030917) will return active
entries after this date) [optional]
LIST Input
LIST = array name defined by the calling application
[required]
~TMP Output
^TMP($J,LIST,0)=Total entries returned or -1^NO DATA
FOUND

^TMP($J,LIST,PSNIEN,.01)=SEQUENCE NUMBER(50.67,.01)

^TMP($J,LIST,PSNIEN,1)=NDC(50.67,1)

^TMP($J,LIST,PSNIEN,2)=UPN(50.67,2)

^TMP($J,LIST,PSNIEN,3)=MANUFACTURER(50.67,3)^NAME(55.95,.01)

^TMP($J,LIST,PSNIEN,4)=TRADE NAME(50.67,4)

^TMP($J,LIST,PSNIEN,5)=VA PRODUCT NAME(50.67,5)^NAME(50.68,.01)

^TMP($J,LIST,PSNIEN,7)=INACTIVATION DATE(50.67,7)^External format (ex: SEP
12,1999)

^TMP($J,LIST,PSNIEN,8)=PACKAGE SIZE(50.67,8)^NAME(50.609,.01)

^TMP($J,LIST,PSNIEN,9)=PACKAGE TYPE(50.67,9)^NAME(50.608,.01)

^TMP($J,LIST,PSNIEN,10)=OTX/RX INDICATOR(50.67,10)^External format for the set
of codes

^TMP($J,LIST,"B",TRADE NAME,PSNIEN)= ""

Note: The "B" cross-reference uses the TRADE NAME field (#4) as the data
value. The TRADE NAME field (#4) is not a required field.