EDPHIST ;SLC/MKB - Return results history as XML ; 9/1/22 9:27am
Source file <EDPHIST.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 | 4 | EDPCTRL EDPDTL EDPLAB EDPQPP |
Name | Comments | DBIA/ICR reference |
---|---|---|
LAB(XML,PARAM) | ; -- Return results history for lab orders
|
|
L1 | ||
LQ | ; end
|
|
ACK(ORDER,RETDATE) | ; -- Return [first] user that ack'd order
; INPUT ; ORDER - Order IEN ; RETDATE - (optional) 1 if ack date is to be returned, otherwise do not return ack date |
|
MED(XML,PARAM) | ; -- Return dose & lab history for med
|
|
MQ | ;end
|
|
VAL(X) | ||
STATUS(STS,TYPE,ORDER) | ; -- Return result status for ORDER status
|
|
ACKD(ORDER) | ; -- Returns 1 or 0, if ORDER has been acknowledged
|
|
RANGE(VAL,BEG,END,MAX) | ; -- Return BEG,END,MAX
|
|
ERR(X) | ; -- return error message
|
|
UES(X) | ; -- unescape incoming XML
; bwf: 12/19/2011 commented following line due to SAC. Need to figure out why this is here. |
|
ESC(X) | ||
ADD(X) | ; Add a line to XML(n)
|
|
ADDA(TAG,ATT) | ; Add ATTribute list to XML(n)
; as <TAG att1="a" att2="b"... /> |
|
ADDE(ELMT) | ; Add ELeMenT list to XML(n)
|
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | GET1^DIQ |
^VA(200 - [#200] | GET1^DIQ |
^PSDRUG - [#50] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^EDP(230 - [#230] | LAB+6 |
^EDP(234 - [#234] | MED+36, MED+39, MED+40 |
^OR(100 - [#100] | MED+11, MED+12 |
^ORA(102.4 - [#102.4] | ACK+6, ACK+7, ACKD+2, ACKD+3 |
^TMP("LRRR" | LAB+9!, LAB+26, LAB+36, LAB+38, MED+21!, MED+24, MED+27, MED+28, MED+29, MED+33! |
^TMP("PS" | MED+13!, MED+18! |
^VA(200 - [#200] | MED+43 |
Name | Line Occurrences |
---|---|
$$ACK | LAB+20 |
$$ACKD | STATUS+7 |
$$ESC | LAB+20, ADDA+5, ADDA+6, ADDA+9, ADDA+12, ADDA+13, ADDE+3 |
$$STATUS | LAB+20 |
$$VAL | LAB+5, LAB+7, MED+5, MED+6 |
ADD | LAB+1, LAB+21, LAB+25, LAB+31, LAB+35, LAB+44, L1, LQ+1, MED+1, MED+14 , MED+18, MED+26, MED+33, MED+37, MED+45, MQ+1, ADDA+17, ADDA+19, ADDA+20, ADDE+4 |
ADDA | LAB+29, LAB+42, MED+17, MED+32, MED+44 |
ERR | LAB+5, MED+5, MED+6, MED+7 |
L1 | LAB+23 |
LQ | LAB+5 |
MQ | MED+5, MED+6, MED+7, MED+23 |
Name | Field # of Occurrence |
---|---|
^( | LAB+38, MED+39 |
^(1 | MED+40 |
^(2 | MED+40 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ATT | ADDA~ |
ATT( | ADDA+4, ADDA+5, ADDA+6, ADDA+8, ADDA+9, ADDA+11, ADDA+12, ADDA+13 |
BEG | RANGE~, RANGE+1*, RANGE+2*, RANGE+4* |
CNT | LAB+34~, LAB+35*, LAB+43* |
DA | MED+38~, MED+39*, MED+40, MED+42 |
DFN | LAB+4~, LAB+5*, LAB+6, LAB+9, LAB+26, LAB+28, LAB+36, LAB+38, LAB+41, MED+4~ , MED+5*, MED+8, MED+16, MED+24, MED+27, MED+28, MED+29, MED+31, MED+36, MED+39 |
DONE | LAB+34~, LAB+35*, LAB+36, LAB+43* |
DRUG | MED+21~, MED+22*, MED+23 |
EDPDT | MED+38~*, MED+39* |
EDPI | LAB+12~, LAB+13*, LAB+14 |
EDPLST | MED+4~ |
EDPLST( | MED+12*, MED+15 |
EDPLST(0 | MED+13 |
EDPTST | LAB+12~, LAB+21! |
EDPTST( | LAB+30*, LAB+39 |
EDPV | MED+38~, MED+40!, MED+44 |
EDPV("eventTS" | MED+41* |
EDPV("id" | MED+42* |
EDPV("text" | MED+41* |
EDPV("title" | MED+41* |
EDPV("userID" | MED+42* |
EDPV("userName" | MED+43* |
EDPX | LAB+12~, LAB+27!, LAB+28, LAB+29, LAB+40!, LAB+41, LAB+42, MED+4~, MED+16!, MED+17 , MED+30!, MED+31, MED+32 |
EDPX("id" | LAB+27*, LAB+40* |
EDPX("testID" | LAB+30 |
EDPY | LAB+12~, LAB+20*, LAB+21! |
ELMT | ADDE~ |
ELMT( | ADDE+2, ADDE+3 |
END | RANGE~, RANGE+1*, RANGE+3*, RANGE+4*, RANGE+5* |
I | ESC+3~, ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8*, ADDA+2~, ADDA+8*, ADDA+9, ADDA+11 , ADDA+12, ADDA+13, ADDA+19* |
IDT | LAB+12~, LAB+24*, LAB+26, LAB+27, LAB+28, LAB+36*, LAB+38, LAB+40, LAB+41, MED+25~ , MED+28*, MED+29, MED+31 |
IFN | ACK+4~, ACK+6*, ACK+7, ACKD+1~, ACKD+2*, ACKD+3 |
IN | LAB+4~, LAB+6* |
LOG | LAB+4~, LAB+6* |
MAX | LAB+4~, LAB+7*, LAB+43, RANGE~, RANGE+1* |
MORE | LAB+34~, LAB+37*, LAB+40*, LAB+43 |
MSG | ERR+1~, ERR+2*, ERR+3*, ERR+4*, ERR+5*, ERR+6*, ERR+8*, ERR+9 |
MULT | ADDA+2~ |
MULT( | ADDA+5*, ADDA+7*, ADDA+9*, ADDA+14*, ADDA+15*, ADDA+16*, ADDA+19 |
N | ADDA+2~, ADDA+3*, ADDA+5*, ADDA+7*, ADDA+9*, ADDA+14*, ADDA+15*, ADDA+16*, ADDA+17, ADDA+18 |
NAME | LAB+12~, LAB+15*, LAB+20 |
NODE | ADDA+2~, ADDA+3*, ADDA+6*, ADDA+17*, ADDE+1~, ADDE+3*, ADDE+4 |
ORD | MED+4~, MED+6*, MED+7, MED+12 |
ORDER | ACK~, ACK+6, STATUS~, STATUS+3*, STATUS+4, STATUS+5, STATUS+7, ACKD~, ACKD+2 |
ORIDT | MED+4~, MED+11*, MED+12, MED+16 |
ORIFN | LAB+12~, LAB+14*, LAB+15, LAB+16, LAB+17, LAB+20, LAB+23, MED+4~, MED+12*, MED+15* , MED+16, MED+22 |
ORIT | MED+4~, MED+7*, MED+11, MED+12, MED+36, MED+39 |
ORPK | LAB+12~, LAB+23*, LAB+24 |
ORUPCHUK | LAB+12~ |
ORUPCHUK("ORODT" | LAB+19 |
ORUPCHUK("ORSTRT" | LAB+18 |
ORVP | MED+4~, MED+8*, MED+11, MED+12 |
PARAM | LAB~, MED~ |
PARAM( | VAL |
PARAM("order" | LAB+13, LAB+14 |
QOT | ESC+3~*, ESC+8 |
RETDATE | ACK~, ACK+5*, ACK+9 |
SEQ | LAB+12~, LAB+26*, LAB+27, LAB+28, LAB+37*, LAB+38*, LAB+40, LAB+41, MED+25~, MED+29* , MED+31 |
START | LAB+12~, LAB+18*, LAB+19*, LAB+20 |
STS | LAB+12~, LAB+16*, LAB+20, STATUS~, STATUS+3*, STATUS+4, STATUS+7, STATUS+8, STATUS+9, STATUS+10 , STATUS+11, STATUS+12, STATUS+13, STATUS+14, STATUS+15, STATUS+16, STATUS+17, STATUS+18 |
SUB | LAB+12~, LAB+24*, LAB+26, LAB+27, LAB+28, LAB+36, LAB+38, MED+25~, MED+27*, MED+28 , MED+29, MED+31, ADDA+10~*, ADDA+11*, ADDA+12, ADDA+13 |
TAG | ADDA~, ADDA+3, ADDA+20 |
TEST | MED+21~, MED+23*, MED+24, MED+36, MED+39 |
TXT | ADDA+10~*, ADDA+12*, ADDA+14, ADDA+15 |
TYPE | STATUS~, STATUS+3*, STATUS+7, STATUS+10, STATUS+12 |
U | LAB+6, LAB+15, ACK+8, ACK+9, MED+42, MED+43, ACKD+3 |
VAL | RANGE~ |
VAL("start" | RANGE+1 |
VAL("stop" | RANGE+1 |
VAL("total" | RANGE+1 |
X | LAB+12~, LAB+30*, LAB+38*, LAB+39, ACK+4~, ACK+7*, ACK+8*, MED+42*, MED+43, VAL~ , STATUS+1~, STATUS+5*, STATUS+6, ACKD+1~, ACKD+3*, RANGE+4~*, ERR~, ERR+2, ERR+3, ERR+4 , ERR+5, ERR+6, ERR+8, UES~, ESC~, ESC+4, ESC+5*, ESC+6*, ESC+7*, ESC+8* , ADD~, ADD+2, ADDA+2~, ADDA+4*, ADDA+5, ADDA+6, ADDA+7, ADDA+8, ADDA+9, ADDA+10 , ADDA+11, ADDA+12, ADDA+13, ADDA+15, ADDA+16, ADDA+19*, ADDA+20*, ADDE+1~, ADDE+2*, ADDE+3 |
X0 | MED+38~, MED+40*, MED+41, MED+42 |
X1 | MED+38~, MED+40*, MED+41 |
X2 | MED+38~, MED+40*, MED+41 |
XML | LAB~, LAB+1!, MED~, MED+1!, ADD+1*, ADD+2 |
XML( | ADD+2* |
Y | ACK+4~*, ACK+6, ACK+8*, ACK+9, ACK+10, STATUS+1~, STATUS+2*, STATUS+4*, STATUS+6*, STATUS+7* , STATUS+8*, STATUS+9*, STATUS+10*, STATUS+11*, STATUS+12*, STATUS+13*, STATUS+14*, STATUS+15*, STATUS+16*, STATUS+17* , STATUS+18*, STATUS+19, ACKD+1~*, ACKD+2, ACKD+3*, ACKD+4, ESC+3~, ESC+4*, ESC+5*, ESC+6* , ESC+7*, ESC+8*, ESC+9, ADDA+10~*, ADDA+13*, ADDA+14 |
Y1 | ACK+4~*, ACK+8*, ACK+9 |