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)
|
|