Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PSGWI043

PSGWI043.m

Go to the documentation of this file.
  1. PSGWI043 ; ; 04-JAN-1994
  1. ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
  1. F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
  1. Q Q
  1. ;;^UTILITY(U,$J,"OPT",608,25)
  1. ;;=PSGWPSI
  1. ;;^UTILITY(U,$J,"OPT",608,"U")
  1. ;;=PRINT AR/WS STOCK ITEM DATA (1
  1. ;;^UTILITY(U,$J,"OPT",742,0)
  1. ;;=PSGW INPUT AOU INP SITE^Identify AOU INPATIENT SITE^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",742,1,0)
  1. ;;=^^3^3^2890830^^^^
  1. ;;^UTILITY(U,$J,"OPT",742,1,1,0)
  1. ;;=This option will loop through the PHARMACY AOU STOCK file (#58.1) and
  1. ;;^UTILITY(U,$J,"OPT",742,1,2,0)
  1. ;;=locate any active AOU that does not have the INPATIENT SITE field
  1. ;;^UTILITY(U,$J,"OPT",742,1,3,0)
  1. ;;=defined.
  1. ;;^UTILITY(U,$J,"OPT",742,25)
  1. ;;=PSGWEDIS
  1. ;;^UTILITY(U,$J,"OPT",742,"U")
  1. ;;=IDENTIFY AOU INPATIENT SITE
  1. ;;^UTILITY(U,$J,"OPT",743,0)
  1. ;;=PSGW BACKORDER (ALL) PRINT^Current (ALL) Backorder Report (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",743,1,0)
  1. ;;=^^2^2^2890907^^^
  1. ;;^UTILITY(U,$J,"OPT",743,1,1,0)
  1. ;;=This option will print a list of ALL current backorders sorted by AOU or
  1. ;;^UTILITY(U,$J,"OPT",743,1,2,0)
  1. ;;=by ITEM.
  1. ;;^UTILITY(U,$J,"OPT",743,25)
  1. ;;=PSGWBOA
  1. ;;^UTILITY(U,$J,"OPT",743,"U")
  1. ;;=CURRENT (ALL) BACKORDER REPORT
  1. ;;^UTILITY(U,$J,"OPT",744,0)
  1. ;;=PSGW ITEM INQUIRY^Item Activity Inquiry (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",744,1,0)
  1. ;;=^^4^4^2890926^
  1. ;;^UTILITY(U,$J,"OPT",744,1,1,0)
  1. ;;=This option will display all activity (inventories, on-demands, and
  1. ;;^UTILITY(U,$J,"OPT",744,1,2,0)
  1. ;;=returns) for a specified item in a specified AOU for a specified date
  1. ;;^UTILITY(U,$J,"OPT",744,1,3,0)
  1. ;;=range. This option is primarily meant to be used as a tool to identify
  1. ;;^UTILITY(U,$J,"OPT",744,1,4,0)
  1. ;;=bad data input.
  1. ;;^UTILITY(U,$J,"OPT",744,25)
  1. ;;=PSGWATR
  1. ;;^UTILITY(U,$J,"OPT",744,"U")
  1. ;;=ITEM ACTIVITY INQUIRY (80 COLU
  1. ;;^UTILITY(U,$J,"OPT",745,0)
  1. ;;=PSGW EDIT INVENTORY USER^Edit 'Person Doing Inventory'^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",745,1,0)
  1. ;;=^^3^3^2910226^^
  1. ;;^UTILITY(U,$J,"OPT",745,1,1,0)
  1. ;;=This option will allow editing of the field PERSON DOING INVENTORY
  1. ;;^UTILITY(U,$J,"OPT",745,1,2,0)
  1. ;;=in the Pharmacy AOU Inventory file (#58.19) for a selected Date/Time for
  1. ;;^UTILITY(U,$J,"OPT",745,1,3,0)
  1. ;;=Inventory.
  1. ;;^UTILITY(U,$J,"OPT",745,25)
  1. ;;=PSGWPERE
  1. ;;^UTILITY(U,$J,"OPT",745,"U")
  1. ;;=EDIT 'PERSON DOING INVENTORY'
  1. ;;^UTILITY(U,$J,"OPT",816,0)
  1. ;;=PSGW EXP REPORT^Expiration Date Report (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",816,1,0)
  1. ;;=^^3^3^2901108^^
  1. ;;^UTILITY(U,$J,"OPT",816,1,1,0)
  1. ;;=This option will print an Expiration Date Report for a single, several,
  1. ;;^UTILITY(U,$J,"OPT",816,1,2,0)
  1. ;;=or ALL AOUs. For multiple AOUs it can be sorted by DATE/DRUG/AOU or
  1. ;;^UTILITY(U,$J,"OPT",816,1,3,0)
  1. ;;=by DATE/AOU/DRUG.
  1. ;;^UTILITY(U,$J,"OPT",816,25)
  1. ;;=PSGWEXR
  1. ;;^UTILITY(U,$J,"OPT",816,"U")
  1. ;;=EXPIRATION DATE REPORT (80 COL
  1. ;;^UTILITY(U,$J,"OPT",817,0)
  1. ;;=PSGW ADD/DEL WARD^Add/Delete Ward (for Item)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",817,1,0)
  1. ;;=^^2^2^2930219^^^^
  1. ;;^UTILITY(U,$J,"OPT",817,1,1,0)
  1. ;;=This option will allow a user to add or delete a Ward (for Item) assignment
  1. ;;^UTILITY(U,$J,"OPT",817,1,2,0)
  1. ;;=for all stock items in one or more active AOUs.
  1. ;;^UTILITY(U,$J,"OPT",817,25)
  1. ;;=PSGWWRD
  1. ;;^UTILITY(U,$J,"OPT",817,"U")
  1. ;;=ADD/DELETE WARD (FOR ITEM)
  1. ;;^UTILITY(U,$J,"OPT",856,0)
  1. ;;=PSGW RE-INDEX AMIS^Re-index AMIS Cross-Reference^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",856,1,0)
  1. ;;=^^11^11^2930518^^^^
  1. ;;^UTILITY(U,$J,"OPT",856,1,1,0)
  1. ;;=This option will queue a background job that will re-index the "AMIS"
  1. ;;^UTILITY(U,$J,"OPT",856,1,2,0)
  1. ;;=cross-reference for inventories, on-demands, and returns. This cross-
  1. ;;^UTILITY(U,$J,"OPT",856,1,3,0)
  1. ;;=reference is important because this is where the nightly job to update
  1. ;;^UTILITY(U,$J,"OPT",856,1,4,0)
  1. ;;=the AR/WS Stats File (#58.5) gets the data for the update. If this cross-
  1. ;;^UTILITY(U,$J,"OPT",856,1,5,0)
  1. ;;=reference is somehow destroyed, it is very important to rebuild it.
  1. ;;^UTILITY(U,$J,"OPT",856,1,6,0)
  1. ;;=Though it is possible to accomplish this through VA FileMan, this option
  1. ;;^UTILITY(U,$J,"OPT",856,1,7,0)
  1. ;;=is a much quicker and easier alternative. This option is not tied to