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

PSGWI042.m

Go to the documentation of this file.
  1. PSGWI042 ; ; 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",214,1,1,0)
  1. ;;=This option will "copy" the active stock entries from a selected
  1. ;;^UTILITY(U,$J,"OPT",214,1,2,0)
  1. ;;=Area of Use into one or more selected Areas. As many as 10 Areas
  1. ;;^UTILITY(U,$J,"OPT",214,1,3,0)
  1. ;;=may be chosen for transfer at one time. You may transfer either
  1. ;;^UTILITY(U,$J,"OPT",214,1,4,0)
  1. ;;=the drug name only, or the drug name, stock level, and location
  1. ;;^UTILITY(U,$J,"OPT",214,1,5,0)
  1. ;;=code. The "copy" process will not copy inactive drugs or duplicate
  1. ;;^UTILITY(U,$J,"OPT",214,1,6,0)
  1. ;;=entries. The actual transfer takes place in a background job which
  1. ;;^UTILITY(U,$J,"OPT",214,1,7,0)
  1. ;;=is automatically queued. When the transfer is complete, you will
  1. ;;^UTILITY(U,$J,"OPT",214,1,8,0)
  1. ;;=be notified by a MailMan message.
  1. ;;^UTILITY(U,$J,"OPT",214,25)
  1. ;;=PSGWTR
  1. ;;^UTILITY(U,$J,"OPT",214,"U")
  1. ;;=TRANSFER AOU STOCK ENTRIES
  1. ;;^UTILITY(U,$J,"OPT",216,0)
  1. ;;=PSGW SINGLE ITEM COST^Single Item Cost Report (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",216,1,0)
  1. ;;=^^2^2^2930611^^^
  1. ;;^UTILITY(U,$J,"OPT",216,1,1,0)
  1. ;;=For a selected date range, this option gives total cost for a single
  1. ;;^UTILITY(U,$J,"OPT",216,1,2,0)
  1. ;;=item from one AOU, several AOUs, or ALL AOUs.
  1. ;;^UTILITY(U,$J,"OPT",216,25)
  1. ;;=PSGWSC
  1. ;;^UTILITY(U,$J,"OPT",216,"U")
  1. ;;=SINGLE ITEM COST REPORT (80 CO
  1. ;;^UTILITY(U,$J,"OPT",597,0)
  1. ;;=PSGW EXPIRATION ENTER/EDIT^Expiration Date - Enter/Edit^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",597,1,0)
  1. ;;=^^2^2^2890830^^^
  1. ;;^UTILITY(U,$J,"OPT",597,1,1,0)
  1. ;;=This option will allow the entry of expiration dates for the items
  1. ;;^UTILITY(U,$J,"OPT",597,1,2,0)
  1. ;;=in an AOU.
  1. ;;^UTILITY(U,$J,"OPT",597,25)
  1. ;;=PSGWEXP
  1. ;;^UTILITY(U,$J,"OPT",597,"U")
  1. ;;=EXPIRATION DATE - ENTER/EDIT
  1. ;;^UTILITY(U,$J,"OPT",605,0)
  1. ;;=PSGW AOU INACTIVATION^Inactivate AOU^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",605,1,0)
  1. ;;=^^2^2^2890130^^^
  1. ;;^UTILITY(U,$J,"OPT",605,1,1,0)
  1. ;;=This option will allow the user to inactivate an AOU. An Inactive
  1. ;;^UTILITY(U,$J,"OPT",605,1,2,0)
  1. ;;=Date may be in the future.
  1. ;;^UTILITY(U,$J,"OPT",605,25)
  1. ;;=PSGWAOUI
  1. ;;^UTILITY(U,$J,"OPT",605,"U")
  1. ;;=INACTIVATE AOU
  1. ;;^UTILITY(U,$J,"OPT",606,0)
  1. ;;=PSGW WARD CONVERSION^Ward (For Item) Conversion^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",606,1,0)
  1. ;;=^^6^6^2890809^^^^
  1. ;;^UTILITY(U,$J,"OPT",606,1,1,0)
  1. ;;=This option will enable a user to change the WARD (FOR ITEM) designation
  1. ;;^UTILITY(U,$J,"OPT",606,1,2,0)
  1. ;;=from the old ward to a new ward for all Items in all AOUs or a single AOU.
  1. ;;^UTILITY(U,$J,"OPT",606,1,3,0)
  1. ;;=This can be used, for example, when a ward is closed down for construction.
  1. ;;^UTILITY(U,$J,"OPT",606,1,4,0)
  1. ;;=A background job can be queued for a later time to do the conversion and
  1. ;;^UTILITY(U,$J,"OPT",606,1,5,0)
  1. ;;=a MailMan message will be sent to the person who queued the job when it
  1. ;;^UTILITY(U,$J,"OPT",606,1,6,0)
  1. ;;=has run to completion.
  1. ;;^UTILITY(U,$J,"OPT",606,25)
  1. ;;=PSGWCHG
  1. ;;^UTILITY(U,$J,"OPT",606,"U")
  1. ;;=WARD (FOR ITEM) CONVERSION
  1. ;;^UTILITY(U,$J,"OPT",607,0)
  1. ;;=PSGW DELETE INVENTORY^Delete Inventory Date/Time^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",607,1,0)
  1. ;;=^^3^3^2890214^^^^
  1. ;;^UTILITY(U,$J,"OPT",607,1,1,0)
  1. ;;=This option will allow a user to delete an Inventory Sheet that has no
  1. ;;^UTILITY(U,$J,"OPT",607,1,2,0)
  1. ;;=entries in the Pharmacy AOU Stock file (#58.1), or in the Pharmacy
  1. ;;^UTILITY(U,$J,"OPT",607,1,3,0)
  1. ;;=Backorder file (#58.3).
  1. ;;^UTILITY(U,$J,"OPT",607,25)
  1. ;;=PSGWDEL
  1. ;;^UTILITY(U,$J,"OPT",607,"U")
  1. ;;=DELETE INVENTORY DATE/TIME
  1. ;;^UTILITY(U,$J,"OPT",608,0)
  1. ;;=PSGW STOCK ITEM DATA^Print AR/WS Stock Item Data (132 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",608,1,0)
  1. ;;=^^4^4^2891019^^^^
  1. ;;^UTILITY(U,$J,"OPT",608,1,1,0)
  1. ;;=This option will print a listing of all ACTIVE items defined in
  1. ;;^UTILITY(U,$J,"OPT",608,1,2,0)
  1. ;;=the Pharmacy AOU Stock file (#58.1) in alphabetical order. The
  1. ;;^UTILITY(U,$J,"OPT",608,1,3,0)
  1. ;;=report will show all AOUs that stock the item, stock levels,
  1. ;;^UTILITY(U,$J,"OPT",608,1,4,0)
  1. ;;=all Wards (For Item), all Types, and location.