EDPRPT7C ;SLC/MKB - Exposure Report (CSV format) ;4/25/13 3:15pm
Source file <EDPRPT7C.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Emergency Department Integration Software | 1 | EDPRPT7 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EXP(IEN) | ; Get Exposure Report for IEN at EDPSITE
|
|
E1 | ; look for patients also in ED between BEG and END
|
|
E2 | ; return treatment room patients
|
|
E3 | ; return staff on duty
|
|
FIND(IN,OUT) | ; create LIST(#) of visits at same time
|
|
ROOMS(LOG,OUT) | ; Return RLIST(LOG,n)= room ^ time in ^ time out
|
|
ADD(LOG) | ; Add row to CSV for each room used during visit
|
|
STAFF(LOG) | ; save staff involved in patient care
|
Name | Field # of Occurrence |
---|---|
ADD^EDPCSV | EXP+15, EXP+17, E2+3, E2+5, E2+9, E2+10, E3+1, E3+2, E3+9, ADD+22 |
BLANK^EDPCSV | EXP+15, EXP+17, EXP+19, E2+3, E2+7, E2+9, E2+12 |
$$DXPRI^EDPQPCE | ADD+8 |
$$DISP^EDPRPT | ADD+15 |
$$ECODE^EDPRPT | ADD+15 |
$$EDATE^EDPRPT | ADD+5, ADD+7 |
$$ENAME^EDPRPT | ADD+16 |
$$EPERS^EDPRPT | STAFF+4, STAFF+5, STAFF+6 |
$$NOW^EDPRPT | EXP+6 |
ERR^EDPRPT | EXP+4 |
$$SHIFT^EDPRPT5 | ADD+5, ADD+7 |
SETUP^EDPRPT5 | EXP+3 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^EDP(230 - [#230] | EXP+1, EXP+5, E1+3, FIND+3, FIND+4, FIND+5, ADD+8, ADD+15, ADD+17 |
^EDP(230.1 - [#230.1] | ROOMS+2, ROOMS+3, STAFF+2, STAFF+3 |
^EDPB(231.8 - [#231.8] | ADD+3 |
Name | Field # of Occurrence |
---|---|
^( | ROOMS+2, STAFF+2 |
^("R" | ADD+17 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACT | STAFF+1~, STAFF+3*, STAFF+4, STAFF+5, STAFF+6 |
BEG | EXP+2~, EXP+5*, EXP+6*, E1+1 |
D | ROOMS+1~, ROOMS+2*, ROOMS+4, ROOMS+5, STAFF+1~, STAFF+2* |
EDPI | ADD+1~, ADD+2*, ADD+3 |
>> EDPSITE | FIND+3, FIND+4 |
EDPX | ADD+1~, ADD+2*, ADD+3, ADD+4, ADD+6 |
END | EXP+2~, EXP+5*, EXP+6*, EXP+7, E1+1 |
I | EXP+2~, E1+6*, E1+7, E1+8, FIND+1~, FIND+4*, FIND+5, FIND+6, ROOMS+1~, ROOMS+2* , ROOMS+3, STAFF+1~, STAFF+2*, STAFF+3 |
IEN | EXP~, EXP+1*, EXP+5, EXP+7, EXP+18, E1+2, E1+6, E1+7, E1+8 |
IN | EXP+2~, E1+3*, FIND~, FIND+2, FIND+5 |
J | EXP+2~, E1+8*, E1+9, E1+11 |
LABS | ADD+1~, ADD+17*, ADD+18, ADD+19, ADD+20 |
LAST | ROOMS+1~*, ROOMS+3, ROOMS+5* |
LIST | EXP+2~, FIND+1! |
LIST( | E1+2, FIND+6* |
LOG | EXP+2~, E1+2*, E1+3, E1+4, E1+8, E1+9, E1+11, E1+13, E1+14, E2+6* , E2+11*, ROOMS~, ROOMS+2, ROOMS+4, ROOMS+5, ROOMS+6, ADD~, ADD+2, ADD+3, ADD+8 , ADD+15, ADD+17, STAFF~, STAFF+1*, STAFF+2 |
MAX | E3+1~, E3+3* |
MD | EXP+2~, E3+3, E3+4*, E3+5*, E3+7, E3+8 |
MD( | E3+5, E3+8, STAFF+4* |
MORE | E3+1~, E3+4*, E3+7* |
N | ROOMS+1~*, ROOMS+4, ROOMS+5*, ROOMS+6 |
OTHER | EXP+2~ |
OTHER( | E1+14*, E2+11 |
OTHER(0 | E2+10 |
OUT | EXP+2~, E1+3*, E1+4, FIND~, FIND+3, ROOMS~, ROOMS+6 |
RES | EXP+2~, E3+3, E3+4*, E3+6*, E3+7, E3+8 |
RES( | E3+6, E3+8, STAFF+6* |
RIN | EXP+2~, E1+7*, E1+11 |
RLIST | EXP+2~ |
RLIST( | E1+6, E1+7, E1+8, E1+9, E1+11, ROOMS+4*, ROOMS+5*, ROOMS+6*, ADD+2 |
RN | EXP+2~, E3+3, E3+4*, E3+5*, E3+7, E3+8 |
RN( | E3+5, E3+8, STAFF+5* |
ROUT | EXP+2~, E1+7*, E1+9 |
ROW | ADD+1~, ADD+3*, ADD+5*, ADD+7*, ADD+9*, ADD+11*, ADD+12*, ADD+15*, ADD+16*, ADD+21* , ADD+22 |
SHIFT | EXP+3~, EXP+4 |
TAB | EXP+2~, EXP+5*, EXP+12, EXP+16, E2+3, E2+5, E2+9, E2+10, E3+1, E3+2 , E3+8, ADD+3, ADD+5, ADD+7, ADD+9, ADD+11, ADD+12, ADD+15, ADD+16, ADD+21 |
TIME | FIND+1~, FIND+2*, FIND+3*, FIND+4 |
TREAT | EXP+2~ |
TREAT( | E1+13*, E1+14, E2+6 |
TREAT(0 | E2+5 |
U | EXP+5, EXP+6, E1+3, E1+7, E1+9, E1+11, FIND+5, ROOMS+3, ROOMS+4, ROOMS+5 , ROOMS+6, ADD+3, ADD+4, ADD+6, ADD+8, ADD+9, ADD+11, ADD+12, ADD+15, ADD+16 , STAFF+4, STAFF+5, STAFF+6 |
X | EXP+2~, EXP+12*, EXP+15, EXP+16*, EXP+17, E1+9*, E1+11*, E3+8*, E3+9, FIND+1~ , FIND+5*, ROOMS+1~, ROOMS+3*, ROOMS+5, ADD+1~, ADD+4*, ADD+5, ADD+6*, ADD+7, ADD+8* , ADD+9, ADD+11, ADD+12, ADD+15*, ADD+16*, ADD+17*, ADD+18*, ADD+19*, ADD+20*, ADD+21 , STAFF+1~, STAFF+4*, STAFF+5*, STAFF+6* |
X0 | EXP+2~, EXP+5*, EXP+6, E1+3*, ADD+1~, ADD+8*, ADD+16 |
XRAY | ADD+1~, ADD+17*, ADD+18, ADD+19, ADD+20 |
Y | EXP+2~ |