PSGWI033 ; ; 04-JAN-1994
;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
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
Q Q
;;^UTILITY(U,$J,"OPT",162,10,8,"^")
;;=PSGW AOU INV GROUP EDIT
;;^UTILITY(U,$J,"OPT",162,10,9,0)
;;=169^^17
;;^UTILITY(U,$J,"OPT",162,10,9,"^")
;;=PSGW AOU INV GROUP SORT
;;^UTILITY(U,$J,"OPT",162,10,10,0)
;;=185^^19
;;^UTILITY(U,$J,"OPT",162,10,10,"^")
;;=PSGW SITE
;;^UTILITY(U,$J,"OPT",162,10,11,0)
;;=208^^15
;;^UTILITY(U,$J,"OPT",162,10,11,"^")
;;=PSGW PRINT SETUP LISTS
;;^UTILITY(U,$J,"OPT",162,10,12,0)
;;=214^^11
;;^UTILITY(U,$J,"OPT",162,10,12,"^")
;;=PSGW TRANSFER ENTRIES
;;^UTILITY(U,$J,"OPT",162,10,13,0)
;;=597^^7
;;^UTILITY(U,$J,"OPT",162,10,13,"^")
;;=PSGW EXPIRATION ENTER/EDIT
;;^UTILITY(U,$J,"OPT",162,10,14,0)
;;=605^^12
;;^UTILITY(U,$J,"OPT",162,10,14,"^")
;;=PSGW AOU INACTIVATION
;;^UTILITY(U,$J,"OPT",162,10,15,0)
;;=606^^9
;;^UTILITY(U,$J,"OPT",162,10,15,"^")
;;=PSGW WARD CONVERSION
;;^UTILITY(U,$J,"OPT",162,10,16,0)
;;=745^^16
;;^UTILITY(U,$J,"OPT",162,10,16,"^")
;;=PSGW EDIT INVENTORY USER
;;^UTILITY(U,$J,"OPT",162,10,17,0)
;;=817^^10
;;^UTILITY(U,$J,"OPT",162,10,17,"^")
;;=PSGW ADD/DEL WARD
;;^UTILITY(U,$J,"OPT",162,10,18,0)
;;=1315^^2
;;^UTILITY(U,$J,"OPT",162,10,18,"^")
;;=PSGW ITEM LOC EDIT
;;^UTILITY(U,$J,"OPT",162,99)
;;=55756,29185
;;^UTILITY(U,$J,"OPT",162,"U")
;;=SET UP AR/WS (BUILD FILES)
;;^UTILITY(U,$J,"OPT",164,0)
;;=PSGW ITEM LOC PRINT^List Location Codes (80 column)^^P^^^^^^^^
;;^UTILITY(U,$J,"OPT",164,1,0)
;;=^^2^2^2930601^^^^
;;^UTILITY(U,$J,"OPT",164,1,1,0)
;;=Produces report of codes used to define the location of items in
;;^UTILITY(U,$J,"OPT",164,1,2,0)
;;=Areas of Use or in the pharmacy.
;;^UTILITY(U,$J,"OPT",164,60)
;;=PSI(58.17,
;;^UTILITY(U,$J,"OPT",164,62)
;;=0
;;^UTILITY(U,$J,"OPT",164,63)
;;=[PSGW ITEM LOC]
;;^UTILITY(U,$J,"OPT",164,64)
;;=[PSGW ITEM LOC]
;;^UTILITY(U,$J,"OPT",164,"U")
;;=LIST LOCATION CODES (80 COLUMN
;;^UTILITY(U,$J,"OPT",165,0)
;;=PSGW INV TYPE EDIT^Enter/Edit Inventory Types^^R^^^^^^^^AUTO REPLENISHMENT/WARD STOCK
;;^UTILITY(U,$J,"OPT",165,1,0)
;;=^^1^1^2930602^^^^
;;^UTILITY(U,$J,"OPT",165,1,1,0)
;;=Edit the file of Inventory Types used to classify Area of Use items.
;;^UTILITY(U,$J,"OPT",165,25)
;;=INVENT^PSGWEE
;;^UTILITY(U,$J,"OPT",165,"U")
;;=ENTER/EDIT INVENTORY TYPES
;;^UTILITY(U,$J,"OPT",166,0)
;;=PSGW INV TYPE^Print Inventory Types (80 column)^^P^^^^^^^^
;;^UTILITY(U,$J,"OPT",166,1,0)
;;=^^1^1^2870902^^
;;^UTILITY(U,$J,"OPT",166,1,1,0)
;;=Print the file of Inventory Types used to classify Area of Use items.
;;^UTILITY(U,$J,"OPT",166,60)
;;=PSI(58.16,
;;^UTILITY(U,$J,"OPT",166,62)
;;=0
;;^UTILITY(U,$J,"OPT",166,63)
;;=[PSGW INV TYPE]
;;^UTILITY(U,$J,"OPT",166,64)
;;=[PSGW INV TYPE]
;;^UTILITY(U,$J,"OPT",166,"U")
;;=PRINT INVENTORY TYPES (80 COLU
;;^UTILITY(U,$J,"OPT",167,0)
;;=PSGW REPORTS^Auto Replenishment Reports^^M^^^^^^^^
;;^UTILITY(U,$J,"OPT",167,1,0)
;;=^^2^2^2890926^^^^
;;^UTILITY(U,$J,"OPT",167,1,1,0)
;;=Menu giving access to various report options for Automatic Replenishment
;;^UTILITY(U,$J,"OPT",167,1,2,0)
;;=data.
;;^UTILITY(U,$J,"OPT",167,10,0)
;;=^19.01PI^12^9
;;^UTILITY(U,$J,"OPT",167,10,1,0)
;;=168^^11
;;^UTILITY(U,$J,"OPT",167,10,1,"^")
;;=PSGW STOCK PERCENTAGE
;;^UTILITY(U,$J,"OPT",167,10,2,0)
;;=161^^5
;;^UTILITY(U,$J,"OPT",167,10,2,"^")
;;=PSGW WARD INV PRINT
;;^UTILITY(U,$J,"OPT",167,10,3,0)
;;=186^^7
;;^UTILITY(U,$J,"OPT",167,10,3,"^")
;;=PSGW LOOKUP ITEM
;;^UTILITY(U,$J,"OPT",167,10,4,0)
;;=187^^15
;;^UTILITY(U,$J,"OPT",167,10,4,"^")
;;=PSGW USAGE REPORT
;;^UTILITY(U,$J,"OPT",167,10,8,0)
;;=209^^17
;;^UTILITY(U,$J,"OPT",167,10,8,"^")
;;=PSGW ZERO USAGE
;;^UTILITY(U,$J,"OPT",167,10,9,0)
;;=210^^13
;;^UTILITY(U,$J,"OPT",167,10,9,"^")
;;=PSGW RETURNS BREAKDOWN
;;^UTILITY(U,$J,"OPT",167,10,10,0)
;;=160^^1
;;^UTILITY(U,$J,"OPT",167,10,10,"^")
;;=PSGW PRINT AOU STOCK
;;^UTILITY(U,$J,"OPT",167,10,11,0)
;;=744^^9
;;^UTILITY(U,$J,"OPT",167,10,11,"^")
;;=PSGW ITEM INQUIRY
;;^UTILITY(U,$J,"OPT",167,10,12,0)
;;=816^^3
;;^UTILITY(U,$J,"OPT",167,10,12,"^")
;;=PSGW EXP REPORT
;;^UTILITY(U,$J,"OPT",167,99)
;;=55880,35236
PSGWI033 ; ; 04-JAN-1994
+1 ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
+2 FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,"OPT",162,10,8,"^")
+2 ;;=PSGW AOU INV GROUP EDIT
+3 ;;^UTILITY(U,$J,"OPT",162,10,9,0)
+4 ;;=169^^17
+5 ;;^UTILITY(U,$J,"OPT",162,10,9,"^")
+6 ;;=PSGW AOU INV GROUP SORT
+7 ;;^UTILITY(U,$J,"OPT",162,10,10,0)
+8 ;;=185^^19
+9 ;;^UTILITY(U,$J,"OPT",162,10,10,"^")
+10 ;;=PSGW SITE
+11 ;;^UTILITY(U,$J,"OPT",162,10,11,0)
+12 ;;=208^^15
+13 ;;^UTILITY(U,$J,"OPT",162,10,11,"^")
+14 ;;=PSGW PRINT SETUP LISTS
+15 ;;^UTILITY(U,$J,"OPT",162,10,12,0)
+16 ;;=214^^11
+17 ;;^UTILITY(U,$J,"OPT",162,10,12,"^")
+18 ;;=PSGW TRANSFER ENTRIES
+19 ;;^UTILITY(U,$J,"OPT",162,10,13,0)
+20 ;;=597^^7
+21 ;;^UTILITY(U,$J,"OPT",162,10,13,"^")
+22 ;;=PSGW EXPIRATION ENTER/EDIT
+23 ;;^UTILITY(U,$J,"OPT",162,10,14,0)
+24 ;;=605^^12
+25 ;;^UTILITY(U,$J,"OPT",162,10,14,"^")
+26 ;;=PSGW AOU INACTIVATION
+27 ;;^UTILITY(U,$J,"OPT",162,10,15,0)
+28 ;;=606^^9
+29 ;;^UTILITY(U,$J,"OPT",162,10,15,"^")
+30 ;;=PSGW WARD CONVERSION
+31 ;;^UTILITY(U,$J,"OPT",162,10,16,0)
+32 ;;=745^^16
+33 ;;^UTILITY(U,$J,"OPT",162,10,16,"^")
+34 ;;=PSGW EDIT INVENTORY USER
+35 ;;^UTILITY(U,$J,"OPT",162,10,17,0)
+36 ;;=817^^10
+37 ;;^UTILITY(U,$J,"OPT",162,10,17,"^")
+38 ;;=PSGW ADD/DEL WARD
+39 ;;^UTILITY(U,$J,"OPT",162,10,18,0)
+40 ;;=1315^^2
+41 ;;^UTILITY(U,$J,"OPT",162,10,18,"^")
+42 ;;=PSGW ITEM LOC EDIT
+43 ;;^UTILITY(U,$J,"OPT",162,99)
+44 ;;=55756,29185
+45 ;;^UTILITY(U,$J,"OPT",162,"U")
+46 ;;=SET UP AR/WS (BUILD FILES)
+47 ;;^UTILITY(U,$J,"OPT",164,0)
+48 ;;=PSGW ITEM LOC PRINT^List Location Codes (80 column)^^P^^^^^^^^
+49 ;;^UTILITY(U,$J,"OPT",164,1,0)
+50 ;;=^^2^2^2930601^^^^
+51 ;;^UTILITY(U,$J,"OPT",164,1,1,0)
+52 ;;=Produces report of codes used to define the location of items in
+53 ;;^UTILITY(U,$J,"OPT",164,1,2,0)
+54 ;;=Areas of Use or in the pharmacy.
+55 ;;^UTILITY(U,$J,"OPT",164,60)
+56 ;;=PSI(58.17,
+57 ;;^UTILITY(U,$J,"OPT",164,62)
+58 ;;=0
+59 ;;^UTILITY(U,$J,"OPT",164,63)
+60 ;;=[PSGW ITEM LOC]
+61 ;;^UTILITY(U,$J,"OPT",164,64)
+62 ;;=[PSGW ITEM LOC]
+63 ;;^UTILITY(U,$J,"OPT",164,"U")
+64 ;;=LIST LOCATION CODES (80 COLUMN
+65 ;;^UTILITY(U,$J,"OPT",165,0)
+66 ;;=PSGW INV TYPE EDIT^Enter/Edit Inventory Types^^R^^^^^^^^AUTO REPLENISHMENT/WARD STOCK
+67 ;;^UTILITY(U,$J,"OPT",165,1,0)
+68 ;;=^^1^1^2930602^^^^
+69 ;;^UTILITY(U,$J,"OPT",165,1,1,0)
+70 ;;=Edit the file of Inventory Types used to classify Area of Use items.
+71 ;;^UTILITY(U,$J,"OPT",165,25)
+72 ;;=INVENT^PSGWEE
+73 ;;^UTILITY(U,$J,"OPT",165,"U")
+74 ;;=ENTER/EDIT INVENTORY TYPES
+75 ;;^UTILITY(U,$J,"OPT",166,0)
+76 ;;=PSGW INV TYPE^Print Inventory Types (80 column)^^P^^^^^^^^
+77 ;;^UTILITY(U,$J,"OPT",166,1,0)
+78 ;;=^^1^1^2870902^^
+79 ;;^UTILITY(U,$J,"OPT",166,1,1,0)
+80 ;;=Print the file of Inventory Types used to classify Area of Use items.
+81 ;;^UTILITY(U,$J,"OPT",166,60)
+82 ;;=PSI(58.16,
+83 ;;^UTILITY(U,$J,"OPT",166,62)
+84 ;;=0
+85 ;;^UTILITY(U,$J,"OPT",166,63)
+86 ;;=[PSGW INV TYPE]
+87 ;;^UTILITY(U,$J,"OPT",166,64)
+88 ;;=[PSGW INV TYPE]
+89 ;;^UTILITY(U,$J,"OPT",166,"U")
+90 ;;=PRINT INVENTORY TYPES (80 COLU
+91 ;;^UTILITY(U,$J,"OPT",167,0)
+92 ;;=PSGW REPORTS^Auto Replenishment Reports^^M^^^^^^^^
+93 ;;^UTILITY(U,$J,"OPT",167,1,0)
+94 ;;=^^2^2^2890926^^^^
+95 ;;^UTILITY(U,$J,"OPT",167,1,1,0)
+96 ;;=Menu giving access to various report options for Automatic Replenishment
+97 ;;^UTILITY(U,$J,"OPT",167,1,2,0)
+98 ;;=data.
+99 ;;^UTILITY(U,$J,"OPT",167,10,0)
+100 ;;=^19.01PI^12^9
+101 ;;^UTILITY(U,$J,"OPT",167,10,1,0)
+102 ;;=168^^11
+103 ;;^UTILITY(U,$J,"OPT",167,10,1,"^")
+104 ;;=PSGW STOCK PERCENTAGE
+105 ;;^UTILITY(U,$J,"OPT",167,10,2,0)
+106 ;;=161^^5
+107 ;;^UTILITY(U,$J,"OPT",167,10,2,"^")
+108 ;;=PSGW WARD INV PRINT
+109 ;;^UTILITY(U,$J,"OPT",167,10,3,0)
+110 ;;=186^^7
+111 ;;^UTILITY(U,$J,"OPT",167,10,3,"^")
+112 ;;=PSGW LOOKUP ITEM
+113 ;;^UTILITY(U,$J,"OPT",167,10,4,0)
+114 ;;=187^^15
+115 ;;^UTILITY(U,$J,"OPT",167,10,4,"^")
+116 ;;=PSGW USAGE REPORT
+117 ;;^UTILITY(U,$J,"OPT",167,10,8,0)
+118 ;;=209^^17
+119 ;;^UTILITY(U,$J,"OPT",167,10,8,"^")
+120 ;;=PSGW ZERO USAGE
+121 ;;^UTILITY(U,$J,"OPT",167,10,9,0)
+122 ;;=210^^13
+123 ;;^UTILITY(U,$J,"OPT",167,10,9,"^")
+124 ;;=PSGW RETURNS BREAKDOWN
+125 ;;^UTILITY(U,$J,"OPT",167,10,10,0)
+126 ;;=160^^1
+127 ;;^UTILITY(U,$J,"OPT",167,10,10,"^")
+128 ;;=PSGW PRINT AOU STOCK
+129 ;;^UTILITY(U,$J,"OPT",167,10,11,0)
+130 ;;=744^^9
+131 ;;^UTILITY(U,$J,"OPT",167,10,11,"^")
+132 ;;=PSGW ITEM INQUIRY
+133 ;;^UTILITY(U,$J,"OPT",167,10,12,0)
+134 ;;=816^^3
+135 ;;^UTILITY(U,$J,"OPT",167,10,12,"^")
+136 ;;=PSGW EXP REPORT
+137 ;;^UTILITY(U,$J,"OPT",167,99)
+138 ;;=55880,35236