Print Page as PDF
DATA RETRIEVAL FROM FILE 55 ICR (4928)

DATA RETRIEVAL FROM FILE 55    ICR (4928)

Name Value
NUMBER 4928
IA # 4928
DATE CREATED 2006/11/24
CUSTODIAL PACKAGE PHARMACY DATA MANAGEMENT
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSS55MIS
NAME DATA RETRIEVAL FROM FILE 55
GENERAL DESCRIPTION
This DBIA is provided by Pharmacy Data Management (PSS)
as an API to do data retrieval from File 55 using various methods.
STATUS Active
DURATION Till Otherwise Agreed
ID PSS55MIS
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
STATUS(PSSFILE,PSSFIELD,LIST)
This API simulates fileman DIC calls and is to be
used by packages seeking access to the STATUS (#28) field of the UNIT DOSE
(55.06) subfile, STATUS (#100) field of the IV (55.01) subfile, or STATUS (#5)
field of the NON-VA MEDS (55.05) subfile from the PHARMACY PATIENT (#55) file.

FORMAT: D STATUS^PSS55MIS(PSSFILE,PSSFIELD,LIST)
VARIABLES TYPE VARIABLES DESCRIPTION
PSSFILE Input
Subfile number from the PHARMACY PATIENT file (#55)
[required]
PSSFIELD Input
Field number from the specified file associated with
the value in PSSFILE
LIST Input
Array name defined by the calling application
[required]
PSSDIY Output
PSODIY will return null if the value for PSOFILE is
valid (it will return -1 if conditions were not met)

See VA FileMan Programmer Manual for DIC output definition
CLINIC(PSSORD,PSSDFN,PSSMED)
Returns a clinic from the HOSPITAL LOCATION file
(#44) based on a provided order number and patient DFN.
VARIABLES TYPE VARIABLES DESCRIPTION
PSSORD Input
Order Number from either the IV sub-file (#55.01) or
UNIT DOSE sub-file (#55.06) of the PHARMACY PATIENT file (#55) [required]
PSSDFN Input
IEN from the PATIENT file (#2) [required]
PSSMED Input
"I" to return entries from the IV sub-file (#55.01)
or "U" for entries from the UNIT DOSE sub-file (#55.06) [required]
$$CLINIC Output
$$CLINIC = clinic number^clinic name WHERE: clinic
number = IEN from the HOSPITAL LOCATION file (#44) clinic name = NAME  field
(# .01) from the HOSPTIAL LOCATION file (#44)