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.8445

Package: Drug Accountability

DRUG ACCOUNTABILITY STATS(#58.8)-->58.8445

Sub-Field: 58.8445


Information

Parent File Name Number Package
DRUG ACCOUNTABILITY STATS(#58.8) PRIMARY INVENTORY POINT(S) 58.8445 Drug Accountability

Details

Field # Name Loc Type Details
.01 PRIMARY INVENTORY POINT(S) 0;1 POINTER TO GENERIC INVENTORY FILE (#445) GENERIC INVENTORY(#445)

  • INPUT TRANSFORM:  S PRCPPRIV=1,DIC("S")="I $P(^(0),U,20)=""D""" D ^DIC K DIC S DIC=DIE,X=+Y K PRCPPRIV K:Y<0 X S:$D(X) DINUM=X
  • LAST EDITED:  JUL 29, 1997
  • HELP-PROMPT:  Only primary inventory points that are set up with a special inventory type of "D" for Drug Accountability may be selected.
  • DESCRIPTION:  
    To provide a direct link between a pharmacy inventory point and a pharmacy location entry in this file. Receiving that occurs in the inventory point will update on hand quantities in the pharmacy location.
  • TECHNICAL DESCR:  
    To provide a direct link between the GENERIC INVENTORY file (#445) and the DRUG ACCOUNTABILITY STATS file (#58.8).
  • SCREEN:  S DIC("S")="I $P(^(0),U,20)=""D"""
  • EXPLANATION:  Must be Special Inventory Type "D" for Drug Accountability.
  • LAYGO TEST:  1,0)= N PSA S PSA=$O(^PSD(58.8,"P",+X,0)) S:PSA=DA PSA=$O(^(DA)) D:$G(PSA) EN^DDIOL($C(7)_$P($G(^PSD(58.8,+$O(^PSD(58.8,"P",+X,0)),0)),U)_" is already linked to "_$$INVNAME^PRCPUX1(X)) I '$G(PSA)
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  58.8445^B
    1)= S ^PSD(58.8,DA(1),4,"B",$E(X,1,30),DA)=""
    2)= K ^PSD(58.8,DA(1),4,"B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  58.8^P
    1)= S ^PSD(58.8,"P",$E(X,1,30),DA(1),DA)=""
    2)= K ^PSD(58.8,"P",$E(X,1,30),DA(1),DA)
    When receiving occurs in a Primary Inventory Point flagged as a Drug Accountability special inventory type, this cross-reference will be used to locate the correct Drug Accountability location to update.
1 RECEIPT FAILURE NOTIFICATION? 0;2 SET
  • '1' FOR YES;
  • '0' FOR NO;

  • LAST EDITED:  JUL 29, 1997
  • HELP-PROMPT:  Enter "1" or "Y" to transmit a MailMan message to the receiver and the RECEIPT FAILURE mail group each time a failure occurs.
  • DESCRIPTION:  If a Drug Accountability location is linked to a primary inventory point, items received into the primary inventory point will also be updated in the Drug Accountability location. If items are received that are not
    connected to the DRUG file (#50) or not stocked in the Drug Accountability location, and this field is set to "YES", the receiver and the RECEIPT FAILURE mail group will be notified with a list of failed items.
  • TECHNICAL DESCR:  
    Set of codes - "1" for "YES" or "0" for "NO".
2 RECEIPT MAIL GROUP 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  JUL 29, 1997
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
  • DESCRIPTION:  
    Enter the name of the mail group that should receive messages whenever inventory items cannot be received into a pharmacy location and also this same group will receive DRUG file (#50) price update messages.
  • TECHNICAL DESCR:  
    When the routine PSAGIP is passed data by IFCAP, items that cannot be updated are listed in messages sent to the receiver and this group.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
Info |  Details