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

PSGWI039.m

Go to the documentation of this file.
  1. PSGWI039 ; ; 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",197,1,4,0)
  1. ;;=and thus could not be added to the cumulative AMIS statistics.
  1. ;;^UTILITY(U,$J,"OPT",197,1,5,0)
  1. ;;=For the selected date range, the drug will be shown, and the user
  1. ;;^UTILITY(U,$J,"OPT",197,1,6,0)
  1. ;;=will be asked to supply the missing data. At that time, the routine
  1. ;;^UTILITY(U,$J,"OPT",197,1,7,0)
  1. ;;=will update the AMIS statistics, and delete the "AEX" cross-reference.
  1. ;;^UTILITY(U,$J,"OPT",197,25)
  1. ;;=PSGWCL
  1. ;;^UTILITY(U,$J,"OPT",197,"U")
  1. ;;=INCOMPLETE AMIS DATA
  1. ;;^UTILITY(U,$J,"OPT",198,0)
  1. ;;=PSGW RECALCULATE AMIS^Recalculate AMIS^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",198,1,0)
  1. ;;=^^5^5^2870902^^
  1. ;;^UTILITY(U,$J,"OPT",198,1,1,0)
  1. ;;=This option should be used ONLY after the AMIS report has been run,
  1. ;;^UTILITY(U,$J,"OPT",198,1,2,0)
  1. ;;=results have been found to be in error, and data in the Drug file
  1. ;;^UTILITY(U,$J,"OPT",198,1,3,0)
  1. ;;=has been changed to reflect the correct information. The purpose
  1. ;;^UTILITY(U,$J,"OPT",198,1,4,0)
  1. ;;=of this option is to correct the AMIS when data entry errors have
  1. ;;^UTILITY(U,$J,"OPT",198,1,5,0)
  1. ;;=caused the results to be inaccurate.
  1. ;;^UTILITY(U,$J,"OPT",198,25)
  1. ;;=PSGWRA
  1. ;;^UTILITY(U,$J,"OPT",198,"U")
  1. ;;=RECALCULATE AMIS
  1. ;;^UTILITY(U,$J,"OPT",199,0)
  1. ;;=PSGW PRINT AMIS REPORT^Print AMIS Report (132 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",199,1,0)
  1. ;;=^^2^2^2890126^^^^
  1. ;;^UTILITY(U,$J,"OPT",199,1,1,0)
  1. ;;=This option prints the AMIS report. Right margin should be at 132.
  1. ;;^UTILITY(U,$J,"OPT",199,1,2,0)
  1. ;;=The report may be queued to print at a later time.
  1. ;;^UTILITY(U,$J,"OPT",199,25)
  1. ;;=PSGWAR
  1. ;;^UTILITY(U,$J,"OPT",199,99)
  1. ;;=53515,48652
  1. ;;^UTILITY(U,$J,"OPT",199,"U")
  1. ;;=PRINT AMIS REPORT (132 COLUMN)
  1. ;;^UTILITY(U,$J,"OPT",201,0)
  1. ;;=PSGW PURGE^Obsolete Data Purge^^M^^PSGW PURGE^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",201,1,0)
  1. ;;=^^1^1^2880114^^^^
  1. ;;^UTILITY(U,$J,"OPT",201,1,1,0)
  1. ;;=This option is the main menu driver for purging AR/WS files.
  1. ;;^UTILITY(U,$J,"OPT",201,10,0)
  1. ;;=^19.01PI^2^2
  1. ;;^UTILITY(U,$J,"OPT",201,10,1,0)
  1. ;;=202^
  1. ;;^UTILITY(U,$J,"OPT",201,10,1,"^")
  1. ;;=PSGW PURGE AMIS
  1. ;;^UTILITY(U,$J,"OPT",201,10,2,0)
  1. ;;=203^
  1. ;;^UTILITY(U,$J,"OPT",201,10,2,"^")
  1. ;;=PSGW PURGE FILES
  1. ;;^UTILITY(U,$J,"OPT",201,99)
  1. ;;=55612,32988
  1. ;;^UTILITY(U,$J,"OPT",201,"U")
  1. ;;=OBSOLETE DATA PURGE
  1. ;;^UTILITY(U,$J,"OPT",202,0)
  1. ;;=PSGW PURGE AMIS^AMIS Data Purge^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",202,1,0)
  1. ;;=^^4^4^2910212^^^^
  1. ;;^UTILITY(U,$J,"OPT",202,1,1,0)
  1. ;;=This option allows the user to delete data from File 58.5 - the
  1. ;;^UTILITY(U,$J,"OPT",202,1,2,0)
  1. ;;=AR/WS Stats File. Data should be kept in this file for at least
  1. ;;^UTILITY(U,$J,"OPT",202,1,3,0)
  1. ;;=one quarter. The routine will not allow users to delete data
  1. ;;^UTILITY(U,$J,"OPT",202,1,4,0)
  1. ;;=that is less than 100 days old. The option is automatically queued.
  1. ;;^UTILITY(U,$J,"OPT",202,25)
  1. ;;=PSGWAP
  1. ;;^UTILITY(U,$J,"OPT",202,"U")
  1. ;;=AMIS DATA PURGE
  1. ;;^UTILITY(U,$J,"OPT",203,0)
  1. ;;=PSGW PURGE FILES^Purge Dispensing Data^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",203,1,0)
  1. ;;=^^5^5^2930624^^^^
  1. ;;^UTILITY(U,$J,"OPT",203,1,1,0)
  1. ;;=This option allows the user to delete data from Files 58.1, 58.3,
  1. ;;^UTILITY(U,$J,"OPT",203,1,2,0)
  1. ;;=and 58.19. Data should be kept in these files for at least one
  1. ;;^UTILITY(U,$J,"OPT",203,1,3,0)
  1. ;;=quarter. The routine will not allow users to delete data that is
  1. ;;^UTILITY(U,$J,"OPT",203,1,4,0)
  1. ;;=less than 100 days old. Since the option is CPU intensive, it should
  1. ;;^UTILITY(U,$J,"OPT",203,1,5,0)
  1. ;;=be queued to run during the "off" hours.
  1. ;;^UTILITY(U,$J,"OPT",203,25)
  1. ;;=PSGWOLD
  1. ;;^UTILITY(U,$J,"OPT",203,"U")
  1. ;;=PURGE DISPENSING DATA
  1. ;;^UTILITY(U,$J,"OPT",204,0)
  1. ;;=PSGW COST PER AOU^Cost Report Per AOU (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",204,1,0)
  1. ;;=^^10^10^2910221^^^^
  1. ;;^UTILITY(U,$J,"OPT",204,1,1,0)
  1. ;;=For a user selected date range, this report will show all active drugs for
  1. ;;^UTILITY(U,$J,"OPT",204,1,2,0)
  1. ;;=one AOU, several AOUs, or ALL AOUs, with total quantity dispensed and cost.