LRPXAPI1 ;SLC/STAFF Lab Extract API code ;10/28/03 11:29
Source file <LRPXAPI1.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 |
---|---|---|
Lab Service | 1 | LRPXAPI |
Name | Comments | DBIA/ICR reference |
---|---|---|
TESTS(TESTS,DFN,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns lab tests on a patient ; returned in array TESTS |
|
RESULTS(VALUES,DFN,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns all lab results on a patient ; returned in array VALUES ; format: date^test^comment^results ; date is collection date/time ; test is file 60 ien ; comment is 1 (exists) or 0 (no comment) ; results are result node (value^flag^...) |
|
TRESULTS(VALUES,DFN,TEST,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns a lab test's results on a patient ; returned in array VALUES ; format: date^test^comment^results ; date is collection date/time ; test is file 60 ien ; comment is 1 (exists) or 0 (no comment) ; results are result node (value^flag^...) |
|
PATIENTS(PATS,TEST,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; uses PATS within this scope ; returns patients who have a test result ; returned in array PATS ; format: DFN^patient name |
|
PATS | ; within scope of PATIENTS
|
|
PTS(PATS,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; uses APATS within this scope ; returns all patients that have lab data |
|
PT | ; within scope of ALLPATS
|
|
DATES(DATES,DFN,TYPE,MAX,NEXT,DATE1,DATE2) | ; from LRPXAPI
; returns dates of data occurrence ; returned in array DATES |
Name | Field # of Occurrence |
---|---|
$$COMMENT^LRPXAPI2 | RESULTS+30, TRESULTS+29 |
$$REPLACE^LRPXAPI2 | RESULTS+21, TRESULTS+17, PATIENTS+16 |
$$VERIFIED^LRPXAPI2 | RESULTS+25, DATES+16 |
LRVAL^LRPXAPI2 | RESULTS+35, TRESULTS+33, PATS+13 |
VALUE^LRPXAPI2 | TESTS+16 |
ITEM^LRPXAPI6 | PTS+8 |
$$CONDOK^LRPXAPIU | TESTS+10, RESULTS+18, TRESULTS+13, PATIENTS+13, PTS+6 |
$$DFNM^LRPXAPIU | PATS+19, PATS+20, PT+11, PT+12 |
$$LRDFN^LRPXAPIU | RESULTS+12, DATES+10 |
$$LRIDT^LRPXAPIU | RESULTS+14, RESULTS+15, RESULTS+29, DATES+11, DATES+12, DATES+19 |
$$TEST^LRPXAPIU | RESULTS+33 |
$$TESTNM^LRPXAPIU | TESTS+19, TESTS+20 |
DATES^LRPXAPIU | TESTS+7, RESULTS+13, TRESULTS+18, PATIENTS+9, PTS+13, DATES+7 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LR - [#63] | RESULTS+24, RESULTS+32, DATES+15 |
^PXRMINDX(63 | TESTS+12, TESTS+13, TRESULTS+23, TRESULTS+26, TRESULTS+31, PATIENTS+19, PATS+4, PATS+9, PTS+18, PT+3 , PT+5, DATES+28, DATES+31 |
^TMP( | TESTS+6!, TESTS+19*, RESULTS+11!, RESULTS+38*, TRESULTS+11!, TRESULTS+36*, PATIENTS+8!, PATS+19*, PTS+12!, PT+11* , DATES+6!, DATES+22*, DATES+34* |
Name | Field # of Occurrence |
---|---|
^( | RESULTS+32 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | TESTS+3~, TESTS+11*, TESTS+12, TESTS+17*, RESULTS+8~, RESULTS+22*, RESULTS+28*, RESULTS+40, TRESULTS+8~, TRESULTS+21* , TRESULTS+34*, TRESULTS+38, PATIENTS+5~, PATIENTS+17*, PATIENTS+19, PATIENTS+21, PATS+17*, PTS+3~, PTS+16*, PTS+18 , PTS+20, PT+9*, DATES+3~, DATES+8*, DATES+20*, DATES+21, DATES+32*, DATES+36 |
COMMENT | RESULTS+8~, RESULTS+30*, RESULTS+38, RESULTS+39, TRESULTS+8~, TRESULTS+29*, TRESULTS+36, TRESULTS+37 |
COND | TESTS~, TESTS+10, TESTS+16, RESULTS~, RESULTS+18, RESULTS+19*, RESULTS+20*, RESULTS+21*, RESULTS+35, TRESULTS~ , TRESULTS+13, TRESULTS+14, TRESULTS+15*, TRESULTS+16*, TRESULTS+17*, TRESULTS+33, PATIENTS~, PATIENTS+13, PATIENTS+14*, PATIENTS+15* , PATIENTS+16*, PATS+6, PATS+13, PTS~, PTS+6, PTS+7, PTS+8, PTS+9 |
CONDOK | TESTS+3~, TESTS+8*, TESTS+10, RESULTS+8~, RESULTS+16*, RESULTS+18, TRESULTS+8~, TRESULTS+12*, TRESULTS+13, PATIENTS+5~ , PATIENTS+10*, PATIENTS+13, PTS+3~, PTS+5*, PTS+6 |
DATA | TESTS+3~!, TESTS+16, RESULTS+8~, RESULTS+35, RESULTS+36*, RESULTS+38, RESULTS+39, TRESULTS+8~, TRESULTS+33, TRESULTS+36 , TRESULTS+37, PATIENTS+5~, PATS+13 |
DATE | TESTS+3~, TESTS+13*, TESTS+14, TESTS+15, TESTS+16, RESULTS+8~, RESULTS+29*, RESULTS+38, RESULTS+39, TRESULTS+8~ , TRESULTS+19*, TRESULTS+20*, TRESULTS+23*, TRESULTS+24*, TRESULTS+25*, TRESULTS+26, TRESULTS+31, TRESULTS+36, TRESULTS+37, TRESULTS+39 , PATIENTS+5~, PATS+3*, PATS+4*, PATS+5, PATS+9, PTS+3~, PT+4*, PT+5*, PT+6, DATES+3~ , DATES+19*, DATES+22, DATES+23, DATES+25*, DATES+26*, DATES+28*, DATES+29*, DATES+31, DATES+34, DATES+35 , DATES+37 |
DATE1 | TESTS~, TESTS+7, TESTS+13, RESULTS~, RESULTS+13, RESULTS+15, TRESULTS~, TRESULTS+18, TRESULTS+24, PATIENTS~ , PATIENTS+9, PATS+3, PTS~, PTS+9, PTS+13, PT+4, DATES~, DATES+7, DATES+12, DATES+29 |
DATE2 | TESTS~, TESTS+7, TESTS+15, RESULTS~, RESULTS+13, RESULTS+14, TRESULTS~, TRESULTS+18, TRESULTS+19, TRESULTS+25 , PATIENTS~, PATIENTS+9, PATS+5, PTS~, PTS+9, PTS+13, PT+6, DATES~, DATES+7, DATES+11 , DATES+25 |
DATES | DATES~, DATES+4!*, DATES+6*, DATES+22, DATES+33, DATES+34 |
DATES( | DATES+23*, DATES+35* |
DFN | TESTS~, TESTS+12, TESTS+13, TESTS+16, RESULTS~, RESULTS+12, TRESULTS~, TRESULTS+23, TRESULTS+26, TRESULTS+31 , PATIENTS+5~, PATIENTS+12*, PATIENTS+19*, PATIENTS+21*, PATIENTS+22, PATS+4, PATS+9, PATS+19, PATS+20, PTS+3~ , PTS+15*, PTS+18*, PTS+20*, PTS+21, PT+3, PT+5, PT+11, PT+12, DATES~, DATES+10 , DATES+28, DATES+31 |
DONE | PATIENTS+5~, PATS+1*, PATS+4, PATS+5*, PATS+6*, PATS+15* |
ERR | TESTS+3~, TESTS+16, RESULTS+8~, RESULTS+35, TRESULTS+8~, TRESULTS+33, PATIENTS+5~, PATS+13, PTS+3~, PTS+8 |
ITEM | PTS+3~, PTS+8, PTS+9, PT+2*, PT+3*, PT+5, DATES+3~, DATES+30*, DATES+31* |
LRDFN | RESULTS+8~, RESULTS+12*, RESULTS+24, RESULTS+25, RESULTS+30, RESULTS+32, RESULTS+35, TRESULTS+8~, TRESULTS+27*, TRESULTS+29 , TRESULTS+33, PATIENTS+5~, PATS+10*, PATS+13, DATES+3~, DATES+10*, DATES+15, DATES+16 |
LRDN | RESULTS+8~, RESULTS+31*, RESULTS+32*, RESULTS+33, RESULTS+35, TRESULTS+8~, TRESULTS+32*, TRESULTS+33, PATIENTS+5~, PATS+12* , PATS+13 |
LRIDT | RESULTS+8~, RESULTS+14*, RESULTS+17*, RESULTS+24*, RESULTS+25, RESULTS+26*, RESULTS+27*, RESULTS+29, RESULTS+30, RESULTS+32 , RESULTS+35, RESULTS+38, RESULTS+41, TRESULTS+8~, TRESULTS+28*, TRESULTS+29, TRESULTS+33, PATIENTS+5~, PATS+11*, PATS+13 , DATES+3~, DATES+11*, DATES+13*, DATES+15*, DATES+16, DATES+17*, DATES+18*, DATES+19, DATES+24 |
LRIDT1 | RESULTS+8~, RESULTS+15*, RESULTS+27, DATES+3~, DATES+12*, DATES+18 |
MAX | TESTS~, TESTS+12, RESULTS~, RESULTS+40, TRESULTS~, TRESULTS+38, PATIENTS~, PATIENTS+19, PATIENTS+21, PTS~ , PTS+9, PTS+18, PTS+20, DATES~, DATES+21, DATES+36 |
NEXT | TESTS~, TESTS+8, TESTS+9*, TESTS+12*, TESTS+13, TESTS+16, TESTS+19, TESTS+20, TESTS+21*, RESULTS~ , RESULTS+16, RESULTS+17*, RESULTS+41*, TRESULTS~, TRESULTS+12, TRESULTS+20*, TRESULTS+39*, PATIENTS~, PATIENTS+10, PATIENTS+11* , PATIENTS+12, PATIENTS+22*, PTS~, PTS+5, PTS+9, PTS+14*, PTS+15, PTS+21*, DATES~, DATES+13* , DATES+24*, DATES+26*, DATES+37* |
NMSP | TESTS+3~, TESTS+4*, TESTS+6, RESULTS+8~, RESULTS+9*, RESULTS+11, TRESULTS+8~, TRESULTS+9*, TRESULTS+11, PATIENTS+5~ , PATIENTS+6*, PATIENTS+8, PTS+3~, PTS+10*, PTS+12, DATES+3~, DATES+4*, DATES+6 |
NODE | TRESULTS+8~, TRESULTS+26*, TRESULTS+27, TRESULTS+28, TRESULTS+30*, TRESULTS+31*, TRESULTS+32, PATIENTS+5~, PATS+8*, PATS+9* , PATS+10, PATS+11, PATS+12 |
OK | RESULTS+8~, RESULTS+23*, RESULTS+24, RESULTS+26*, RESULTS+27*, RESULTS+40*, TRESULTS+8~, TRESULTS+22*, TRESULTS+23, TRESULTS+24* , TRESULTS+25*, TRESULTS+31, TRESULTS+38*, PATIENTS+5~, PATS+2*, PATS+6*, PATS+7*, PATS+9, PATS+14*, PATS+16 , PTS+3~, PT+1*, PT+3, PT+5, PT+7*, PT+8, DATES+3~, DATES+14*, DATES+15, DATES+17* , DATES+18*, DATES+21*, DATES+27*, DATES+28, DATES+29*, DATES+36* |
PATS | PATIENTS~, PATIENTS+6!*, PATIENTS+8*, PATS+18, PATS+19, PTS~, PTS+9, PTS+10!*, PTS+12*, PT+10 , PT+11 |
PATS( | PATS+20*, PT+12* |
RESULT | RESULTS+8~, RESULTS+32*, RESULTS+36 |
SOURCE | PATIENTS~, PATIENTS+18, PATIENTS+21, PTS~, PTS+9, PTS+17, PTS+20 |
STOP | DATES+3~, DATES+30*, DATES+31 |
TEST | RESULTS+8~, RESULTS+33*, RESULTS+34, RESULTS+38, RESULTS+39, TRESULTS~, TRESULTS+23, TRESULTS+26, TRESULTS+31, TRESULTS+36 , TRESULTS+37, PATIENTS~, PATIENTS+19, PATS+4, PATS+9 |
TESTS | TESTS~, TESTS+4!*, TESTS+6*, TESTS+18, TESTS+19 |
TESTS( | TESTS+20* |
TYPE | PTS+3~, PTS+8, DATES~, DATES+9, DATES+30 |
U | TESTS+8, TESTS+19, TESTS+20, TESTS+21, RESULTS+16, RESULTS+38, RESULTS+39, RESULTS+41, TRESULTS+12, TRESULTS+36 , TRESULTS+37, TRESULTS+39, PATIENTS+10, PATIENTS+22, PATS+19, PATS+20, PTS+5, PTS+21, PT+11, PT+12 |
VALUES | RESULTS~, RESULTS+9!*, RESULTS+11*, RESULTS+37, RESULTS+38, TRESULTS~, TRESULTS+9!*, TRESULTS+11*, TRESULTS+35, TRESULTS+36 |
VALUES( | RESULTS+39*, TRESULTS+37* |