PSOORRL ;BHAM ISC/SAB - returns patient's outpatient meds ;29-May-2012 15:01;PLS
Source file <PSOORRL.m>
Package | Total | Call Graph |
---|---|---|
Outpatient Pharmacy | 3 | $$RXRLDT^PSOBPSUT EN^PSOHLUP (END,MDR,NVA,PEN,SIG,SIG1)^PSOORRL1 |
Inpatient Medications | 2 | OCL^PSJORRE OEL^PSJORRE1 |
Kernel | 1 | $$FMTE^XLFDT |
VA Fileman | 1 | C^%DTC |
Name | Comments | DBIA/ICR reference |
---|---|---|
TMPBLD | ||
ST | ||
RSTC(REF) | ; return to stock
|
|
OEL(DFN,RXNUM) | ;returns expanded list on specific order
|
|
NVA | ; Set Non-VA Med Orders in the ^TMP Global
|
|
OCL(DFN,BDT,EDT,VIEW) | ;entry point to return condensed list
; 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 |
|
WAIT | ; IF PENDING ENTRY STILL BEING BUILT SEE IF IT COMPLETES WITHIN ANOTHER SECOND
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(50.606 - [#50.606] | ST+29, NVA+5 |
^PS(50.7 - [#50.7] | ST+29, NVA+5 |
^PS(51.2 - [#51.2] | ST+16, ST+17, ST+18 |
^PS(52.41 - [#52.41] | ST+25, ST+32, ST+33, ST+34, WAIT+1 |
^PS(55 - [#55] | ST+1, ST+4, OEL+2, NVA+3, TMPBLD+5, TMPBLD+7, TMPBLD+11, TMPBLD+12 |
^PSDRUG - [#50] | ST+8, ST+29, OEL+20, OEL+26, OEL+27, NVA+5 |
^PSRX - [#52] | ST+4, ST+5, ST+6, ST+7, ST+8, ST+14, ST+15, ST+16, ST+17, ST+18 , ST+20, ST+22, ST+23, OEL+8, OEL+9, OEL+10, OEL+12, OEL+13, OEL+14, OEL+17 , OEL+18, OEL+24, OEL+29, OEL+32, OEL+34, OEL+35, OEL+38, RSTC+1 |
^TMP("PS" | ST+2!, ST+8*, ST+9*, ST+12*, ST+13*, ST+14*, ST+15*, ST+17*, ST+18*, ST+19* , ST+22*, ST+23*, ST+29*, ST+30*, ST+31*, ST+32*, ST+33*, ST+34*, ST+35*, OEL+5! , OEL+10*, OEL+13*, OEL+14*, OEL+15*, OEL+18*, OEL+19*, OEL+20*, OEL+21*, OEL+24*, OEL+25* , OEL+27*, OEL+28*, OEL+29*, OEL+30*, OEL+34*, OEL+35*, OEL+37*, OEL+38*, TMPBLD*, TMPBLD+1* , TMPBLD+2*, TMPBLD+3*, TMPBLD+8*, TMPBLD+9*, TMPBLD+12*, RSTC+2*, RSTC+3* |
^VA(200 - [#200] | ST+9, OEL+21 |
Name | Line Occurrences |
---|---|
@( | OCL+5 |
NVA | ST+36 |
RSTC | OEL+11, OEL+16 |
TMPBLD | NVA+8, NVA+10, NVA+16, NVA+22, NVA+29 |
WAIT | ST+25, ST+27 |
Name | Field # of Occurrence |
---|---|
^( | RSTC+1 |
^("STA" | ST+6, OEL+9 |
^(0 | ST+7, ST+18, OEL+13, OEL+18 |
^(2 | ST+6, OEL+9 |
^(3 | ST+6, OEL+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BDT | OCL~, ST+2, ST+36, ST+37!, NVA+7, NVA+13, NVA+15, NVA+18, NVA+25 |
>> BDT1 | NVA+18*, NVA+19, NVA+21, NVA+25*, NVA+26, NVA+28 |
COD | OEL+26*, OEL+27! |
DBT1 | ST+37! |
DFN | OCL~, ST+1, ST+4, ST+25, ST+36, OEL~, OEL+1, OEL+2, NVA+3, TMPBLD+5 , TMPBLD+7, TMPBLD+11 |
>> DRG | NVA+5*, TMPBLD |
DT | ST+2, ST+10, OEL+22, OEL+26 |
EDT | OCL~, ST+2, ST+36, ST+37!, NVA+14, NVA+18, NVA+25 |
EDT1 | ST+37!, NVA+18*, NVA+20, NVA+25*, NVA+27 |
>> EXDT | ST+3*, ST+4* |
>> FL | OEL+5*, OEL+6, OEL+7 |
>> I | ST+7*, ST+23*, OEL+12*, OEL+13, OEL+14, OEL+16, OEL+17*, OEL+18, OEL+35*, OEL+38* , NVA+3*, TMPBLD, TMPBLD+5, TMPBLD+7, TMPBLD+11, TMPBLD+12 |
>> IEN | ST+34*, ST+35* |
IFN | ST+3*, ST+4*, ST+5, ST+6, ST+7, ST+8, ST+14, ST+15, ST+16, ST+17 , ST+18, ST+20, ST+22, ST+23, ST+25*, ST+29, ST+32, ST+33, ST+34, OEL+5!* , OEL+8, OEL+9, OEL+10, OEL+12, OEL+13, OEL+14, OEL+17, OEL+18, OEL+24, OEL+29 , OEL+32, OEL+34, OEL+35, OEL+38, WAIT+1, RSTC+1, RSTC+2, RSTC+3 |
>> II | RSTC+1*, RSTC+2, RSTC+3 |
INST | ST+34*, OEL+5! |
INST( | ST+34* |
>> ITFN | ST+21*, ST+22, ST+23*, OEL+33*, OEL+34, OEL+35*, OEL+37*, OEL+38* |
>> J | RSTC+1* |
LP | TMPBLD+10~, TMPBLD+11*, TMPBLD+12 |
>> LSTDS | ST+6*, ST+7*, ST+12 |
>> LSTFD | ST+6*, ST+7*, ST+12, OEL+9*, OEL+12*, OEL+24 |
>> LSTRD | ST+6*, ST+7*, ST+12 |
>> MDR | ST+15*, ST+16*, ST+17, ST+18 |
>> MIG | ST+34*, ST+35 |
>> MR | ST+15*, ST+16, ST+17, ST+18 |
>> PSBDT | ST+2*, ST+3 |
>> PSEDT | ST+2* |
PSOELSE | ST+20*, ST+21, ST+24!, OEL+32*, OEL+33, OEL+36! |
>> PSOR | ST+25*, ST+26, ST+27, ST+28, ST+29, ST+30, ST+31, WAIT+1* |
REF | RSTC~, RSTC+1, RSTC+2, RSTC+3 |
>> RX0 | ST+6*, ST+8, ST+9, ST+12, OEL+9*, OEL+10, OEL+20, OEL+21, OEL+24, OEL+25 , OEL+26, OEL+27 |
>> RX2 | ST+6*, ST+8, ST+10, OEL+9*, OEL+10, OEL+20, OEL+22 |
>> RX3 | ST+6*, OEL+9*, OEL+10 |
RXNUM | OEL~, OEL+1, OEL+2, OEL+5* |
>> SC | ST+14*, OEL+28*, OEL+29* |
>> SCH | ST+14*, ST+32*, ST+33*, OEL+28*, OEL+29* |
SD | ST~, ST+32*, ST+33*, ST+34*, ST+35*, OEL+4~ |
SDT | ST~, ST+37!, NVA+2~, NVA+10*, NVA+11, NVA+13, NVA+14, NVA+17, NVA+18, NVA+23 , NVA+25 |
SDT1 | ST~, ST+37!, NVA+2~, NVA+18*, NVA+19, NVA+20, NVA+25*, NVA+26, NVA+27 |
>> SG | ST+35* |
>> ST | ST+11*, ST+12, OEL+23*, OEL+24 |
>> ST0 | ST+10*, ST+11, OEL+22*, OEL+23 |
>> STA | ST+6*, ST+10, OEL+9*, OEL+22 |
>> TFN | ST+2*, ST+6*, ST+8, ST+9, ST+12, ST+13, ST+14, ST+15, ST+17, ST+18 , ST+19, ST+22, ST+23, ST+29*, ST+30, ST+31, ST+32, ST+33, ST+34, ST+35 , ST+36, TMPBLD*, TMPBLD+1, TMPBLD+2, TMPBLD+3, TMPBLD+8, TMPBLD+9, TMPBLD+12 |
>> TRM | ST+6*, ST+7*, ST+8, OEL+9*, OEL+12*, OEL+24 |
U | TMPBLD+9 |
VIEW | OCL~, OCL+5, ST+36 |
X | ST+2, ST+20*, ST+37!, OEL+32*, NVA+3*, NVA+4, NVA+5, NVA+7, NVA+10, NVA+15 , NVA+21, NVA+23, NVA+28, TMPBLD+1, TMPBLD+2, TMPBLD+3 |
X0 | TMPBLD+6~, TMPBLD+7*, TMPBLD+9 |
>> X1 | ST+2* |
>> X2 | ST+2* |