LROS ;SLC/CJS/DALOI/FHS-LAB ORDER STATUS ; 22-Oct-2013 09:22 ; MKK
Source file <LROS.m>
Package | Total | Call Graph |
---|---|---|
Lab Service | 3 | (,END)^LRDPA DATE^LRWU (DD,DOC,DT)^LRX |
VA Fileman | 3 | ^%DT C^%DTC YN^DICN |
IHS Changes To Lab | 1 | REVIDEO^BLRUTIL3 |
Kernel | 1 | $$FMTE^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
COM(LRMMODE) | ;
|
|
CANC | ;For Canceled tests
|
|
COMWRT(LRODT,LRSN,LRTSTI,NODE,TAB) | ;
|
|
DATE | ||
ORDER | ;call with LRSN, from LROE, LROE1, LRORD1, LROW2, LROR1
|
|
NO2 | ||
LREND | ||
NOTACC | ||
TST2 | ;
|
|
TST1 | ||
EN | ||
SHOW | ;call with LRSN,LRODT, from LRCENDEL, LRTSTJAN
|
|
HED | ; D WAIT:$E(IOST,1)="C"&($Y>18) Q:$G(LREND) W @IOF,!," Test",?20,"Urgency",?30,"Status",?64,"Accession"
|
|
L2 | ; S LRSN=$O(^LRO(69,LRODT,1,"AA",LRDFN,0)) I LRSN<1 S Y=LRODT D DD^LRX W !,"No orders for ",Y S X1=LRODT,X2=-1 D C^%DTC S LRODT=X I LRODT<LRLDAT W !!,"NO REMAINING ACTIVE ORDERS",! G LREND
|
|
L0 | ||
L1 | ||
ENTRY | ||
WAIT | ||
WRITE | ;
|
|
TEST | ||
ENT | ;from LROE, LROE1, LRORD1, LROW2
|
|
OERR(X) | ;Get order status for predefined patient
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | OERR+7 |
^LAB(60 - [#60] | WRITE+1 |
^LAB(61 - [#61] | ORDER+5 |
^LAB(62 - [#62] | ORDER+5 |
^LAB(62.05 - [#62.05] | WRITE+3 |
^LAB(69.9 - [#69.9] | L1 |
^LRO(68 - [#68] | TST1+1, TST1+2, WRITE+7 |
^LRO(69 - [#69] | L2+1, ENTRY+1, ORDER+2, ORDER+4, ORDER+5, ORDER+7, ORDER+8, ORDER+9, WRITE+17, COM+5 , COMWRT+3, COMWRT+6 |
^VA(200 - [#200] | CANC+1 |
Name | Line Occurrences |
---|---|
CANC | TEST+2 |
COM | TST2+4, TST2+7, NO2+3, CANC+2 |
COMWRT | COM+6 |
DATE | TST2+4, TST2+5, NO2 |
EN | EN+1 |
ENT | L0 |
ENTRY | L2+4 |
HED | ENTRY, ENTRY+1 |
L0 | EN+1, OERR+8 |
L2 | L2+2, L2+5 |
LREND | EN+1, L1, L2+1, L2+2, L2+3, L2+4 |
NO2 | NOTACC, NOTACC+1 |
NOTACC | TEST+6, TST1+1 |
ORDER | ENTRY+1, SHOW+2 |
TEST | ORDER+9 |
TST2 | TST1+2 |
WAIT | L2+2, ORDER+4, ORDER+6, ORDER+7, ORDER+8, TEST+5, TST1+3, WRITE+2, WRITE+3, WRITE+4 , WRITE+9, COMWRT+6, NO2+4, HED+1 |
WRITE | TST2+4, TST2+7, NO2+3, CANC+2 |
Name | Field # of Occurrence |
---|---|
^( | ORDER+4, ORDER+8, ORDER+9, TST1+2, WRITE+7, COMWRT+6 |
^("PCE" | ORDER+7 |
^(0 | L1, ORDER+5, ORDER+9, WRITE+1, WRITE+3, COMWRT+6 |
^(1 | ORDER+2 |
^(3 | ORDER+2, TST1+1 |
^(9 | TST1+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | L2+3*, LREND+2! |
>> %DT | L0*, L1* |
>> %DT("A" | L1* |
>> %DT("B" | EN! |
%Y | LREND+2! |
A | LREND+2! |
D | ORDER+1! |
DFN | LREND+2!, OERR+3~, OERR+4*, OERR+7 |
DIC | EN!, LREND+2! |
DIC(0 | EN* |
DIWL | LREND+2! |
DIWR | LREND+2! |
DPF | LREND+2! |
DTIME | WAIT+1 |
>> DTOUT | EN+1 |
>> DUOUT | EN+1 |
I | ORDER+8*, TST1+2*, TST2+1~, LREND+2! |
IOF | HED+1, LREND, WAIT, WAIT+1 |
IOSL | ENTRY+1, WAIT |
IOST | HED+1, LREND, WAIT |
K | LREND+2! |
LRACC | TST1+2*, TST2+2, TST2+4, LREND+2! |
>> LRACD | TST1+1* |
LRACN | ORDER+9*, WRITE+17, LREND+2! |
LRACN0 | ORDER+9*, TEST+1, TEST+2, TEST+5, TST1, NO2+1, LREND+2!, CANC+1 |
LRDFN | EN+1, L2+1, ENTRY+1, LREND+2!, OERR+3~, OERR+6 |
LRDOC | ORDER+4, LREND+2! |
LRDPA | OERR+3~ |
LRDPAF | EN! |
LRDPF | LREND+2!, OERR+4* |
LRDT0 | OERR+3~ |
LREND | L1*, L2+2, L2+4, ENTRY, ENTRY+1, ORDER+1*, ORDER+4, ORDER+6, ORDER+7, ORDER+8 , ORDER+9, TST1+2, WRITE+2, WRITE+3, WRITE+4, COMWRT+6, HED+1, LREND+2!, SHOW+1*, WAIT+1* |
LRI | COMWRT+5~, COMWRT+6* |
LRLDAT | L1*, L2+1, LREND+2! |
LRLL | TEST+1*, TST2+4*, TST2+5, LREND+2! |
LRLOOKUP | LROS+3~* |
LRMMODE | COM~, COM+4*, COM+6 |
LROD0 | ORDER+2*, ORDER+4, ORDER+5, TEST+3, NO2, LREND+2! |
LROD1 | ORDER+2*, ORDER+6, TEST+4, TEST+6, TST1+3, TST2+6, NO2, NO2+4, LREND+2! |
LROD3 | ORDER+2*, TST2+5, NOTACC, NOTACC+1, NOTACC+2, NO2, LREND+2! |
LRODT | L1*, L2+1*, L2+3, L2+4*, ENTRY+1, ORDER+2, ORDER+4, ORDER+5, ORDER+7, ORDER+8 , ORDER+9, WRITE+17, COM+5, COM+6, COMWRT~, COMWRT+2, COMWRT+3, COMWRT+6, NO2, LREND+2! |
LROOS | TEST+4*, TST2+4, TST2+6*, LREND+2! |
LROS | TEST+1*, TEST+4*, TST2+4*, TST2+5*, TST2+6*, WRITE+5, NOTACC*, NOTACC+1*, NOTACC+2*, NO2+2* , LREND+2! |
LROSD | TEST+1*, TST2+4*, TST2+5*, WRITE+5, NO2*, LREND+2! |
LROT | TEST+1*, TEST+3*, TEST+4*, TST2+4*, WRITE+5, LREND+2!, CANC+1* |
LRROD | TEST+1*, WRITE+9, NO2+2, LREND+2! |
LRSDT | L1*, L2+3, LREND+2! |
LRSN | L2+1*, L2+2, ENTRY+1*, ORDER+2, ORDER+4, ORDER+5, ORDER+7, ORDER+8, ORDER+9, TEST+5 , WRITE+17, COM+5, COM+6, COMWRT~, COMWRT+2, COMWRT+3, COMWRT+6, LREND+2! |
LRTSTI | COM+3~, COM+5*, COM+6, COMWRT~, COMWRT+2, COMWRT+3, COMWRT+6 |
LRTSTS | TST1+2*, TST2+3, WRITE+1, COM+5, NO2+1*, NO2+3, LREND+2!, CANC+1*, CANC+2 |
LRTT | ORDER+1!, LREND+2! |
LRTT( | TST1+2* |
LRURG | TEST~, TEST+1*, TST2+2*, WRITE+3, NO2+1*, LREND+2! |
LRY | TEST~ |
NODE | COMWRT~, COMWRT+2, COMWRT+6 |
PNM | LREND+2! |
TAB | COMWRT~, COMWRT+4*, COMWRT+6 |
U | L1, ORDER+4, ORDER+5, ORDER+6, TEST+1, TEST+3, TEST+4, TST1, TST1+3, TST2+2 , TST2+4, TST2+5, WRITE+1, WRITE+3, NOTACC+1, NOTACC+2, NO2, NO2+1, NO2+4, CANC+1 |
VA200 | OERR+3~ |
X | L1*, L2+1, L2+4, ORDER+4*, ORDER+5*, ORDER+8, TEST+3*, TEST+4*, LREND+2!, WAIT+1* , OERR~, OERR+2, OERR+4 |
X1 | L2+1*, L2+4*, TST1*, TST1+1, TST1+2, WRITE+7, LREND+2! |
X2 | L2+1*, L2+4*, TST1*, TST1+1, TST1+2, WRITE+7, LREND+2! |
X3 | TEST+1*, TST1*, TST1+1, TST1+2, WRITE+7, LREND+2! |
X4 | ORDER+5*, ORDER+8, LREND+2! |
Y | L1, L2+1*, L2+3*, TEST+1*, TST2+4*, TST2+5*, NOTACC+1*, NOTACC+2*, NO2*, DATE* , LREND+2! |
Z | LREND+2! |
>> ZTQUEUED | LREND+1 |
>> ZTREQ | LREND+1* |