Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: PSODDPR4

Package: Outpatient Pharmacy

Routine: PSODDPR4


Information

PSODDPR4 ;BHAM - ISC/EJW,SAB - build local OP & RDI profiles ;07/19/07

Source Information

Source file <PSODDPR4.m>

Entry Points

Name Comments DBIA/ICR reference
BLD(PSODFN,LIST,PDRG,PTY) ;
  • ICR #5366
    • Status: Active
    • Usage: Controlled Subscription
    ORD
    PROFILE ;build profile drug input
    ID
    ID1
    OIX
    REMOTE ;
    REMO ;
    PARSE ; PULL INFORMATION FROM ^XTMP
    CHKLOCAL ; IF SAME RX NUMBER AND ISSUE DATE - LOCAL RX
    FILTER ; FOR SAME DRUG VUID FOR SAME SITE, KEEP 1 ENTRY - CHECK BY ACTIVE STATUS FIRST THEN BY GREATEST EXPIRATION DATE
    CHKEXP ;
    SETRDI ;
    CPRS(PSODFN,LIST,PDRG,PTY) ;
  • ICR #5366
    • Status: Active
    • Usage: Controlled Subscription
    DRG ;
    DRGSUP ;Create "prospective" nodes for duplicate supply entries
    RVAGEN ;va generic for remote drugs

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Patient UNDEFINED!",!
    • Line Location: BLD+3
    Function Call: WRITE
    • Prompt: !,"Input Base UNDEFINED!",!
    • Line Location: BLD+4
    Function Call: WRITE
    • Prompt: !,"Patient UNDEFINED!",!
    • Line Location: CPRS+3
    Function Call: WRITE
    • Prompt: !,"Dispense Drug(s) UNDEFINED!",!
    • Line Location: CPRS+4
    Function Call: WRITE
    • Prompt: !,"Input Base UNDEFINED!",!
    • Line Location: CPRS+5
    Info |  Source |  Entry Points |  Interaction Calls