Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: 58.15

Package: Auto Replenishment Ward Stock

PHARMACY AOU STOCK(#58.1)-->58.11-->58.15

Sub-Field: 58.15


Information

Parent File Name Number Package
58.11 RETURNS 58.15 Auto Replenishment Ward Stock

Details

Field # Name Loc Type Details
.01 DATE OF RETURN 0;1 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X S:$D(X) DINUM=X
  • LAST EDITED:  FEB 13, 1990
  • DESCRIPTION:  
    This contains the date the item was returned from the Area of Use.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
1 RETURN QUANTITY 0;2 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."1N.N) X D:$D(X) OND^PSGWUTL
  • LAST EDITED:  FEB 28, 1991
  • HELP-PROMPT:  Type a Number between 0 and 9999, 0 Decimal Digits.
  • DESCRIPTION:  
    This contains the quantity returned from the Area of Use for the item.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  58.15^AMIS^MUMPS
    1)= Q:$D(PSGWV) D RET^PSGWUTL
    2)= Q:$D(PSGWV) D KRET^PSGWUTL
    This cross-reference is set everytime a quantity greater than zero is returned for a stock item. The nightly job "Update AMIS Stats File" will process this cross-reference and store the data in the AR/WS Stats File
    (#58.5). After the cross-reference is processed, it is deleted.
  • CROSS-REFERENCE:  58.15^AMISERR^MUMPS
    1)= Q:$D(PSGWV) D RETERR^PSGWUTL
    2)= Q:$D(PSGWV) D KRETERR^PSGWUTL
    This cross-reference is set by the nightly job "Update AMIS Stats File" if an AMIS transaction is found to have invalid or missing Inpatient Site data. Existence of this cross-reference will cause a MailMan message
    to be sent to holders of the PSGWMGR security key informing them of the invalid or missing data.
2 RETURN REASON 1;0 SET Multiple #58.152 58.152
3 COMPILED INTO AMIS? 0;4 SET

  • LAST EDITED:  JAN 26, 1988
  • DESCRIPTION:  A TaskMan background routine ^PSGWUAS (option PSGW UPDATE AMIS STATS) runs each night. As the data for a return transaction is completed, this "COMPILED FLAG" will be set to "1". This will enable the
    cross-reference ^PSI(58.5,"AMIS") to be recompiled via the option PSGW RE-INDEX AMIS or via VA FileMan should the need arise.
Info |  Details