Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PSSNDCUT

Package: Pharmacy Data Management

Routine: PSSNDCUT


Information

PSSNDCUT ;BIRM/MFR - NDC Utilities ;10/15/04

Source Information

Source file <PSSNDCUT.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA FileMan 3 FILE^DICN  ^DIE  $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 15

Package Total Caller Graph
Outpatient Pharmacy 14 PSOBPSU1  PSOBPSUT  PSODRG  PSOHLDIS  PSON52  PSONDCUT  PSOORDRG  PSOORNW1  
PSOORNW2  PSOR52  PSORLLL2  PSORLLL3  PSOSULBL  PSOVER1  
Drug Accountability 1 PSANDCUT  

Entry Points

Name Comments DBIA/ICR reference
SAVNDC(DRG,SITE,NDC,CMP) ; Saves the NDC in the DRUG file (Format: 5-4-2)
; Input: (r) DRG - Drug IEN (#50)
; (r) SITE - Outpatient Site IEN (#59)
; (r) NDC - NDC Number
; (o) CMP - CMOP? (1-YES/0-NO)
  • ICR #4707
    • Status: Active
    • Usage: Controlled Subscription
    NDCFMT(NDC) ; Formats NDC codes into 5-4-2
  • ICR #4707
    • Status: Active
    • Usage: Controlled Subscription
    GETNDC(DRG,SITE,CMOP) ; Retuns the NDC for a specific Drug/Site/CMOP or NON-CMOP
  • ICR #4707
    • Status: Active
    • Usage: Controlled Subscription
    CHKCH(STR)

    External References

    Name Field # of Occurrence
    FILE^DICN SAVNDC+13
    ^DIE SAVNDC+17
    $$GET1^DIQ GETNDC+5, GETNDC+7, GETNDC+9, GETNDC+11

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PSDRUG - [#50] GET1^DIQ
    ^PSNDF(50.68 - [#50.68] GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PSDRUG - [#50] SAVNDC+10
    ^PSDRUG("AQ" GETNDC+3

    Label References

    Name Line Occurrences
    $$CHKCH NDCFMT+2
    $$NDCFMT SAVNDC+7, GETNDC+5, GETNDC+7, GETNDC+9, GETNDC+11

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    CHKCH CHKCH+1~, CHKCH+3*, CHKCH+4
    CMOP GETNDC~, GETNDC+3*, GETNDC+5, GETNDC+7
    CMP SAVNDC~, SAVNDC+16
    DA SAVNDC+5~, SAVNDC+15!, SAVNDC+16*
    DA(1 SAVNDC+12*, SAVNDC+16*
    DD SAVNDC+5~, SAVNDC+13!
    DIC SAVNDC+5~, SAVNDC+11*
    DIC(0 SAVNDC+12*
    DIE SAVNDC+5~, SAVNDC+15!*
    DINUM SAVNDC+5~, SAVNDC+12*, SAVNDC+13!
    DO SAVNDC+5~, SAVNDC+13!
    DR SAVNDC+5~, SAVNDC+15!, SAVNDC+16*
    DRG SAVNDC~, SAVNDC+10, SAVNDC+11, SAVNDC+12, SAVNDC+15, SAVNDC+16, GETNDC~, GETNDC+3, GETNDC+5, GETNDC+7
    , GETNDC+9, GETNDC+11
    I SAVNDC+5~, CHKCH+3*
    NDC SAVNDC~, SAVNDC+7*, SAVNDC+16, GETNDC+1~, GETNDC+5*, GETNDC+7*, GETNDC+9*, GETNDC+11*, GETNDC+12, NDCFMT~
    , NDCFMT+2, NDCFMT+3, NDCFMT+4, NDCFMT+6, NDCFMT+7
    NDF GETNDC+1~, GETNDC+11*
    RFL SAVNDC+5~
    S1 NDCFMT+1~, NDCFMT+7*, NDCFMT+8, NDCFMT+9, NDCFMT+11*, NDCFMT+12*, NDCFMT+16
    S2 NDCFMT+1~, NDCFMT+7*, NDCFMT+8, NDCFMT+9, NDCFMT+13*, NDCFMT+16
    S3 NDCFMT+1~, NDCFMT+7*, NDCFMT+8, NDCFMT+9, NDCFMT+14*, NDCFMT+16
    SITE SAVNDC~, SAVNDC+10, SAVNDC+12, SAVNDC+16, GETNDC~, GETNDC+5, GETNDC+7
    STR CHKCH~, CHKCH+2, CHKCH+3
    X SAVNDC+5~, SAVNDC+12*
    Y SAVNDC+5~, SAVNDC+13!
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All