LR7OB63 ;DALOI/JMC - Get Lab data from 63 ;05/10/11 13:51
Source file <LR7OB63.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
63(CTR,LRDFN,SS,IVDT,CORRECT) | ;Get data from file 63
; CTR=Counter ; LRDFN=Patient ID ; SS=Subscript for results 'CH'-Chem Tox 'MI'-Microbiology, etc. ; IVDT=Inverse D/T verified ; CORRECT=1 if a corrected result, 0 if not ; See ^LR7OB69 for description of LRX array |
|
CH | ;Chem, Hem, Tox, Ria, Ser, etc.
|
|
MI | ;Microbiology
|
|
BB | ;Blood bank
|
|
BB1(SPECMEN) | ;Blood bank
|
|
EM | ;Electron Microscopy
|
|
SP | ;Surgical Pathology
|
|
CY | ;Cytology
|
|
AU | ;Autopsy
|
|
NODEPIK(FILE,NODE,PIECE,DATA) | ;Set field name and data into X
|
|
UNIT(X,SPEC,SEX,DOB,AGE) | ;Find units and ref range
|
|
RESULT(TEST,RESULT) | ;Convert result to external format
|
|
STRIP(TEXT) | ;Strips white space from text
|
|
SET(FILE,FIELD,RESULT) | ;Interpret set of codes
|
|
POINTER(FILE,FIELD,RESULT) | ;Interpret pointer values
|
|
ORDP(LRPROV) | ; Display ordering provider in comment
|
|
PLS | ; List reporting and performing laboratories
; If multiple performing labs then list tests associated with each lab. |
|
RRDT(LRDT) | ; Display report released date/time
|
|
INTP | ; Check and add any file #60 interpretation
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD( | NODEPIK+2, NODEPIK+3, SET+1, POINTER+2, POINTER+4 |
^LAB(60 - [#60] | CH+17, CH+19, CH+21, CH+26, CH+30, UNIT+9, RESULT+4, INTP+4, INTP+6 |
^LAM - [#64] | CH+21 |
^LR - [#63] | CH+3, CH+15, CH+34, CH+35, BB1+3, BB1+7, BB1+10, PLS+9, INTP+3 |
^TMP( | CH+2!, CH+46! |
^TMP("LRPLS" | CH+30*, PLS+16, PLS+17, PLS+19, PLS+23, PLS+34! |
^TMP("LRX" | CH+27, CH+28*, CH+34*, BB1+9*, BB1+10*, ORDP+3, ORDP+4*, ORDP+5*, PLS+5, PLS+12* , PLS+13*, PLS+14*, PLS+20*, PLS+25*, PLS+27*, PLS+29*, PLS+30*, PLS+32*, RRDT+4, RRDT+5* , INTP+6* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AGE | CH+10~, CH+12*, UNIT~ |
>> BYPASS | CH+15 |
CNT | ORDP+1~, ORDP+3*, ORDP+4*, ORDP+5, PLS+3~, PLS+5*, PLS+12*, PLS+13*, PLS+14*, PLS+20* , PLS+25*, PLS+27*, PLS+29*, PLS+30*, PLS+32, RRDT+1~, RRDT+4*, RRDT+5 |
>> CONTROL | 63+7 |
CORRECT | 63~, CH+4, BB1+3 |
CTR | 63~, CH+27, CH+28, CH+34, CH+37, BB1+9, BB1+10, ORDP+3, ORDP+4, ORDP+5 , PLS+5, PLS+12, PLS+13, PLS+14, PLS+20, PLS+25, PLS+27, PLS+29, PLS+30, PLS+32 , RRDT+4, RRDT+5, INTP+6 |
CTR1 | BB1+2~, BB1+3*, BB1+9* |
DATA | NODEPIK~, NODEPIK+3 |
>> DFN | CH+8, CH+11 |
DOB | CH+10~, CH+11*, CH+12, UNIT~ |
DT | CH+12 |
FIELD | SET~, SET+1, POINTER~, POINTER+2, POINTER+4 |
FILE | NODEPIK~, NODEPIK+2, NODEPIK+3, SET~, SET+1, POINTER~, POINTER+2, POINTER+4 |
>> GOTCOM( | CH+32, CH+33* |
HI | UNIT+7~, UNIT+13 |
I | CH+1~, CH+2*, CH+46*, STRIP+1~, STRIP+2* |
IFN | 63+8~, CH+14*, CH+15*, CH+16, CH+17, CH+22, CH+26, CH+33*, CH+34*, BB1+6* , BB1+7*, BB1+8, BB1+10* |
>> IFN1 | BB1+7*, BB1+8 |
INTP | INTP+2~, INTP+5*, INTP+6* |
IVDT | 63~, CH+3, CH+6, CH+15, CH+22, CH+30, CH+32, CH+33, CH+34, CH+35 , CH+43, BB1+3, BB1+7, BB1+10, PLS+9, PLS+16, PLS+17, PLS+19, PLS+23, PLS+34 , INTP+3 |
LINE | PLS+3~, PLS+11*, PLS+13, PLS+14, PLS+22*, PLS+25*, PLS+26*, PLS+27, PLS+28*, PLS+29 , PLS+30 |
LLEN | PLS+3~, PLS+22*, PLS+25*, PLS+26* |
LO | UNIT+7~, UNIT+13 |
LRCW | RESULT+3~, RESULT+4* |
LRDFN | 63~, CH+3, CH+6, CH+15, CH+22, CH+32, CH+33, CH+34, CH+35, BB1+3 , BB1+7, BB1+10, PLS+9, INTP+3 |
>> LRDPF | CH+8, CH+11 |
LRDT | RRDT~, RRDT+2 |
LRPLS | PLS+3~, PLS+18*, PLS+19*, PLS+23, PLS+28 |
>> LRPLSAVE | CH+37, CH+42 |
>> LRPLSAVE("CH" | CH+43* |
>> LRPLSAVE(0 | CH+37* |
LRPROV | ORDP~, ORDP+2 |
>> LRSA( | CH+16 |
>> LRSB | CH+15 |
>> LRSB( | CH+15, CH+16 |
LRX | CH+1~, CH+22*, CH+23, CH+24, CH+30, PLS+3~, PLS+9*, PLS+10, PLS+11 |
LRY | ORDP+1~, ORDP+2*, ORDP+5, RRDT+1~, RRDT+2*, RRDT+3*, RRDT+5 |
MPLS | PLS+3~, PLS+16*, PLS+17*, PLS+21 |
NODE | NODEPIK~, NODEPIK+2 |
PIECE | NODEPIK~, NODEPIK+2 |
PLS | PLS+3~, PLS+16*, PLS+17 |
PORDER | CH+1~, CH+26*, CH+27*, CH+28, INTP+6 |
RESULT | RESULT~, RESULT+4, SET~, SET+1, POINTER~, POINTER+3, POINTER+4 |
SEX | CH+8~*, UNIT~ |
SPEC | UNIT~, UNIT+9, INTP+2~, INTP+3*, INTP+4, INTP+6 |
SPECMEN | BB1~, BB1+5 |
SS | 63~, 63+9 |
TEST | RESULT~, RESULT+4 |
TESTNAME | PLS+3~, PLS+22*, PLS+23*, PLS+24, PLS+26 |
TEXT | STRIP~, STRIP+2 |
>> TSTY( | CH+15 |
X | CH+15*, CH+17, BB1+8*, BB1+9, NODEPIK+2*, NODEPIK+3*, NODEPIK+4, UNIT~, UNIT+9*, UNIT+10 , UNIT+11, UNIT+12, UNIT+14, RESULT+3~, RESULT+4*, RESULT+5, STRIP+1~, STRIP+2*, STRIP+3, SET+1* , SET+2, POINTER+1~, POINTER+2*, POINTER+3, POINTER+4, PLS+3~, PLS+24*, PLS+25, PLS+26 |
X0 | CH+1~, CH+3*, CH+4, CH+5, CH+36, BB1+2~, BB1+3* |
X1 | BB1+7*, BB1+8, RESULT+3~, RESULT+4*, POINTER+3*, POINTER+4*, POINTER+5 |
XNODE | BB1+2~, BB1+7* |
Y | NODEPIK+1~, NODEPIK+3* |
Y1 | CH+1~, CH+17*, CH+19, CH+21, CH+22, CH+25, CH+26, CH+28, CH+30, BB1+2~ , BB1+10*, NODEPIK+1~, NODEPIK+3*, INTP+4, INTP+6 |
>> Y10 | CH+20*, CH+21*, CH+28 |
>> Y11 | CH+20*, CH+21*, CH+28 |
Y12 | CH+1~, CH+17*, CH+28 |
Y14 | CH+1~, CH+20*, CH+24*, CH+28, UNIT+8*, UNIT+14* |
Y15 | CH+1~, CH+19*, CH+28, BB1+2~ |
Y16 | CH+1~, CH+5*, CH+28 |
Y17 | CH+1~, CH+6*, CH+28 |
Y18 | CH+1~, CH+6*, CH+28, BB1+2~, BB1+3*, BB1+9 |
Y19 | BB1+2~, BB1+3*, BB1+5, BB1+9 |
Y2 | CH+1~, CH+17*, CH+18, CH+23*, CH+25*, CH+28, BB1+2~, BB1+10*, NODEPIK+1~, NODEPIK+3* |
Y3 | CH+1~, CH+17*, CH+23*, CH+28, BB1+2~ |
Y4 | CH+1~, CH+23*, CH+28, BB1+2~, UNIT+8*, UNIT+10* |
Y5 | CH+1~, CH+23*, CH+28, BB1+2~, UNIT+8*, UNIT+13* |
Y6 | CH+1~, CH+4*, CH+18*, CH+28, BB1+2~, BB1+3*, BB1+9 |
>> Y9 | CH+20*, CH+21*, CH+28 |
Z | NODEPIK+1~, NODEPIK+2*, NODEPIK+3 |
Name | Field # of Occurrence |
---|---|
$T(@SS | 63+9 |