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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSOTPCUL

Package: Outpatient Pharmacy

Routine: PSOTPCUL


Information

PSOTPCUL ;BIR/RTR-Utility Routine for TBP Project ;08/09/03

Source Information

Source file <PSOTPCUL.m>

Entry Points

Name Comments DBIA/ICR reference
EN(PSOTRXN) ;CPRS call to determine if an RX is a TPB Rx
  • ICR #4195
    • Status: Active
    • Usage: Private
    ACTRX(DFN,TPB) ; Checks if Patient has at least one Active Rx on File
    ; Input: DFN: Patient IEN (#2)
    ; TPB: 0 - Looks for active VA prescriptions only (Default)
    ; 1 - Looks for active TPB prescriptions only
    ; 2 - Looks for active VA or TPB prescriptions
    ACTIVE(RX) ; Checks if Rx is Active or not
    TPBSC(LOC) ; Checks if Location Stop Code is from TPB Clinic
    SXMY(GRP) ; Set XMY array with users from Mail Group GRP

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^XMB(3.8 - [#3.8] GET1^DIQ
    Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call