PSJORRO ;BIR/MV - RETURN INPATIENT MEDS (CONDENSED) OLD SORT ;Jun 17, 2020@13:03:07
Source file <PSJORRO.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+26, IVTMP+17 |
^PS(52.6 - [#52.6] | IVTMP+21 |
^PS(52.7 - [#52.7] | IVTMP+23 |
^PS(53.1 - [#53.1] | OCL+10, IVTMP+26, TYPE+1 |
^PS(55 - [#55] | OCL+9, OCL+11, UDTMP+19, IVTMP+27, TYPE+2 |
^SC - [#44] | UDTMP+5, UDTMP+22, IVTMP+5, IVTMP+15 |
^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+21*, IVTMP+22*, IVTMP+23*, IVTMP+24*, IVTMP+32*, IVTMP+33!*, IVTMP+35* , IVTMP+38*, IVTMP+39*, IVTMP+40*, IVTMP+41*, IVTMP+42*, IVTMP+43*, IVTMP+44* |
^VA(200 - [#200] | UDTMP+33, IVTMP+35 |
>> | 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+26*, IVTMP+27*, IVTMP+41 |
BDT | OCL~, OCL+5*, OCL+9, OCL+11 |
CNT | OCL+1~, IVTMP+6*, IVTMP+21*, IVTMP+22*, IVTMP+23*, IVTMP+24 |
DFN | OCL~, OCL+9, OCL+10, OCL+11, UDTMP+6, UDTMP+15, UDTMP+19, IVTMP+7, IVTMP+27, TYPE+2 |
DN | OCL+1~, UDTMP+15, IVTMP+21*, IVTMP+23*, IVTMP+29*, IVTMP+30*, IVTMP+32 |
DN(1 | UDTMP+30 |
DO | OCL+1~, UDTMP+14*, UDTMP+30, IVTMP+29*, IVTMP+32 |
EDT | OCL~, OCL+6*, OCL+7*, UDTMP+8, UDTMP+9, IVTMP+4 |
EDTCMPLX | UDTMP+1~, UDTMP+2*, UDTMP+7*, UDTMP+8, UDTMP+9, IVTMP+1~, IVTMP+3*, IVTMP+4 |
F | OCL+1~, OCL+9*, OCL+10*, OCL+11*, UDTMP+3, UDTMP+7, UDTMP+8, UDTMP+9, UDTMP+11, UDTMP+13 , UDTMP+14, UDTMP+17, UDTMP+21, UDTMP+22, UDTMP+32, UDTMP+39, IVTMP+3, IVTMP+4, IVTMP+6, IVTMP+9 , IVTMP+11, IVTMP+12, IVTMP+21, IVTMP+23, IVTMP+26, IVTMP+27, IVTMP+29, IVTMP+31, IVTMP+34, IVTMP+36 , IVTMP+44, TYPE+1, TYPE+2 |
FON | OCL+1~, UDTMP+3*, UDTMP+6, UDTMP+10, UDTMP+14*, UDTMP+15, UDTMP+17, UDTMP+19, UDTMP+30, IVTMP+6* , IVTMP+7, IVTMP+26, IVTMP+27, IVTMP+32 |
>> GP | UDTMP+24*, UDTMP+25, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37, UDTMP+38 , UDTMP+39, IVTMP+13*, IVTMP+14, IVTMP+21, IVTMP+22, IVTMP+23, IVTMP+24, IVTMP+32, IVTMP+33, IVTMP+35 , IVTMP+38, IVTMP+39, IVTMP+40, IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44 |
INFUS | OCL+1~, IVTMP+25*, IVTMP+26*, IVTMP+27*, IVTMP+32 |
INST | OCL+1~, UDTMP+3*, UDTMP+11*, UDTMP+36, IVTMP+25*, IVTMP+31*, IVTMP+39 |
IVLIM | IVTMP+1~, IVTMP+36*, IVTMP+37*, IVTMP+43 |
>> LOC | UDTMP+21*, UDTMP+22*, IVTMP+15* |
MR | OCL+1~, UDTMP+3*, UDTMP+18*, UDTMP+34, IVTMP+25*, IVTMP+26*, IVTMP+27*, IVTMP+31*, IVTMP+38 |
ND | OCL+1~, IVTMP+21*, IVTMP+23* |
ND0 | OCL+1~, UDTMP+9*, UDTMP+10, UDTMP+18, UDTMP+23, UDTMP+30, IVTMP+4*, IVTMP+11, IVTMP+12, IVTMP+18 , IVTMP+25, IVTMP+26, IVTMP+27, IVTMP+32 |
ND2 | OCL+1~, UDTMP+8*, UDTMP+27, UDTMP+30, UDTMP+35, UDTMP+37, IVTMP+26* |
>> ND2P5 | IVTMP+36*, IVTMP+37 |
ND6 | OCL+1~, UDTMP+11*, UDTMP+12*, UDTMP+38 |
>> ND8 | UDTMP+13*, UDTMP+22 |
NDDSS | UDTMP+1~, UDTMP+2*, UDTMP+21*, IVTMP+9*, IVTMP+15 |
NDP2 | UDTMP+1~, UDTMP+2*, UDTMP+7*, UDTMP+26, IVTMP+1~, IVTMP+3*, IVTMP+9*, IVTMP+10 |
NOTGIVEN | UDTMP+19~*, UDTMP+30 |
ON | OCL+1~, OCL+9*, OCL+10*, OCL+11*, UDTMP+3, UDTMP+4, UDTMP+7, UDTMP+8, UDTMP+9, UDTMP+11 , UDTMP+13, UDTMP+14, UDTMP+17, UDTMP+19, UDTMP+21, UDTMP+32, UDTMP+39, IVTMP+2, IVTMP+3, IVTMP+4 , IVTMP+6, IVTMP+9, IVTMP+21, IVTMP+23, IVTMP+26, IVTMP+27, IVTMP+29, IVTMP+31, IVTMP+34, IVTMP+36 , IVTMP+44, TYPE+1, TYPE+2 |
PON | OCL+1~, UDTMP+3* |
>> PRIO | UDTMP+25, IVTMP+14 |
PROVIDER | UDTMP+1~, UDTMP+2*, UDTMP+32*, UDTMP+33, IVTMP+1~, IVTMP+34*, IVTMP+35 |
PSJCLIN | OCL+1~, UDTMP+5, UDTMP+31, IVTMP+5, IVTMP+33, TYPE+1*, TYPE+3* |
PSJLOC | UDTMP+1~, UDTMP+2*, UDTMP+5*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37 , UDTMP+38, UDTMP+39, IVTMP+1~, IVTMP+5*, IVTMP+21, IVTMP+22, IVTMP+23, IVTMP+24, IVTMP+32, IVTMP+33 , IVTMP+35, IVTMP+38, IVTMP+39, IVTMP+40, IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44 |
>> PSJOI | UDTMP+26*, IVTMP+10*, IVTMP+16, IVTMP+17 |
>> PSJOINM | UDTMP+26*, IVTMP+16*, IVTMP+17* |
PSJOTYP | OCL+1~, OCL+9*, OCL+10*, OCL+11*, UDTMP+4, IVTMP+2 |
>> PSJST | UDTMP+23*, UDTMP+24, UDTMP+25, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37 , UDTMP+38, UDTMP+39, IVTMP+11*, IVTMP+12*, IVTMP+13, IVTMP+14, IVTMP+21, IVTMP+22, IVTMP+23, IVTMP+24 , IVTMP+32, IVTMP+33, IVTMP+35, IVTMP+38, IVTMP+39, IVTMP+40, IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44 |
>> PSJST2 | UDTMP+25*, IVTMP+14* |
PSJSTP | UDTMP+1~, UDTMP+2*, UDTMP+27*, IVTMP+18* |
PST | OCL+1~, OCL+10* |
RNWDT | UDTMP+1~, UDTMP+2*, UDTMP+6*, UDTMP+30, IVTMP+7*, IVTMP+32 |
SCH | OCL+1~, UDTMP+3*, IVTMP+25*, IVTMP+26*, IVTMP+27*, IVTMP+40 |
SIO | OCL+1~, IVTMP+26*, IVTMP+27*, IVTMP+28*, IVTMP+42 |
START | IVTMP+1~, IVTMP+26*, IVTMP+27*, IVTMP+32 |
STAT | OCL+1~, UDTMP+10*, UDTMP+30, IVTMP+26*, IVTMP+27*, IVTMP+32 |
STOP | IVTMP+1~, IVTMP+26*, IVTMP+27*, IVTMP+32 |
TFN | OCL~, OCL+2, OCL+15* |
TFN2 | OCL+1~, OCL+2*, UDTMP+29*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36, UDTMP+37 , UDTMP+38, UDTMP+39, IVTMP+20*, IVTMP+21, IVTMP+22, IVTMP+23, IVTMP+24, IVTMP+32, IVTMP+33, IVTMP+35 , IVTMP+38, IVTMP+39, IVTMP+40, IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44 |
TYPE | OCL+1~, IVTMP+25* |
U | OCL+10, UDTMP+8, UDTMP+9, UDTMP+10, UDTMP+17, UDTMP+18, UDTMP+30, UDTMP+35, UDTMP+37, UDTMP+39 , IVTMP+4, IVTMP+21, IVTMP+23, IVTMP+25, IVTMP+26, IVTMP+27, IVTMP+29, IVTMP+30, IVTMP+32, IVTMP+36 , IVTMP+37, IVTMP+44, STAT+1 |
UNITS | OCL+1~, UDTMP+17*, UDTMP+30 |
WBDT | OCL+1~, OCL+9*, OCL+11*, UDTMP+4*, UDTMP+30, UDTMP+31, UDTMP+33, UDTMP+34, UDTMP+35, UDTMP+36 , UDTMP+37, UDTMP+38, UDTMP+39, IVTMP+2*, IVTMP+21, IVTMP+22, IVTMP+23, IVTMP+24, IVTMP+32, IVTMP+33 , IVTMP+35, IVTMP+38, IVTMP+39, IVTMP+40, IVTMP+41, IVTMP+42, IVTMP+43, IVTMP+44 |
X | OCL+1~, OCL+10*, IVTMP+21*, IVTMP+23*, 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 |
>> X5 | OCL+13*, OCL+15 |
Y | OCL+1~, IVTMP+21*, STAT~, STAT+1 |