Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^PSD(58.811

Package: Drug Accountability

Global: ^PSD(58.811


Information

FileMan FileNo FileMan Filename Package
58.811 DRUG ACCOUNTABILITY ORDER Drug Accountability

Description

Directly Accessed By Routines, Total: 39

Package Total Routines
Drug Accountability 36 ADJUSTMENTS    CREDITS    INVOICE DATA    LINE ITEM DATA    PRIMARY INVENTORY POINT(S)    PSABRKU4    PSACOST    PSACREDO
PSACREDR    PSALOGON    PSAORDP    PSAORDP1    PSAP67    PSAPRE71    PSAPROC7    PSAPROC8
PSAPTCH    PSAPUR    PSAPV    PSAUP1    PSAUTL3    PSAUTL4    PSAUTL5    PSAUTL6
PSAVER    PSAVER1    PSAVER2    PSAVER3    PSAVER4    PSAVER5    PSAVER6    PSAVERA
PSAVERA2    ^PSD(58.811    PSAVERA1    PSAVERA3    
Pharmacy Benefits Management 1 PSUPR2    

Accessed By FileMan Db Calls, Total: 5

Package Total Routines
Drug Accountability 5 PSACREDR    PSAPROC7    PSAPUR    PSAVER6    PSAVERA    

Pointer To FileMan Files, Total: 4

Package Total FileMan Files
Drug Accountability 1 DRUG ACCOUNTABILITY STATS(#58.8)[#58.8112(4)#58.8112(13)]    
Kernel 1 NEW PERSON(#200)[#58.8112(11)#58.8112(12)#58.81125(6)#58.81125(8)#58.811259(4)#58.811259(8)]    
Outpatient Pharmacy 1 ORDER UNIT(#51.5)[#58.81125(3)]    
Pharmacy Data Management 1 DRUG(#50)[#58.81125(1)]    

Fields, Total: 3

Field # Name Loc Type Details
.01 ORDER NUMBER 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>22!($L(X)<1)!'(X'?1P.E) X
  • LAST EDITED:  OCT 21, 1997
  • HELP-PROMPT:  Enter the order number.
  • DESCRIPTION:  
    The ORDER NUMBER field contains number of the order placed with the prime vendor.
    WRITE AUTHORITY: ^
  • CROSS-REFERENCE:  58.811^B
    1)= S ^PSD(58.811,"B",$E(X,1,30),DA)=""
    2)= K ^PSD(58.811,"B",$E(X,1,30),DA)
    3)= DO NOT DELETE!
    This cross-reference is used to locate an order number.
  • CROSS-REFERENCE:  58.811^AINV2^MUMPS
    1)= D SETAORD^PSAUTL3
    2)= D KILLAORD^PSAUTL3
    3)= DO NOT DELETE!
    This cross-reference is used to determine if an order's invoice has been received. It set the "AORD" cross-reference.
    ^PSD(58.811,"AORD",ORDER NUMBER,INVOICE NUMBER,DA,Invoice internal entry#)=""
1 VENDOR NAME 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  OCT 21, 1997
  • HELP-PROMPT:  Enter the vendor's name.
  • DESCRIPTION:  
    The VENDOR NAME field contains the name of the vendor from whom the order was placed.
    WRITE AUTHORITY: ^
2 INVOICE DATA 1;0 Multiple #58.8112 58.8112

  • LAST EDITED:  SEP 26, 1997
  • DESCRIPTION:  
    The INVOICE DATA multiple contains detail invoice data. It contains the line item data and adjustment data.
    WRITE AUTHORITY: ^
  • IDENTIFIED BY:  INVOICE DATE(#1)

ICR, Total: 2

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #2521
  • Pharmacy Benefits Management
  • Vendor name (1).
    Access: Direct Global Read & w/Fileman

    ORDER NUMBER (.01).
    Access: Direct Global Read & w/Fileman

    Invoice Number (.01).
    Access: Direct Global Read & w/Fileman

    INVOICE STATUS (2).
    Access: Direct Global Read & w/Fileman

    Pharmacy Location (4).
    Access: Direct Global Read & w/Fileman

    Master Vault (13).
    Access: Direct Global Read & w/Fileman

    INVOICE DATE (1).
    Access: Direct Global Read & w/Fileman

    ORDER DATE (3).
    Access: Direct Global Read & w/Fileman

    DELIVERY DATE (7).
    Access: Direct Global Read & w/Fileman

    Drug (1).
    Access: Direct Global Read & w/Fileman

    Quantity Invoiced (2).
    Access: Direct Global Read & w/Fileman

    Order unit (3).
    Access: Direct Global Read & w/Fileman

    Price per Order Unit (4).
    Access: Direct Global Read & w/Fileman

    Date verified (7).
    Access: Direct Global Read & w/Fileman

    NDC (13).
    Access: Direct Global Read & w/Fileman

    VSN (14).
    Access: Direct Global Read & w/Fileman

    UPC (15).
    Access: Direct Global Read & w/Fileman

    LINE ITEM NUMBER (.01).
    Access: Direct Global Read & w/Fileman

    DATE PROCESSED (5).
    Access: Direct Global Read & w/Fileman

    PROCESSOR (6).
    Access: Direct Global Read & w/Fileman

    VERIFIER (8).
    Access: Direct Global Read & w/Fileman

    CONTROLLED SUBSTANCE? (12).
    Access: Direct Global Read & w/Fileman

    Adjusted field (.01).
    Access: Direct Global Read & w/Fileman

    Verifier Adjustment (5).
    Access: Direct Global Read & w/Fileman

    PROCESSOR ADJUSTMENT (1).
    Access: Direct Global Read & w/Fileman

    PROCESSOR'S REASON (2).
    Access: Direct Global Read & w/Fileman

    PROCESS DATE (3).
    Access: Direct Global Read & w/Fileman

    PROCESSOR (4).
    Access: Direct Global Read & w/Fileman

    VERIFIER'S REASON (6).
    Access: Direct Global Read & w/Fileman

    VERIFICATION DATE (7).
    Access: Direct Global Read & w/Fileman

    VERIFIER (8).
    Access: Direct Global Read & w/Fileman

    Dispense Units Per Order Unit (10).
    Access: Direct Global Read & w/Fileman

    Synonym Node (16).
    Access: Direct Global Read & w/Fileman

    REORDER LEVEL (11).
    Access: Direct Global Read & w/Fileman

    STOCK LEVEL (17).
    Access: Direct Global Read & w/Fileman

    LINE ITEM DATA (5).
    Access: Direct Global Read & w/Fileman

    ADJUSTMENTS (9).
    Access: Direct Global Read & w/Fileman

    INVOICE DATA (2).
    Access: Direct Global Read & w/Fileman

    ICR #2809
  • Controlled Substances
  • External References

    Name Field # of Occurrence
    KILLAORD^PSAUTL3 .01(XREF 2K)
    SETAORD^PSAUTL3 .01(XREF 2S)

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PSD(58.811 - [#58.811] .01(XREF 1S), .01(XREF 1K)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> DA .01(XREF 1S), .01(XREF 1K)
    X .01+1!, .01(XREF 1S), .01(XREF 1K), 1+1!
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All