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

PSGWI040.m

Go to the documentation of this file.
  1. PSGWI040 ; ; 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",204,1,3,0)
  1. ;;=(It will print only Bottom Totals if desired.)
  1. ;;^UTILITY(U,$J,"OPT",204,1,4,0)
  1. ;;=The report gives a total of all quantities dispensed and all drug costs
  1. ;;^UTILITY(U,$J,"OPT",204,1,5,0)
  1. ;;=for that AOU. Also, if wards/locations and services have been defined
  1. ;;^UTILITY(U,$J,"OPT",204,1,6,0)
  1. ;;=for the AOU, a breakdown report will print. It shows the defined
  1. ;;^UTILITY(U,$J,"OPT",204,1,7,0)
  1. ;;=wards/locations percentage of total, and cost per ward/location.
  1. ;;^UTILITY(U,$J,"OPT",204,1,8,0)
  1. ;;=If services are defined, it shows the defined services, percentage of
  1. ;;^UTILITY(U,$J,"OPT",204,1,9,0)
  1. ;;=ward/location and cost per service. The report may be queued to print
  1. ;;^UTILITY(U,$J,"OPT",204,1,10,0)
  1. ;;=at a later time.
  1. ;;^UTILITY(U,$J,"OPT",204,25)
  1. ;;=PSGWCPA
  1. ;;^UTILITY(U,$J,"OPT",204,"U")
  1. ;;=COST REPORT PER AOU (80 COLUMN
  1. ;;^UTILITY(U,$J,"OPT",205,0)
  1. ;;=PSGW SHOW AREA OF USE^Show AOU/Ward/Service (132 column)^^P^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",205,1,0)
  1. ;;=^^2^2^2890906^^^^
  1. ;;^UTILITY(U,$J,"OPT",205,1,1,0)
  1. ;;=This option allows the user to see the AOUs/wards/services created in the
  1. ;;^UTILITY(U,$J,"OPT",205,1,2,0)
  1. ;;="Create the Area of Use" option.
  1. ;;^UTILITY(U,$J,"OPT",205,60)
  1. ;;=PSI(58.1,
  1. ;;^UTILITY(U,$J,"OPT",205,62)
  1. ;;=0
  1. ;;^UTILITY(U,$J,"OPT",205,63)
  1. ;;=[PSGW SHOW AREA OF USE]
  1. ;;^UTILITY(U,$J,"OPT",205,64)
  1. ;;=[PSGW SHOW AREA OF USE]
  1. ;;^UTILITY(U,$J,"OPT",205,65)
  1. ;;=FIRST
  1. ;;^UTILITY(U,$J,"OPT",205,66)
  1. ;;=LAST
  1. ;;^UTILITY(U,$J,"OPT",205,"U")
  1. ;;=SHOW AOU/WARD/SERVICE (132 COL
  1. ;;^UTILITY(U,$J,"OPT",206,0)
  1. ;;=PSGW HIGH COST^High Cost Report (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",206,1,0)
  1. ;;=^^5^5^2910212^^^^
  1. ;;^UTILITY(U,$J,"OPT",206,1,1,0)
  1. ;;=This option allows the user to see drugs/items dispensed in AR/WS
  1. ;;^UTILITY(U,$J,"OPT",206,1,2,0)
  1. ;;=in alphabetical or cost order. The user selects a date range, and
  1. ;;^UTILITY(U,$J,"OPT",206,1,3,0)
  1. ;;=a "cut off" amount for the report. The report may be calculated for
  1. ;;^UTILITY(U,$J,"OPT",206,1,4,0)
  1. ;;=a single AOU, or cumulatively for all AOUs. Report may be queued to
  1. ;;^UTILITY(U,$J,"OPT",206,1,5,0)
  1. ;;=print at a later time.
  1. ;;^UTILITY(U,$J,"OPT",206,25)
  1. ;;=PSGWHC
  1. ;;^UTILITY(U,$J,"OPT",206,"U")
  1. ;;=HIGH COST REPORT (80 COLUMN)
  1. ;;^UTILITY(U,$J,"OPT",207,0)
  1. ;;=PSGW HIGH VOLUME^High Volume Report (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",207,1,0)
  1. ;;=^^3^3^2870902^^
  1. ;;^UTILITY(U,$J,"OPT",207,1,1,0)
  1. ;;=For a selected date range, the user may print a report showing
  1. ;;^UTILITY(U,$J,"OPT",207,1,2,0)
  1. ;;=drug usage in decreasing order for either a selected AOU or
  1. ;;^UTILITY(U,$J,"OPT",207,1,3,0)
  1. ;;=for all AOUs combined.
  1. ;;^UTILITY(U,$J,"OPT",207,10,0)
  1. ;;=^19.01IP^0^0
  1. ;;^UTILITY(U,$J,"OPT",207,25)
  1. ;;=PSGWHV
  1. ;;^UTILITY(U,$J,"OPT",207,"U")
  1. ;;=HIGH VOLUME REPORT (80 COLUMN)
  1. ;;^UTILITY(U,$J,"OPT",208,0)
  1. ;;=PSGW PRINT SETUP LISTS^Print Set Up Lists^^M^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",208,1,0)
  1. ;;=^^2^2^2870902^^
  1. ;;^UTILITY(U,$J,"OPT",208,1,1,0)
  1. ;;=This option contains all "reports" or lists associated with setting
  1. ;;^UTILITY(U,$J,"OPT",208,1,2,0)
  1. ;;=up the files for AR/WS.
  1. ;;^UTILITY(U,$J,"OPT",208,10,0)
  1. ;;=^19.01PI^6^6
  1. ;;^UTILITY(U,$J,"OPT",208,10,1,0)
  1. ;;=166^^1
  1. ;;^UTILITY(U,$J,"OPT",208,10,1,"^")
  1. ;;=PSGW INV TYPE
  1. ;;^UTILITY(U,$J,"OPT",208,10,2,0)
  1. ;;=164^^3
  1. ;;^UTILITY(U,$J,"OPT",208,10,2,"^")
  1. ;;=PSGW ITEM LOC PRINT
  1. ;;^UTILITY(U,$J,"OPT",208,10,3,0)
  1. ;;=205^^5
  1. ;;^UTILITY(U,$J,"OPT",208,10,3,"^")
  1. ;;=PSGW SHOW AREA OF USE
  1. ;;^UTILITY(U,$J,"OPT",208,10,4,0)
  1. ;;=160^^7
  1. ;;^UTILITY(U,$J,"OPT",208,10,4,"^")
  1. ;;=PSGW PRINT AOU STOCK
  1. ;;^UTILITY(U,$J,"OPT",208,10,5,0)
  1. ;;=159^^9
  1. ;;^UTILITY(U,$J,"OPT",208,10,5,"^")
  1. ;;=PSGW AOU INV GROUP PRINT
  1. ;;^UTILITY(U,$J,"OPT",208,10,6,0)
  1. ;;=608^^6
  1. ;;^UTILITY(U,$J,"OPT",208,10,6,"^")
  1. ;;=PSGW STOCK ITEM DATA
  1. ;;^UTILITY(U,$J,"OPT",208,99)
  1. ;;=55612,32994
  1. ;;^UTILITY(U,$J,"OPT",208,"U")
  1. ;;=PRINT SET UP LISTS
  1. ;;^UTILITY(U,$J,"OPT",209,0)
  1. ;;=PSGW ZERO USAGE^Zero Usage Report (80 column)^^R^^^^^^^^