Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: EDPHIST

Package: Emergency Department Integration Software

Routine: EDPHIST


Information

EDPHIST ;SLC/MKB - Return results history as XML ;2/28/12 08:33am

Source Information

Source file <EDPHIST.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Emergency Department Integration Software 3 TMP^EDPLAB  OEL^EDPMED  XML^EDPX  
Kernel 2 $$HL7TFM^XLFDT  $$UP^XLFSTR  
Order Entry Results Reporting 2 $$VALUE^ORCSAVE2  ($$OI,$$PKGID)^ORX8  
Lab Service 1 RR^LR7OR1  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Emergency Department Integration Software 4 EDPCTRL  EDPDTL  EDPLAB  EDPQPP  

Entry Points

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)

External References

Name Field # of Occurrence
$$GET1^DIQ LAB+16, ACK+8, MED+23, STATUS+5
TMP^EDPLAB LAB+26, LAB+39, MED+31
OEL^EDPMED MED+16
XML^EDPX ERR+9
RR^LR7OR1 LAB+9, MED+24
$$VALUE^ORCSAVE2 MED+22
$$OI^ORX8 LAB+15, MED+7
$$PKGID^ORX8 LAB+21
$$HL7TFM^XLFDT RANGE+2, RANGE+3
$$UP^XLFSTR STATUS+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^PSDRUG - [#50] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^EDP(230 - [#230] LAB+6
^EDP(234 - [#234] MED+36, MED+39, MED+40
^OR(100 - [#100] LAB+17, MED+11, MED+12
^ORA(102.4 - [#102.4] ACK+6, ACK+7, ACKD+2, ACKD+3
^TMP("LRRR" LAB+9!, LAB+24, LAB+34, LAB+36, MED+21!, MED+24, MED+27, MED+28, MED+29, MED+33!
^TMP("PS" MED+13!, MED+18!
^VA(200 - [#200] MED+43

Label References

Name Line Occurrences
$$ACK LAB+18
$$ACKD STATUS+7
$$ESC LAB+18, ADDA+5, ADDA+6, ADDA+9, ADDA+12, ADDA+13, ADDE+3
$$STATUS LAB+18
$$VAL LAB+5, LAB+7, MED+5, MED+6
ADD LAB+1, LAB+19, LAB+23, LAB+29, LAB+33, LAB+42, 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+27, LAB+40, MED+17, MED+32, MED+44
ERR LAB+5, MED+5, MED+6, MED+7
L1 LAB+21
LQ LAB+5
MQ MED+5, MED+6, MED+7, MED+23

Naked Globals

Name Field # of Occurrence
^( LAB+36, MED+39
^(0 LAB+17
^(1 MED+40
^(2 MED+40

Local Variables

Legend:

>> 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+32~, LAB+33*, LAB+41*
DA MED+38~, MED+39*, MED+40, MED+42
DFN LAB+4~, LAB+5*, LAB+6, LAB+9, LAB+24, LAB+26, LAB+34, LAB+36, LAB+39, MED+4~
, MED+5*, MED+8, MED+16, MED+24, MED+27, MED+28, MED+29, MED+31, MED+36, MED+39
DONE LAB+32~, LAB+33*, LAB+34, LAB+41*
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+19!
EDPTST( LAB+28*, LAB+37
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+25!, LAB+26, LAB+27, LAB+38!, LAB+39, LAB+40, MED+4~, MED+16!, MED+17
, MED+30!, MED+31, MED+32
EDPX("id" LAB+25*, LAB+38*
EDPX("testID" LAB+28
EDPY LAB+12~, LAB+18*, LAB+19!
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+22*, LAB+24, LAB+25, LAB+26, LAB+34*, LAB+36, LAB+38, LAB+39, 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+41, RANGE~, RANGE+1*
MORE LAB+32~, LAB+35*, LAB+38*, LAB+41
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+18
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+18, LAB+21, 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+21*, LAB+22
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+24*, LAB+25, LAB+26, LAB+35*, LAB+36*, LAB+38, LAB+39, MED+25~, MED+29*
, MED+31
START LAB+12~, LAB+17*, LAB+18
STS LAB+12~, LAB+16*, LAB+18, 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+22*, LAB+24, LAB+25, LAB+26, LAB+34, LAB+36, 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, LAB+17, 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+28*, LAB+36*, LAB+37, 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
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All