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
Print Page as PDF
Routine: PSOORRL

Package: Outpatient Pharmacy

Routine: PSOORRL


Information

PSOORRL ;BHAM ISC/SAB - returns patient's outpatient meds ;Dec 10, 2021@09:32:05

Source Information

Source file <PSOORRL.m>

Entry Points

Name Comments DBIA/ICR reference
OCL(DFN,BDT,EDT,VIEW,PSOBDTIN,PSOEDTIN) ;entry point to return condensed list
; DFN - Pointer to Patient file (#2)
; BDT - Beginning Date for Outpatient & Non-VA Meds
; EDT - Ending Date for Outpatient & Non-VA Meds
; VIEW=0 - This returns the list as it was returned prior to GUI 27
; VIEW=1 - This returns the list in original view GUI 27
; VIEW=2 - This is the new sort with GUI 27
; VIEW=3 - New sort by Sort by Drug Name/status with GUI 27
; PSOBDTIN - Beginning Date for Inpatient Meds (Optional)
; PSOEDTIN - End Date for Inpatient Meds (Optional)
  • ICR #2400
    • Status: Active
    • Usage: Controlled Subscription
    ST
    OEL(DFN,RXNUM) ;returns expanded list on specific order
  • ICR #2400
    • Status: Active
    • Usage: Controlled Subscription
    WAIT ; IF PENDING ENTRY STILL BEING BUILT SEE IF IT COMPLETES WITHIN ANOTHER SECOND
    NVA ; Set Non-VA Med Orders in the ^TMP Global
    TMPBLD
    RSTC(REF) ; return to stock
    Info |  Source |  Entry Points