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

PSGWI038.m

Go to the documentation of this file.
  1. PSGWI038 ; ; 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",191,"U")
  1. ;;=ENTER AMIS DATA FOR ALL DRUGS/
  1. ;;^UTILITY(U,$J,"OPT",192,0)
  1. ;;=PSGW PRINT AMIS WORKSHEET^Print AMIS Worksheet (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",192,1,0)
  1. ;;=^^3^3^2891019^^^
  1. ;;^UTILITY(U,$J,"OPT",192,1,1,0)
  1. ;;=This option prints a worksheet to be used in classifying AR/WS
  1. ;;^UTILITY(U,$J,"OPT",192,1,2,0)
  1. ;;=drugs for AMIS. The print order is by "type", and within type
  1. ;;^UTILITY(U,$J,"OPT",192,1,3,0)
  1. ;;=the drug listing is alphabetical.
  1. ;;^UTILITY(U,$J,"OPT",192,25)
  1. ;;=PSGWPAW
  1. ;;^UTILITY(U,$J,"OPT",192,"U")
  1. ;;=PRINT AMIS WORKSHEET (80 COLUM
  1. ;;^UTILITY(U,$J,"OPT",193,0)
  1. ;;=PSGW PRINT DATA FOR AMIS STATS^Data for AMIS Stats - Print (132 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",193,1,0)
  1. ;;=^^2^2^2890410^^^
  1. ;;^UTILITY(U,$J,"OPT",193,1,1,0)
  1. ;;=This report will show the current data stored in the Drug File which
  1. ;;^UTILITY(U,$J,"OPT",193,1,2,0)
  1. ;;=will affect AR/WS AMIS statistics.
  1. ;;^UTILITY(U,$J,"OPT",193,25)
  1. ;;=PSGWADP
  1. ;;^UTILITY(U,$J,"OPT",193,"U")
  1. ;;=DATA FOR AMIS STATS - PRINT (1
  1. ;;^UTILITY(U,$J,"OPT",194,0)
  1. ;;=PSGW AOU RETURNS & AMIS COUNT^Identify AOU Returns & AMIS Count^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",194,1,0)
  1. ;;=^^8^8^2930622^^^^
  1. ;;^UTILITY(U,$J,"OPT",194,1,1,0)
  1. ;;=For AMIS purposes, the system must know how to credit returns.
  1. ;;^UTILITY(U,$J,"OPT",194,1,2,0)
  1. ;;=This option allows the user to identify the "usual" method of
  1. ;;^UTILITY(U,$J,"OPT",194,1,3,0)
  1. ;;=drug distribution to be credited for each AOU. ALL returns
  1. ;;^UTILITY(U,$J,"OPT",194,1,4,0)
  1. ;;=from the AOU will be credited to this method.
  1. ;;^UTILITY(U,$J,"OPT",194,1,5,0)
  1. ;;=For AMIS purposes, the system must know if the inventories for
  1. ;;^UTILITY(U,$J,"OPT",194,1,6,0)
  1. ;;=each AOU are to be counted in the AR/WS Stats File.
  1. ;;^UTILITY(U,$J,"OPT",194,1,7,0)
  1. ;;=MOST AOUs will count on AMIS, however, an AOU used for internal
  1. ;;^UTILITY(U,$J,"OPT",194,1,8,0)
  1. ;;=inventory purposes within the pharmacy should not.
  1. ;;^UTILITY(U,$J,"OPT",194,25)
  1. ;;=PSGWAOU
  1. ;;^UTILITY(U,$J,"OPT",194,"U")
  1. ;;=IDENTIFY AOU RETURNS & AMIS CO
  1. ;;^UTILITY(U,$J,"OPT",195,0)
  1. ;;=PSGW AOU RET/AMIS CT PRINT^Show AOU Status for AMIS (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",195,1,0)
  1. ;;=^^3^3^2890706^^^^
  1. ;;^UTILITY(U,$J,"OPT",195,1,1,0)
  1. ;;=This option shows the method of distribution credited for RETURNS
  1. ;;^UTILITY(U,$J,"OPT",195,1,2,0)
  1. ;;=for each AOU, and if the AOU is to be counted in AMIS stats.
  1. ;;^UTILITY(U,$J,"OPT",195,1,3,0)
  1. ;;=This option also displays the INPATIENT SITE designation for the AOU.
  1. ;;^UTILITY(U,$J,"OPT",195,25)
  1. ;;=PSGWRAC
  1. ;;^UTILITY(U,$J,"OPT",195,60)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",195,62)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",195,63)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",195,64)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",195,"U")
  1. ;;=SHOW AOU STATUS FOR AMIS (80 C
  1. ;;^UTILITY(U,$J,"OPT",196,0)
  1. ;;=PSGW AMIS^AR/WS AMIS Report^^M^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",196,1,0)
  1. ;;=^^2^2^2890126^^^^
  1. ;;^UTILITY(U,$J,"OPT",196,1,1,0)
  1. ;;=Main option for clearing exceptions, printing, and recalculating
  1. ;;^UTILITY(U,$J,"OPT",196,1,2,0)
  1. ;;=the AMIS report.
  1. ;;^UTILITY(U,$J,"OPT",196,10,0)
  1. ;;=^19.01PI^3^3
  1. ;;^UTILITY(U,$J,"OPT",196,10,1,0)
  1. ;;=197^^1
  1. ;;^UTILITY(U,$J,"OPT",196,10,1,"^")
  1. ;;=PSGW CLEAR AMIS EXCEPTIONS
  1. ;;^UTILITY(U,$J,"OPT",196,10,2,0)
  1. ;;=198^^3
  1. ;;^UTILITY(U,$J,"OPT",196,10,2,"^")
  1. ;;=PSGW RECALCULATE AMIS
  1. ;;^UTILITY(U,$J,"OPT",196,10,3,0)
  1. ;;=199^^2
  1. ;;^UTILITY(U,$J,"OPT",196,10,3,"^")
  1. ;;=PSGW PRINT AMIS REPORT
  1. ;;^UTILITY(U,$J,"OPT",196,99)
  1. ;;=55612,32989
  1. ;;^UTILITY(U,$J,"OPT",196,"U")
  1. ;;=AR/WS AMIS REPORT
  1. ;;^UTILITY(U,$J,"OPT",197,0)
  1. ;;=PSGW CLEAR AMIS EXCEPTIONS^Incomplete AMIS Data^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",197,1,0)
  1. ;;=^^7^7^2910304^^^^
  1. ;;^UTILITY(U,$J,"OPT",197,1,1,0)
  1. ;;=This option loops through the "AEX" - exceptions cross-reference in the
  1. ;;^UTILITY(U,$J,"OPT",197,1,2,0)
  1. ;;=AR/WS Stats File - 58.5. Drugs in this cross-reference had data
  1. ;;^UTILITY(U,$J,"OPT",197,1,3,0)
  1. ;;=missing from the Drug file at the time the quantity was dispensed,