LRPXAPI1 ;VA/SLC/STAFF - Lab Extract API code ;10/28/03 11:29
Source file <LRPXAPI1.m>
Package | Total | Call Graph |
---|---|---|
Lab Service | 3 | ($$COMMENT,$$REPLACE,$$VERIFIED,LRVAL,VALUE)^LRPXAPI2 ITEM^LRPXAPI6 ($$CONDOK,$$DFNM,$$LRDFN,$$LRIDT,$$TEST,$$TESTNM,DATES)^LRPXAPIU |
IHS Changes To Lab | 1 | $$PATCH^BLRUTIL4 |
Name | Comments | DBIA/ICR reference |
---|---|---|
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^...) |
|
PATS | ; within scope of PATIENTS
|
|
PT | ; within scope of ALLPATS
|
|
DATES(DATES,DFN,TYPE,MAX,NEXT,DATE1,DATE2) | ; from LRPXAPI
|
|
TRESULTS(VALUES,DFN,TEST,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
PATIENTS(PATS,TEST,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
PTS(PATS,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
TESTS(TESTS,DFN,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns lab tests on a patient ; returned in array TESTS |
Name | Field # of Occurrence |
---|---|
$$PATCH^BLRUTIL4 | TESTS+3, TRESULTS+1, PATIENTS+1, PATS+1, PTS+1, PT+1, DATES+1 |
$$COMMENT^LRPXAPI2 | RESULTS+30, TRESULTS+31 |
$$REPLACE^LRPXAPI2 | RESULTS+21, TRESULTS+19, PATIENTS+18 |
$$VERIFIED^LRPXAPI2 | RESULTS+25, DATES+18 |
LRVAL^LRPXAPI2 | RESULTS+35, TRESULTS+35, PATS+15 |
VALUE^LRPXAPI2 | TESTS+18 |
ITEM^LRPXAPI6 | PTS+10 |
$$CONDOK^LRPXAPIU | TESTS+12, RESULTS+18, TRESULTS+15, PATIENTS+15, PTS+8 |
$$DFNM^LRPXAPIU | PATS+21, PATS+22, PT+13, PT+14 |
$$LRDFN^LRPXAPIU | RESULTS+12, DATES+12 |
$$LRIDT^LRPXAPIU | RESULTS+14, RESULTS+15, RESULTS+29, DATES+13, DATES+14, DATES+21 |
$$TEST^LRPXAPIU | RESULTS+33 |
$$TESTNM^LRPXAPIU | TESTS+21, TESTS+22 |
DATES^LRPXAPIU | TESTS+9, RESULTS+13, TRESULTS+20, PATIENTS+11, PTS+15, DATES+9 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LR - [#63] | RESULTS+24, RESULTS+32, DATES+17 |
^PXRMINDX(63 | TESTS+14, TESTS+15, TRESULTS+25, TRESULTS+28, TRESULTS+33, PATIENTS+21, PATS+6, PATS+11, PTS+20, PT+5 , PT+7, DATES+30, DATES+33 |
^TMP( | TESTS+8!, TESTS+21*, RESULTS+11!, RESULTS+38*, TRESULTS+13!, TRESULTS+38*, PATIENTS+10!, PATS+21*, PTS+14!, PT+13* , DATES+8!, DATES+24*, DATES+36* |
Name | Line Occurrences |
---|---|
PATIENTS | PTS+11 |
PATS | PATIENTS+21, PATIENTS+23 |
PT | PTS+20, PTS+22 |
Name | Field # of Occurrence |
---|---|
^( | RESULTS+32 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | TESTS+5~, TESTS+13*, TESTS+14, TESTS+19*, RESULTS+8~, RESULTS+22*, RESULTS+28*, RESULTS+40, TRESULTS+10~, TRESULTS+23* , TRESULTS+36*, TRESULTS+40, PATIENTS+7~, PATIENTS+19*, PATIENTS+21, PATIENTS+23, PATS+19*, PTS+5~, PTS+18*, PTS+20 , PTS+22, PT+11*, DATES+5~, DATES+10*, DATES+22*, DATES+23, DATES+34*, DATES+38 |
COMMENT | RESULTS+8~, RESULTS+30*, RESULTS+38, RESULTS+39, TRESULTS+10~, TRESULTS+31*, TRESULTS+38, TRESULTS+39 |
COND | TESTS~, TESTS+12, TESTS+18, RESULTS~, RESULTS+18, RESULTS+19*, RESULTS+20*, RESULTS+21*, RESULTS+35, TRESULTS~ , TRESULTS+15, TRESULTS+16, TRESULTS+17*, TRESULTS+18*, TRESULTS+19*, TRESULTS+35, PATIENTS~, PATIENTS+15, PATIENTS+16*, PATIENTS+17* , PATIENTS+18*, PATS+8, PATS+15, PTS~, PTS+8, PTS+9, PTS+10, PTS+11 |
CONDOK | TESTS+5~, TESTS+10*, TESTS+12, RESULTS+8~, RESULTS+16*, RESULTS+18, TRESULTS+10~, TRESULTS+14*, TRESULTS+15, PATIENTS+7~ , PATIENTS+12*, PATIENTS+15, PTS+5~, PTS+7*, PTS+8 |
DATA | TESTS+5~!, TESTS+18, RESULTS+8~, RESULTS+35, RESULTS+36*, RESULTS+38, RESULTS+39, TRESULTS+10~, TRESULTS+35, TRESULTS+38 , TRESULTS+39, PATIENTS+7~, PATS+15 |
DATE | TESTS+5~, TESTS+15*, TESTS+16, TESTS+17, TESTS+18, RESULTS+8~, RESULTS+29*, RESULTS+38, RESULTS+39, TRESULTS+10~ , TRESULTS+21*, TRESULTS+22*, TRESULTS+25*, TRESULTS+26*, TRESULTS+27*, TRESULTS+28, TRESULTS+33, TRESULTS+38, TRESULTS+39, TRESULTS+41 , PATIENTS+7~, PATS+5*, PATS+6*, PATS+7, PATS+11, PTS+5~, PT+6*, PT+7*, PT+8, DATES+5~ , DATES+21*, DATES+24, DATES+25, DATES+27*, DATES+28*, DATES+30*, DATES+31*, DATES+33, DATES+36, DATES+37 , DATES+39 |
DATE1 | TESTS~, TESTS+9, TESTS+15, RESULTS~, RESULTS+13, RESULTS+15, TRESULTS~, TRESULTS+20, TRESULTS+26, PATIENTS~ , PATIENTS+11, PATS+5, PTS~, PTS+11, PTS+15, PT+6, DATES~, DATES+9, DATES+14, DATES+31 |
DATE2 | TESTS~, TESTS+9, TESTS+17, RESULTS~, RESULTS+13, RESULTS+14, TRESULTS~, TRESULTS+20, TRESULTS+21, TRESULTS+27 , PATIENTS~, PATIENTS+11, PATS+7, PTS~, PTS+11, PTS+15, PT+8, DATES~, DATES+9, DATES+13 , DATES+27 |
DATES | DATES~, DATES+6!*, DATES+8*, DATES+24, DATES+35, DATES+36 |
DATES( | DATES+25*, DATES+37* |
DFN | TESTS~, TESTS+14, TESTS+15, TESTS+18, RESULTS~, RESULTS+12, TRESULTS~, TRESULTS+25, TRESULTS+28, TRESULTS+33 , PATIENTS+7~, PATIENTS+14*, PATIENTS+21*, PATIENTS+23*, PATIENTS+24, PATS+6, PATS+11, PATS+21, PATS+22, PTS+5~ , PTS+17*, PTS+20*, PTS+22*, PTS+23, PT+5, PT+7, PT+13, PT+14, DATES~, DATES+12 , DATES+30, DATES+33 |
DONE | PATIENTS+7~, PATS+3*, PATS+6, PATS+7*, PATS+8*, PATS+17* |
ERR | TESTS+5~, TESTS+18, RESULTS+8~, RESULTS+35, TRESULTS+10~, TRESULTS+35, PATIENTS+7~, PATS+15, PTS+5~, PTS+10 |
ITEM | PTS+5~, PTS+10, PTS+11, PT+4*, PT+5*, PT+7, DATES+5~, DATES+32*, DATES+33* |
LRDFN | RESULTS+8~, RESULTS+12*, RESULTS+24, RESULTS+25, RESULTS+30, RESULTS+32, RESULTS+35, TRESULTS+10~, TRESULTS+29*, TRESULTS+31 , TRESULTS+35, PATIENTS+7~, PATS+12*, PATS+15, DATES+5~, DATES+12*, DATES+17, DATES+18 |
LRDN | RESULTS+8~, RESULTS+31*, RESULTS+32*, RESULTS+33, RESULTS+35, TRESULTS+10~, TRESULTS+34*, TRESULTS+35, PATIENTS+7~, PATS+14* , PATS+15 |
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+10~, TRESULTS+30*, TRESULTS+31, TRESULTS+35, PATIENTS+7~, PATS+13*, PATS+15 , DATES+5~, DATES+13*, DATES+15*, DATES+17*, DATES+18, DATES+19*, DATES+20*, DATES+21, DATES+26 |
LRIDT1 | RESULTS+8~, RESULTS+15*, RESULTS+27, DATES+5~, DATES+14*, DATES+20 |
MAX | TESTS~, TESTS+14, RESULTS~, RESULTS+40, TRESULTS~, TRESULTS+40, PATIENTS~, PATIENTS+21, PATIENTS+23, PTS~ , PTS+11, PTS+20, PTS+22, DATES~, DATES+23, DATES+38 |
NEXT | TESTS~, TESTS+10, TESTS+11*, TESTS+14*, TESTS+15, TESTS+18, TESTS+21, TESTS+22, TESTS+23*, RESULTS~ , RESULTS+16, RESULTS+17*, RESULTS+41*, TRESULTS~, TRESULTS+14, TRESULTS+22*, TRESULTS+41*, PATIENTS~, PATIENTS+12, PATIENTS+13* , PATIENTS+14, PATIENTS+24*, PTS~, PTS+7, PTS+11, PTS+16*, PTS+17, PTS+23*, DATES~, DATES+15* , DATES+26*, DATES+28*, DATES+39* |
NMSP | TESTS+5~, TESTS+6*, TESTS+8, RESULTS+8~, RESULTS+9*, RESULTS+11, TRESULTS+10~, TRESULTS+11*, TRESULTS+13, PATIENTS+7~ , PATIENTS+8*, PATIENTS+10, PTS+5~, PTS+12*, PTS+14, DATES+5~, DATES+6*, DATES+8 |
NODE | TRESULTS+10~, TRESULTS+28*, TRESULTS+29, TRESULTS+30, TRESULTS+32*, TRESULTS+33*, TRESULTS+34, PATIENTS+7~, PATS+10*, PATS+11* , PATS+12, PATS+13, PATS+14 |
OK | RESULTS+8~, RESULTS+23*, RESULTS+24, RESULTS+26*, RESULTS+27*, RESULTS+40*, TRESULTS+10~, TRESULTS+24*, TRESULTS+25, TRESULTS+26* , TRESULTS+27*, TRESULTS+33, TRESULTS+40*, PATIENTS+7~, PATS+4*, PATS+8*, PATS+9*, PATS+11, PATS+16*, PATS+18 , PTS+5~, PT+3*, PT+5, PT+7, PT+9*, PT+10, DATES+5~, DATES+16*, DATES+17, DATES+19* , DATES+20*, DATES+23*, DATES+29*, DATES+30, DATES+31*, DATES+38* |
PATS | PATIENTS~, PATIENTS+8!*, PATIENTS+10*, PATS+20, PATS+21, PTS~, PTS+11, PTS+12!*, PTS+14*, PT+12 , PT+13 |
PATS( | PATS+22*, PT+14* |
RESULT | RESULTS+8~, RESULTS+32*, RESULTS+36 |
SOURCE | PATIENTS~, PATIENTS+20, PATIENTS+23, PTS~, PTS+11, PTS+19, PTS+22 |
STOP | DATES+5~, DATES+32*, DATES+33 |
TEST | RESULTS+8~, RESULTS+33*, RESULTS+34, RESULTS+38, RESULTS+39, TRESULTS~, TRESULTS+25, TRESULTS+28, TRESULTS+33, TRESULTS+38 , TRESULTS+39, PATIENTS~, PATIENTS+21, PATS+6, PATS+11 |
TESTS | TESTS~, TESTS+6!*, TESTS+8*, TESTS+20, TESTS+21 |
TESTS( | TESTS+22* |
TYPE | PTS+5~, PTS+10, DATES~, DATES+11, DATES+32 |
U | TESTS+10, TESTS+21, TESTS+22, TESTS+23, RESULTS+16, RESULTS+38, RESULTS+39, RESULTS+41, TRESULTS+14, TRESULTS+38 , TRESULTS+39, TRESULTS+41, PATIENTS+12, PATIENTS+24, PATS+21, PATS+22, PTS+7, PTS+23, PT+13, PT+14 |
VALUES | RESULTS~, RESULTS+9!*, RESULTS+11*, RESULTS+37, RESULTS+38, TRESULTS~, TRESULTS+11!*, TRESULTS+13*, TRESULTS+37, TRESULTS+38 |
VALUES( | RESULTS+39*, TRESULTS+39* |