PSJORRN1 ;BIR/JCH - RETURN INPATIENT MEDS (CONDENSED) SECOND 'NEW' SORT ;Jun 17, 2020@13:04:14
Source file <PSJORRN1.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
OCL(DFN,BDT,EDT,TFN) | ; Execute this section if MVIEW=1
|
|
UDTMP | ;*** Set ^TMP for Unit dose orders.
|
|
IVTMP | ;*** Set ^TMP for IV orders.
|
|
STAT(Y,X) | ;* Return the full status instead of just the code for U/D.
|
|
TYPE | ;determine if this is an IMO order or not
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(50.7 - [#50.7] | UDTMP+24, IVTMP+17 |
^PS(52.6 - [#52.6] | IVTMP+24 |
^PS(52.7 - [#52.7] | IVTMP+26 |
^PS(53.1 - [#53.1] | OCL+10, IVTMP+29, TYPE+1 |
^PS(55 - [#55] | OCL+9, OCL+11, UDTMP+18, IVTMP+30, TYPE+2 |
^SC - [#44] | UDTMP+4, UDTMP+21, IVTMP+6, IVTMP+16 |
^TMP("PS" | OCL+15* |
^TMP("PSJTMP" | OCL+12, OCL+13, OCL+15, OCL+16!, UDTMP+30*, UDTMP+31!*, UDTMP+33*, UDTMP+34*, UDTMP+35*, UDTMP+36* , UDTMP+37*, UDTMP+38*, UDTMP+39*, IVTMP+24*, IVTMP+25*, IVTMP+26*, IVTMP+27*, IVTMP+35*, IVTMP+36!*, IVTMP+38* , IVTMP+41*, IVTMP+42*, IVTMP+43*, IVTMP+44*, IVTMP+45*, IVTMP+46*, IVTMP+47* |
^VA(200 - [#200] | UDTMP+33, IVTMP+38 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | OCL+1~, OCL+5 |
A | OCL+1~, TYPE+1*, TYPE+2*, TYPE+3 |
ADM | OCL+1~, IVTMP+29*, IVTMP+30*, IVTMP+44 |
BDT | OCL~, OCL+5*, OCL+11 |
CNT | OCL+1~, IVTMP+7*, IVTMP+22*, IVTMP+24*, IVTMP+25*, IVTMP+26*, IVTMP+27 |
DFN | OCL~, OCL+9, OCL+10, OCL+11, UDTMP+5, UDTMP+14, UDTMP+18, IVTMP+8, IVTMP+30, TYPE+2 |
DN | OCL+1~, UDTMP+14, IVTMP+24*, IVTMP+26*, IVTMP+32*, IVTMP+33*, IVTMP+35 |
DN( | IVTMP+24* |
DN(1 | UDTMP+28*, UDTMP+29*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37, UDTMP+38 , UDTMP+39, IVTMP+22*, IVTMP+23*, IVTMP+24, IVTMP+25, IVTMP+26, IVTMP+27, IVTMP+35, IVTMP+36, IVTMP+38 , IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44, IVTMP+45, IVTMP+46, IVTMP+47 |
>> DNORIG | UDTMP+29*, UDTMP+30 |
DO | OCL+1~, UDTMP+13*, UDTMP+30, IVTMP+32*, IVTMP+35 |
EDT | OCL~, OCL+6*, OCL+7*, UDTMP+7, UDTMP+8, IVTMP+5 |
EDTCMPLX | UDTMP+1~, UDTMP+6*, UDTMP+7, UDTMP+8, IVTMP+1~, IVTMP+2*, IVTMP+4*, IVTMP+5 |
F | OCL+1~, OCL+9*, OCL+10*, OCL+11*, UDTMP+2, UDTMP+6, UDTMP+7, UDTMP+8, UDTMP+10, UDTMP+12 , UDTMP+13, UDTMP+16, UDTMP+20, UDTMP+21, UDTMP+32, UDTMP+39, IVTMP+4, IVTMP+5, IVTMP+7, IVTMP+10 , IVTMP+12, IVTMP+13, IVTMP+24, IVTMP+26, IVTMP+29, IVTMP+30, IVTMP+32, IVTMP+34, IVTMP+37, IVTMP+39 , IVTMP+47, TYPE+1, TYPE+2 |
FON | OCL+1~, UDTMP+2*, UDTMP+5, UDTMP+9, UDTMP+13*, UDTMP+14, UDTMP+16, UDTMP+18, UDTMP+30, IVTMP+7* , IVTMP+8, IVTMP+29, IVTMP+30, IVTMP+35 |
INFUS | OCL+1~, IVTMP+28*, IVTMP+29*, IVTMP+30*, IVTMP+35 |
INST | OCL+1~, UDTMP+2*, UDTMP+10*, UDTMP+36, IVTMP+28*, IVTMP+34*, IVTMP+42 |
IVLIM | IVTMP+1~, IVTMP+2*, IVTMP+39*, IVTMP+40*, IVTMP+46 |
>> LOC | UDTMP+20*, UDTMP+21*, IVTMP+16* |
MR | OCL+1~, UDTMP+2*, UDTMP+17*, UDTMP+34, IVTMP+28*, IVTMP+29*, IVTMP+30*, IVTMP+34*, IVTMP+41 |
ND | OCL+1~, IVTMP+24*, IVTMP+26* |
ND0 | OCL+1~, UDTMP+8*, UDTMP+9, UDTMP+17, UDTMP+23, UDTMP+30, IVTMP+5*, IVTMP+12, IVTMP+13, IVTMP+19 , IVTMP+28, IVTMP+29, IVTMP+30, IVTMP+35 |
ND2 | OCL+1~, UDTMP+7*, UDTMP+25, UDTMP+30, UDTMP+35, UDTMP+37, IVTMP+29* |
>> ND2P5 | IVTMP+39*, IVTMP+40 |
ND6 | OCL+1~, UDTMP+10*, UDTMP+11*, UDTMP+38 |
>> ND8 | UDTMP+12*, UDTMP+21 |
NDDSS | UDTMP+1~, UDTMP+2*, UDTMP+20*, IVTMP+1~, IVTMP+2*, IVTMP+10*, IVTMP+16 |
NDORIG | UDTMP+1~ |
NDP2 | UDTMP+1~, UDTMP+6*, UDTMP+24, IVTMP+1~, IVTMP+2*, IVTMP+4*, IVTMP+10*, IVTMP+11 |
NOTGIVEN | UDTMP+18~*, UDTMP+30 |
ON | OCL+1~, OCL+9*, OCL+10*, OCL+11*, UDTMP+2, UDTMP+3, UDTMP+6, UDTMP+7, UDTMP+8, UDTMP+10 , UDTMP+12, UDTMP+13, UDTMP+16, UDTMP+18, UDTMP+20, UDTMP+32, UDTMP+39, IVTMP+3, IVTMP+4, IVTMP+5 , IVTMP+7, IVTMP+10, IVTMP+24, IVTMP+26, IVTMP+29, IVTMP+30, IVTMP+32, IVTMP+34, IVTMP+37, IVTMP+39 , IVTMP+47, TYPE+1, TYPE+2 |
PON | OCL+1~, UDTMP+2* |
PROVIDER | UDTMP+1~, UDTMP+32*, UDTMP+33, IVTMP+1~, IVTMP+2*, IVTMP+37*, IVTMP+38 |
PSJ30DAY | OCL+1~, OCL+2*, OCL+5 |
PSJCLIN | OCL+1~, UDTMP+4, UDTMP+31, IVTMP+6, IVTMP+36, TYPE+1*, TYPE+3* |
PSJLOC | UDTMP+1~, UDTMP+4*, IVTMP+1~, IVTMP+2*, IVTMP+6* |
PSJNOW | OCL+1~, OCL+2* |
>> PSJOI | UDTMP+24*, IVTMP+11*, IVTMP+17, IVTMP+18 |
>> PSJOINM | UDTMP+24*, IVTMP+17*, IVTMP+18*, IVTMP+23 |
PSJOTYP | OCL+1~, OCL+9*, OCL+10*, OCL+11*, UDTMP+3, IVTMP+3 |
>> PSJST | UDTMP+23*, IVTMP+11*, IVTMP+12*, IVTMP+13*, IVTMP+15 |
PSJST2 | UDTMP+1~, UDTMP+23*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37, UDTMP+38 , UDTMP+39, IVTMP+15*, IVTMP+24, IVTMP+25, IVTMP+26, IVTMP+27, IVTMP+35, IVTMP+36, IVTMP+38, IVTMP+41 , IVTMP+42, IVTMP+43, IVTMP+44, IVTMP+45, IVTMP+46, IVTMP+47 |
PSJSTP | UDTMP+1~, UDTMP+25*, IVTMP+19* |
PST | OCL+1~, OCL+10* |
RNWDT | UDTMP+1~, UDTMP+5*, UDTMP+30, IVTMP+8*, IVTMP+35 |
SCH | OCL+1~, UDTMP+2*, IVTMP+28*, IVTMP+29*, IVTMP+30*, IVTMP+43 |
SIO | OCL+1~, IVTMP+29*, IVTMP+30*, IVTMP+31*, IVTMP+45 |
START | IVTMP+1~, IVTMP+2*, IVTMP+29*, IVTMP+30*, IVTMP+35 |
STAT | OCL+1~, UDTMP+9*, UDTMP+30, IVTMP+29*, IVTMP+30*, IVTMP+35 |
STOP | IVTMP+1~, IVTMP+2*, IVTMP+29*, IVTMP+30*, IVTMP+35 |
TFN | OCL~, OCL+2, OCL+15* |
TFN2 | OCL+1~, OCL+2*, UDTMP+27*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37 , UDTMP+38, UDTMP+39, IVTMP+21*, IVTMP+24, IVTMP+25, IVTMP+26, IVTMP+27, IVTMP+35, IVTMP+36, IVTMP+38 , IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44, IVTMP+45, IVTMP+46, IVTMP+47 |
TYPE | OCL+1~, IVTMP+28* |
U | OCL+10, UDTMP+7, UDTMP+8, UDTMP+9, UDTMP+16, UDTMP+17, UDTMP+30, UDTMP+35, UDTMP+37, UDTMP+39 , IVTMP+5, IVTMP+24, IVTMP+26, IVTMP+28, IVTMP+29, IVTMP+30, IVTMP+32, IVTMP+33, IVTMP+35, IVTMP+39 , IVTMP+40, IVTMP+47, STAT+1 |
UNITS | OCL+1~, UDTMP+16*, UDTMP+30 |
WBDT | OCL+1~, OCL+5*, OCL+9*, OCL+11*, UDTMP+3*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35 , UDTMP+36, UDTMP+37, UDTMP+38, UDTMP+39, IVTMP+3*, IVTMP+24, IVTMP+25, IVTMP+26, IVTMP+27, IVTMP+35 , IVTMP+36, IVTMP+38, IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44, IVTMP+45, IVTMP+46, IVTMP+47 |
X | OCL+1~, OCL+10*, IVTMP+24*, IVTMP+26*, STAT~, STAT+1*, STAT+2 |
>> X1 | OCL+12*, OCL+13, OCL+15 |
>> X2 | OCL+12*, OCL+13, OCL+15 |
>> X3 | OCL+12*, OCL+13, OCL+15 |
>> X4 | OCL+13*, OCL+15 |
Y | OCL+1~, IVTMP+24*, STAT~, STAT+1 |