PSOORRL ;BHAM ISC/SAB - returns patient's outpatient meds ;Dec 10, 2021@09:32:05
Source file <PSOORRL.m>
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) |
|
ST | ||
OEL(DFN,RXNUM) | ;returns expanded list on specific order
|
|
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
|