EDPLAB ;SLC/MKB - EDIS lab result utilities ; 9/1/22 9:27am
Source file <EDPLAB.m>
Package | Total | Call Graph |
---|---|---|
Emergency Department Integration Software | 3 | ($$ACK,$$ACKD,ADD)^EDPHIST TMP^EDPLAB (TOXML,TOXMLG)^EDPXML |
Lab Service | 1 | RR^LR7OR1 |
Order Entry Results Reporting | 1 | ($$OI,$$PKGID,EN)^ORX8 |
Registration | 1 | $$SITE^VASITE |
VA FileMan | 1 | $$GET1^DIQ |
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 EDPGLOB EDPHIST EDPLAB |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(EDPRES,PARAM) | ; -- Return lab results as XML in EDPRES
; Required: "patient" identifier (DFN) ; Optional: "start"-"stop" date range ; "total" - total number of accessions ; "list" - 1 for list of testID's only ; "testID"s for result history of test(s) |
|
ENQ | ;end
|
|
ORD(EDPRES,PARAM) | ; -- Return results history for lab orders
|
|
ORQ | ; end
|
|
VAL(X) | ||
ESC(X) | ||
STATUS(STS,ORDER) | ; -- Return result status for ORDER status
|
|
TMP(Y,DFN,SUB,IDT,SEQ,LIST) | ; -- Return ^TMP("LRRR",$J,DFN,SUB,IDT,SEQ) data
; in Y("attribute")=value ; I SUB = MI or BB ?? |
FileNo | Call Tags |
---|---|
^OR(100 - [#100] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | TMP+30 |
^EDP(230 - [#230] | ORD+9 |
^LAB(60 - [#60] | TMP+17 |
^LAB(61 - [#61] | TMP+31 |
^LAB(62 - [#62] | TMP+33 |
^LR - [#63] | TMP+30 |
^LRO(69 - [#69] | TMP+34, TMP+37 |
^TMP("EDPLAB" | EN+10 |
^TMP("LRRR" | EN+31!, EN+33, EN+36, EN+39, ORD+12!, ORD+31, ORD+39, ORD+41, TMP+4 |
Name | Field # of Occurrence |
---|---|
^( | EN+39, ORD+41, TMP+17 |
^(3 | TMP+37 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACK | TMP+3~, TMP+40* |
ACNT | EN+30~, EN+32*, EN+47*, ORD+38~*, ORD+48* |
ARRAY | EN+10~*, EN+17, EN+45, ENQ+1, ORD+3~*, ORD+8, ORD+26, ORD+34, ORD+47 |
BEG | EN+14~, EN+26*, EN+27*, EN+31 |
CS | TMP+29~, TMP+32*, TMP+33 |
DFN | EN+14~, EN+15*, EN+31, EN+33, EN+36, EN+39, EN+44, ORD+6~, ORD+7*, ORD+9 , ORD+12, ORD+31, ORD+33, ORD+39, ORD+41, ORD+46, TMP~, TMP+4, TMP+30 |
DONE | EN+30~, EN+32*, EN+36, EN+47*, ORD+38~*, ORD+39, ORD+48* |
EDPARR | EN+10~, ORD+3~, ORQ+2 |
EDPARR("results" | ORD+3 |
EDPI | ORD+15~, ORD+16*, ORD+18 |
EDPRES | EN~, EN+7, ENQ+1, ORD~, ORD+1!, ORQ+2 |
EDPTST | ORD+15~, ORD+30! |
EDPTST( | ORD+35*, ORD+42 |
EDPX | EN+41!, EN+44, EN+45, ORD+15~, ORD+18!, ORD+26, ORD+32!, ORD+33, ORD+34, ORD+43! , ORD+46, ORD+47 |
EDPX("ack" | ORD+25* |
EDPX("collectedTS" | ORD+25* |
EDPX("id" | EN+42*, ORD+19*, ORD+32*, ORD+43* |
EDPX("name" | ORD+21* |
EDPX("statusId" | ORD+20* |
EDPX("statusName" | ORD+20* |
EDPX("testID" | ORD+35 |
EDPY | ORD+15~ |
END | EN+14~, EN+26*, EN+27*, EN+28*, EN+31 |
FAC | TMP+3~, TMP+44* |
I | EN+14~, EN+21*, ESC+3~, ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8* |
ICNT | EN+30~, EN+32*, EN+45*, ORD+38~*, ORD+47* |
IDT | EN+30~, EN+36*, EN+37, EN+39, EN+40, EN+42, EN+44, ORD+15~, ORD+30*, ORD+31 , ORD+32, ORD+33, ORD+39*, ORD+41, ORD+43, ORD+46, TMP~, TMP+4, TMP+11, TMP+13 , TMP+15, TMP+30 |
IN | ORD+6~, ORD+9* |
LIST | EN+14~, EN+26*, EN+42, EN+44, TMP~, TMP+11 |
LOG | ORD+6~, ORD+9* |
LR3 | TMP+36~, TMP+37*, TMP+43 |
LRDFN | TMP+29~, TMP+30* |
LRO | TMP+36~, TMP+37*, TMP+39 |
MATCH | ORD+38~, ORD+40*, ORD+43*, ORD+48 |
MAX | EN+14~, EN+26*, EN+47, ORD+6~, ORD+10*, ORD+48 |
MORE | EN+30~, EN+38*, EN+43*, EN+47 |
ORDER | STATUS~, STATUS+2*, STATUS+3, STATUS+4, STATUS+6 |
ORIFN | ORD+15~, ORD+18*, ORD+19, ORD+20, ORD+21, ORD+22, ORD+25, ORD+29 |
ORPK | ORD+15~, ORD+29*, ORD+30 |
ORUPCHUK | ORD+15~ |
ORUPCHUK("ORODT" | ORD+24 |
ORUPCHUK("ORSTRT" | ORD+23 |
PARAM | EN~, ORD~ |
PARAM( | VAL |
PARAM("order" | ORD+16, ORD+18 |
QOT | ESC+3~*, ESC+8 |
SEQ | EN+30~, EN+38*, EN+39*, EN+40, EN+42, EN+44, ORD+15~, ORD+31*, ORD+32, ORD+33 , ORD+40*, ORD+41*, ORD+43, ORD+46, TMP~, TMP+4, TMP+11, TMP+18 |
SPC | TMP+29~, TMP+31*, TMP+32 |
STS | STATUS~, STATUS+2*, STATUS+3, STATUS+6, STATUS+7, STATUS+8, STATUS+9, STATUS+10, STATUS+11, STATUS+12 , STATUS+13, STATUS+14, STATUS+15, STATUS+16, STATUS+17 |
SUB | EN+30~, EN+33*, EN+35, EN+36, EN+39, EN+42, EN+44, ORD+15~, ORD+30*, ORD+31 , ORD+32, ORD+33, ORD+39, ORD+41, ORD+43, ORD+46, TMP~, TMP+4, TMP+13, TMP+30 |
TEST | EN+14~, EN+37, EN+40 |
TEST( | EN+23*, EN+37, EN+40 |
TESTIDS | EN+14~, EN+19*, EN+20, EN+21 |
TIDT | EN+14~, EN+22*, EN+23 |
TSEQ | EN+14~, EN+22*, EN+23 |
U | EN+21, ORD+9, ORD+21, TMP+17, TMP+19, TMP+23, TMP+24, TMP+25, TMP+26, TMP+27 , TMP+28, TMP+30, TMP+32, TMP+33, TMP+34, TMP+39, TMP+43, TMP+44 |
X | EN+14~, EN+21*, EN+22, EN+23, EN+27~*, EN+39*, ORD+15~, ORD+19*, ORD+20, ORD+21* , ORD+23*, ORD+24*, ORD+25, ORD+35*, ORD+41*, ORD+42, VAL~, ESC~, ESC+4, ESC+5* , ESC+6*, ESC+7*, ESC+8*, STATUS+1~, STATUS+4*, STATUS+5, TMP+3~, TMP+17*, TMP+18, TMP+25* , TMP+28*, TMP+30*, TMP+31, TMP+34*, TMP+35, TMP+39*, TMP+40, TMP+43* |
X0 | TMP+3~, TMP+4*, TMP+17, TMP+19, TMP+23, TMP+24, TMP+25, TMP+26, TMP+27, TMP+28 , TMP+34 |
XC | TMP+3~, TMP+34*, TMP+35, TMP+37 |
Y | ESC+3~, ESC+4*, ESC+5*, ESC+6*, ESC+7*, ESC+8*, ESC+9, STATUS+1~, STATUS+3*, STATUS+5* , 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, TMP~ |
Y("accession" | TMP+13* |
Y("collectedTS" | TMP+15* |
Y("deviation" | TMP+24* |
Y("high" | TMP+25* |
Y("low" | TMP+25* |
Y("number" | TMP+27* |
Y("printName" | TMP+26* |
Y("printOrder" | TMP+18* |
Y("result" | TMP+19*, TMP+20, TMP+21*, TMP+22* |
Y("resultedTS" | TMP+43* |
Y("sample" | TMP+33* |
Y("specimen" | TMP+32* |
Y("stnName" | TMP+44* |
Y("stnNum" | TMP+44* |
Y("subscript" | TMP+13* |
Y("testID" | TMP+11*, TMP+17* |
Y("testName" | TMP+17* |
Y("units" | TMP+23* |