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

PSGWI041.m

Go to the documentation of this file.
  1. PSGWI041 ; ; 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",209,1,0)
  1. ;;=^^3^3^2910206^^^
  1. ;;^UTILITY(U,$J,"OPT",209,1,1,0)
  1. ;;=For a user selected time frame, this report prints all items with no
  1. ;;^UTILITY(U,$J,"OPT",209,1,2,0)
  1. ;;=usage. The report may be printed for a one AOU, several AOUs, or
  1. ;;^UTILITY(U,$J,"OPT",209,1,3,0)
  1. ;;=for ALL AOUs.
  1. ;;^UTILITY(U,$J,"OPT",209,25)
  1. ;;=PSGWNU
  1. ;;^UTILITY(U,$J,"OPT",209,"U")
  1. ;;=ZERO USAGE REPORT (80 COLUMN)
  1. ;;^UTILITY(U,$J,"OPT",210,0)
  1. ;;=PSGW RETURNS BREAKDOWN^Returns Analysis Report (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",210,1,0)
  1. ;;=^^4^4^2910212^^^^
  1. ;;^UTILITY(U,$J,"OPT",210,1,1,0)
  1. ;;=For a user selected date range, this report shows the break down of
  1. ;;^UTILITY(U,$J,"OPT",210,1,2,0)
  1. ;;=returns information. The report may be printed for one AOU, several
  1. ;;^UTILITY(U,$J,"OPT",210,1,3,0)
  1. ;;=AOUs or for all AOUs. Return date, return quantity, and return
  1. ;;^UTILITY(U,$J,"OPT",210,1,4,0)
  1. ;;=reason are shown for each drug.
  1. ;;^UTILITY(U,$J,"OPT",210,25)
  1. ;;=PSGWDR
  1. ;;^UTILITY(U,$J,"OPT",210,"U")
  1. ;;=RETURNS ANALYSIS REPORT (80 CO
  1. ;;^UTILITY(U,$J,"OPT",211,0)
  1. ;;=PSGW RN^Auto Replenishment/Ward Stock Nurses' Menu^^M^^^^^^^^AR/WS PATCH NAMESPACE^^1^1
  1. ;;^UTILITY(U,$J,"OPT",211,1,0)
  1. ;;=^^2^2^2930325^^^^
  1. ;;^UTILITY(U,$J,"OPT",211,1,1,0)
  1. ;;=This is the main menu driver for Automatic Replenishment/Ward Stock
  1. ;;^UTILITY(U,$J,"OPT",211,1,2,0)
  1. ;;=options for Nurses.
  1. ;;^UTILITY(U,$J,"OPT",211,10,0)
  1. ;;=^19.01PI^3^3
  1. ;;^UTILITY(U,$J,"OPT",211,10,1,0)
  1. ;;=188^
  1. ;;^UTILITY(U,$J,"OPT",211,10,1,"^")
  1. ;;=PSGW ON-DEMAND NURSING EDIT
  1. ;;^UTILITY(U,$J,"OPT",211,10,2,0)
  1. ;;=186^
  1. ;;^UTILITY(U,$J,"OPT",211,10,2,"^")
  1. ;;=PSGW LOOKUP ITEM
  1. ;;^UTILITY(U,$J,"OPT",211,10,3,0)
  1. ;;=160^
  1. ;;^UTILITY(U,$J,"OPT",211,10,3,"^")
  1. ;;=PSGW PRINT AOU STOCK
  1. ;;^UTILITY(U,$J,"OPT",211,15)
  1. ;;=K PSGWSITE
  1. ;;^UTILITY(U,$J,"OPT",211,20)
  1. ;;=I '$D(PSGWSITE) D ^PSGWSET
  1. ;;^UTILITY(U,$J,"OPT",211,99)
  1. ;;=55612,32991
  1. ;;^UTILITY(U,$J,"OPT",211,99.1)
  1. ;;=54871,46744
  1. ;;^UTILITY(U,$J,"OPT",211,"U")
  1. ;;=AUTO REPLENISHMENT/WARD STOCK
  1. ;;^UTILITY(U,$J,"OPT",212,0)
  1. ;;=PSGW UPDATE AMIS STATS^Update AMIS Stats File^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",212,1,0)
  1. ;;=^^4^4^2930518^^^^
  1. ;;^UTILITY(U,$J,"OPT",212,1,1,0)
  1. ;;=This option is a background job scheduled to run each night. The purpose
  1. ;;^UTILITY(U,$J,"OPT",212,1,2,0)
  1. ;;=of the option is to loop through the "temporary" inventory global and move
  1. ;;^UTILITY(U,$J,"OPT",212,1,3,0)
  1. ;;=the data into the AMIS sub-file. The rescheduling frequency for this
  1. ;;^UTILITY(U,$J,"OPT",212,1,4,0)
  1. ;;=option is one day.
  1. ;;^UTILITY(U,$J,"OPT",212,25)
  1. ;;=PSGWUAS
  1. ;;^UTILITY(U,$J,"OPT",212,200)
  1. ;;=2910731.22^^1D
  1. ;;^UTILITY(U,$J,"OPT",212,"U")
  1. ;;=UPDATE AMIS STATS FILE
  1. ;;^UTILITY(U,$J,"OPT",213,0)
  1. ;;=PSGW MGT REPORTS^Management Reports^^M^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",213,1,0)
  1. ;;=^^2^2^2930817^^^^
  1. ;;^UTILITY(U,$J,"OPT",213,1,1,0)
  1. ;;=This menu gives access to various management reports, including the
  1. ;;^UTILITY(U,$J,"OPT",213,1,2,0)
  1. ;;=printing of the AMIS report.
  1. ;;^UTILITY(U,$J,"OPT",213,10,0)
  1. ;;=^19.01PI^7^7
  1. ;;^UTILITY(U,$J,"OPT",213,10,1,0)
  1. ;;=196^^1
  1. ;;^UTILITY(U,$J,"OPT",213,10,1,"^")
  1. ;;=PSGW AMIS
  1. ;;^UTILITY(U,$J,"OPT",213,10,2,0)
  1. ;;=204^^3
  1. ;;^UTILITY(U,$J,"OPT",213,10,2,"^")
  1. ;;=PSGW COST PER AOU
  1. ;;^UTILITY(U,$J,"OPT",213,10,3,0)
  1. ;;=206^^7
  1. ;;^UTILITY(U,$J,"OPT",213,10,3,"^")
  1. ;;=PSGW HIGH COST
  1. ;;^UTILITY(U,$J,"OPT",213,10,4,0)
  1. ;;=207^^9
  1. ;;^UTILITY(U,$J,"OPT",213,10,4,"^")
  1. ;;=PSGW HIGH VOLUME
  1. ;;^UTILITY(U,$J,"OPT",213,10,5,0)
  1. ;;=216^^5
  1. ;;^UTILITY(U,$J,"OPT",213,10,5,"^")
  1. ;;=PSGW SINGLE ITEM COST
  1. ;;^UTILITY(U,$J,"OPT",213,10,6,0)
  1. ;;=1314
  1. ;;^UTILITY(U,$J,"OPT",213,10,6,"^")
  1. ;;=PSGW DUPLICATE REPORT
  1. ;;^UTILITY(U,$J,"OPT",213,10,7,0)
  1. ;;=1316
  1. ;;^UTILITY(U,$J,"OPT",213,10,7,"^")
  1. ;;=PSGW STANDARD COST REPORT
  1. ;;^UTILITY(U,$J,"OPT",213,99)
  1. ;;=55746,45030
  1. ;;^UTILITY(U,$J,"OPT",213,"U")
  1. ;;=MANAGEMENT REPORTS
  1. ;;^UTILITY(U,$J,"OPT",214,0)
  1. ;;=PSGW TRANSFER ENTRIES^Transfer AOU Stock Entries^^R^^PSGW TRAN^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",214,1,0)
  1. ;;=^^8^8^2871210^^^