LRPXAPI3 ;VA/SLC/STAFF - Lab Extract API code: Micro and AP ;10/28/03 11:29
Source file <LRPXAPI3.m>
Package | Total | Call Graph |
---|---|---|
Lab Service | 5 | LRPXRM^LRPXAPI PATIENTS^LRPXAPI3 $$MATCH^LRPXAPI5 (CONDS,ITEM)^LRPXAPI6 ($$CATSUB,$$CONDOK,$$DFNM,$$ITEMNM,DATES)^LRPXAPIU |
IHS Changes To Lab | 1 | $$PATCH^BLRUTIL4 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ALLPATS(PATS,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
TRESULTS(VALUES,DFN,TYPE,ITEM,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
PT | ; within scope of PATIENTS
|
|
PTS(PATS,TYPE,PITEM,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
PATIENTS(PATS,TYPE,ITEM,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
APATS | ; within scope of ALLPATS
|
|
RESULTS(VALUES,DFN,PITEM,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
|
|
CATOK(DFN,ITEM,DATE,CATSUB) | ; $$(dfn,item,date,cat) -> 1 if any nodes match category, else 0
|
|
TESTS(INFO,DFN,TYPE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns AP or Micro items on a patient in array INFO |
|
PCHK | ; within scope of PATIENTS
|
|
CATONLY(COND) | ; $$(condition) -> 1 if condition is only a category, else 0
|
Name | Field # of Occurrence |
---|---|
$$PATCH^BLRUTIL4 | TESTS+2, RESULTS+1, TRESULTS+1, PATIENTS+1, PCHK+1, ALLPATS+1, APATS+1, PTS+1, PT+1, CATOK+1 |
LRPXRM^LRPXAPI | RESULTS+39, TRESULTS+24 |
PATIENTS^LRPXAPI3 | ALLPATS+13 |
$$MATCH^LRPXAPI5 | TESTS+27, TRESULTS+19, PCHK+9 |
CONDS^LRPXAPI6 | TESTS+13, TRESULTS+10, PATIENTS+14 |
ITEM^LRPXAPI6 | RESULTS+22, ALLPATS+11, PTS+22 |
$$CATSUB^LRPXAPIU | RESULTS+19, PTS+19 |
$$CONDOK^LRPXAPIU | TESTS+12, RESULTS+14, TRESULTS+9, PATIENTS+13, ALLPATS+9, PTS+14 |
$$DFNM^LRPXAPIU | PCHK+15, PCHK+16, APATS+13, APATS+14, PT+13, PT+14 |
$$ITEMNM^LRPXAPIU | TESTS+30, TESTS+31 |
DATES^LRPXAPIU | TESTS+8, RESULTS+10, TRESULTS+11, PATIENTS+9, ALLPATS+17, PTS+10 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PXRMINDX(63 | TESTS+16, TESTS+20, TESTS+26, RESULTS+29, RESULTS+33, RESULTS+38, TRESULTS+16, TRESULTS+22, PATIENTS+17, PCHK+6 , PCHK+11, ALLPATS+22, APATS+5, APATS+7, PTS+29, PTS+32, PTS+35, PT+5, CATOK+4 |
^TMP( | TESTS+7!, TESTS+30*, RESULTS+9!, RESULTS+41*, TRESULTS+7!, TRESULTS+26*, PATIENTS+8!, PCHK+15*, ALLPATS+16!, APATS+13* , PTS+9!, PT+13* |
Name | Line Occurrences |
---|---|
$$CATOK | RESULTS+35, PT+7 |
$$CATONLY | RESULTS+16, PTS+16 |
APATS | ALLPATS+22, ALLPATS+24 |
PATIENTS | ALLPATS+12, PTS+23 |
PCHK | PATIENTS+17, PATIENTS+19 |
PT | PTS+32, PTS+35 |
TRESULTS | RESULTS+23 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CAT | RESULTS+6~, RESULTS+15*, RESULTS+17*, RESULTS+18, RESULTS+19, PTS+5~, PTS+15*, PTS+17*, PTS+18, PTS+19 |
CATONLY | RESULTS+6~, RESULTS+16*, RESULTS+17, RESULTS+21, PTS+5~, PTS+16*, PTS+17, PTS+21 |
CATSUB | RESULTS+6~, RESULTS+15*, RESULTS+19*, RESULTS+20*, RESULTS+35, PTS+5~, PTS+15*, PTS+19*, PTS+20*, PT+7 , CATOK~, CATOK+7, CATOK+8, CATOK+9, CATOK+10, CATOK+11 |
CNT | TESTS+4~, TESTS+15*, TESTS+16, TESTS+28*, RESULTS+6~, RESULTS+26*, RESULTS+43*, RESULTS+44, TRESULTS+4~, TRESULTS+14* , TRESULTS+20*, TRESULTS+28, PATIENTS+5~, PATIENTS+15*, PATIENTS+17, PATIENTS+19, PCHK+13*, ALLPATS+5~, ALLPATS+20*, ALLPATS+22 , ALLPATS+24, APATS+11*, PTS+5~, PTS+26*, PT+10*, PT+11 |
COND | TESTS~, TESTS+12, TESTS+13, TESTS+19, RESULTS~, RESULTS+14, RESULTS+16, RESULTS+17, RESULTS+21, RESULTS+22 , RESULTS+23, TRESULTS~, TRESULTS+9, TRESULTS+10, TRESULTS+19, PATIENTS~, PATIENTS+13, PATIENTS+14, PCHK+8, ALLPATS~ , ALLPATS+7, ALLPATS+9, ALLPATS+11, ALLPATS+12, ALLPATS+13, PTS~, PTS+14, PTS+16, PTS+17, PTS+21 , PTS+22, PTS+23, CATONLY~, CATONLY+1, CATONLY+2, CATONLY+3, CATONLY+4 |
CONDOK | TESTS+4~, TESTS+9*, TESTS+12, RESULTS+6~, RESULTS+11*, RESULTS+14, TRESULTS+4~, TRESULTS+8*, PATIENTS+5~, PATIENTS+10* , PATIENTS+13, PTS+5~, PTS+11*, PTS+14 |
CONDS | TESTS+4~!, TESTS+13, TESTS+27, TRESULTS+4~!, TRESULTS+10, TRESULTS+19, PATIENTS+5~!, PATIENTS+14, PCHK+9, PTS+5~ , PTS+6! |
DATA | RESULTS+6~, RESULTS+39, RESULTS+41, RESULTS+42, TRESULTS+4~, TRESULTS+24, TRESULTS+26, TRESULTS+27 |
DATE | TESTS+4~, TESTS+20*, TESTS+21, TESTS+22, TESTS+25*, TESTS+26*, TESTS+27, RESULTS+6~, RESULTS+28*, RESULTS+29* , RESULTS+30*, RESULTS+33, RESULTS+35, RESULTS+38, RESULTS+42, RESULTS+45, TRESULTS+4~, TRESULTS+12*, TRESULTS+13*, TRESULTS+16* , TRESULTS+17*, TRESULTS+18*, TRESULTS+19, TRESULTS+22, TRESULTS+26, TRESULTS+27, TRESULTS+29, PATIENTS+5~, PCHK+5*, PCHK+6* , PCHK+7, PCHK+9, PCHK+11, ALLPATS+5~, APATS+6*, APATS+7*, APATS+8, PTS+5~, PT+4*, PT+5* , PT+6, PT+7, CATOK~, CATOK+4 |
DATE1 | TESTS~, TESTS+8, TESTS+20, TESTS+25, RESULTS~, RESULTS+10, RESULTS+23, RESULTS+30, TRESULTS~, TRESULTS+11 , TRESULTS+17, PATIENTS~, PATIENTS+9, PCHK+5, ALLPATS~, ALLPATS+12, ALLPATS+13, ALLPATS+17, APATS+6, PTS~ , PTS+10, PTS+23, PT+4 |
DATE2 | TESTS~, TESTS+8, TESTS+22, TESTS+26, RESULTS~, RESULTS+10, RESULTS+13*, RESULTS+23, RESULTS+28, TRESULTS~ , TRESULTS+11, TRESULTS+12, TRESULTS+18, PATIENTS~, PATIENTS+9, PCHK+7, ALLPATS~, ALLPATS+12, ALLPATS+13, ALLPATS+17 , APATS+8, PTS~, PTS+10, PTS+23, PT+6 |
DFN | TESTS~, TESTS+16, TESTS+20, TESTS+26, TESTS+27, RESULTS~, RESULTS+23, RESULTS+29, RESULTS+33, RESULTS+35 , RESULTS+38, TRESULTS~, TRESULTS+16, TRESULTS+19, TRESULTS+22, PATIENTS+5~, PATIENTS+12*, PATIENTS+17*, PATIENTS+19*, PATIENTS+20 , PCHK+6, PCHK+9, PCHK+11, PCHK+15, PCHK+16, ALLPATS+5~, ALLPATS+19*, ALLPATS+22*, ALLPATS+24*, ALLPATS+25 , APATS+5, APATS+7, APATS+13, APATS+14, PTS+5~, PTS+13*, PTS+32*, PTS+34*, PTS+35, PTS+36 , PT+5, PT+7, PT+13, PT+14, CATOK~, CATOK+4 |
DONE | RESULTS+6~, RESULTS+27*, RESULTS+29, RESULTS+30*, RESULTS+44*, PATIENTS+5~, PCHK+3*, PCHK+6, PCHK+7*, PCHK+8* , PCHK+11*, PTS+5~, PTS+27*, PTS+29, PTS+30*, PTS+32, PTS+34, PT+11* |
ERR | RESULTS+6~, RESULTS+22, ALLPATS+5~, ALLPATS+11, PTS+5~, PTS+22 |
INFO | TESTS~, TESTS+5!*, TESTS+7*, TESTS+29, TESTS+30 |
INFO( | TESTS+31* |
ISTOP | RESULTS+6~, RESULTS+24*, RESULTS+25*, RESULTS+33, PTS+6~, PTS+24*, PTS+25*, PTS+29 |
ITEM | RESULTS+6~, RESULTS+22, RESULTS+23, RESULTS+32*, RESULTS+33*, RESULTS+34, RESULTS+35, RESULTS+38, RESULTS+39, RESULTS+41 , RESULTS+42, TRESULTS~, TRESULTS+10, TRESULTS+16, TRESULTS+22, TRESULTS+24, TRESULTS+26, TRESULTS+27, PATIENTS~, PATIENTS+14 , PATIENTS+17, PCHK+6, PCHK+11, ALLPATS+5~, ALLPATS+11, ALLPATS+12, ALLPATS+13, APATS+4*, APATS+5*, APATS+7 , PTS+5~, PTS+22, PTS+23, PTS+28*, PTS+29*, PTS+30, PTS+32, PTS+35, PT+5, PT+7 , CATOK~, CATOK+4 |
MAX | TESTS~, TESTS+16, RESULTS~, RESULTS+23, RESULTS+44, TRESULTS~, TRESULTS+28, PATIENTS~, PATIENTS+17, PATIENTS+19 , ALLPATS~, ALLPATS+12, ALLPATS+13, ALLPATS+22, ALLPATS+24, PTS~, PTS+23, PT+11 |
NEXT | TESTS~, TESTS+9, TESTS+10*, TESTS+11*, TESTS+16*, TESTS+17, TESTS+20, TESTS+26, TESTS+30, TESTS+31 , TESTS+32*, TESTS+33*, RESULTS~, RESULTS+11, RESULTS+13*, RESULTS+23, RESULTS+45*, TRESULTS~, TRESULTS+8, TRESULTS+13* , TRESULTS+29*, PATIENTS~, PATIENTS+10, PATIENTS+11*, PATIENTS+12, PATIENTS+20*, ALLPATS~, ALLPATS+12, ALLPATS+13, ALLPATS+18* , ALLPATS+19, ALLPATS+25*, PTS~, PTS+11, PTS+12*, PTS+13, PTS+23, PTS+36* |
NMSP | TESTS+4~, TESTS+5*, TESTS+7, RESULTS+6~, RESULTS+7*, RESULTS+9, TRESULTS+4~, TRESULTS+5*, TRESULTS+7, PATIENTS+5~ , PATIENTS+6*, PATIENTS+8, ALLPATS+5~, ALLPATS+14*, ALLPATS+16, PTS+6~, PTS+7*, PTS+9 |
NODE | RESULTS+6~, RESULTS+37*, RESULTS+38*, RESULTS+39, RESULTS+41, RESULTS+42, TRESULTS+4~, TRESULTS+21*, TRESULTS+22*, TRESULTS+24 , TRESULTS+26, TRESULTS+27, CATOK+3~, CATOK+4*, CATOK+5, CATOK+6, CATOK+8 |
OK | TESTS+4~, TESTS+18*, TESTS+19, TESTS+23*, TESTS+24, TESTS+26, TESTS+27*, RESULTS+6~, RESULTS+31*, RESULTS+36* , RESULTS+43, TRESULTS+4~, TRESULTS+15*, TRESULTS+16, TRESULTS+17*, TRESULTS+18*, TRESULTS+22, TRESULTS+23*, TRESULTS+28*, PATIENTS+5~ , PCHK+4*, PCHK+8*, PCHK+10*, PCHK+11*, PCHK+12, ALLPATS+5~, ALLPATS+8*, ALLPATS+9*, ALLPATS+10, APATS+3* , APATS+5, APATS+7, APATS+9*, APATS+10, PTS+6~, PT+3*, PT+5, PT+8*, PT+9 |
PATS | PATIENTS~, PATIENTS+6!*, PATIENTS+8*, PCHK+14, PCHK+15, ALLPATS~, ALLPATS+12, ALLPATS+13, ALLPATS+14!*, ALLPATS+16* , APATS+12, APATS+13, PTS~, PTS+7!*, PTS+9*, PTS+23, PT+12, PT+13 |
PATS( | PCHK+16*, APATS+14*, PT+14* |
PITEM | RESULTS~, RESULTS+12, RESULTS+24, RESULTS+25*, RESULTS+32, PTS~, PTS+24, PTS+25*, PTS+28 |
SOURCE | PATIENTS~, PATIENTS+16, PATIENTS+19, ALLPATS~, ALLPATS+12, ALLPATS+13, ALLPATS+21, ALLPATS+24, PTS~, PTS+23 , PTS+31, PTS+34 |
STOP | TESTS+4~, TESTS+14*, TESTS+16, TESTS+32 |
SUB | CATOK+3~, CATOK+6*, CATOK+7, CATOK+8, CATOK+9, CATOK+10, CATOK+11 |
TYPE | TESTS~, TESTS+10, TESTS+11, TESTS+12, TESTS+13, TESTS+14, TESTS+17, TESTS+27, RESULTS+6~, RESULTS+12* , RESULTS+14, RESULTS+19, RESULTS+22, RESULTS+23, RESULTS+25, RESULTS+34, RESULTS+38, TRESULTS~, TRESULTS+9, TRESULTS+10 , TRESULTS+19, PATIENTS~, PATIENTS+13, PATIENTS+14, PCHK+9, ALLPATS+5~, ALLPATS+8*, ALLPATS+9, ALLPATS+11, ALLPATS+12 , ALLPATS+13, PTS~, PTS+14, PTS+19, PTS+22, PTS+23, PTS+25, PTS+30 |
U | TESTS+9, TESTS+11, TESTS+30, TESTS+31, RESULTS+11, RESULTS+41, RESULTS+42, RESULTS+45, TRESULTS+8, TRESULTS+26 , TRESULTS+27, TRESULTS+29, PATIENTS+10, PATIENTS+20, PCHK+15, PCHK+16, APATS+13, APATS+14, PTS+11, PTS+36 , PT+13, PT+14 |
VALUES | RESULTS~, RESULTS+7!*, RESULTS+9*, RESULTS+23, RESULTS+40, RESULTS+41, TRESULTS~, TRESULTS+5!*, TRESULTS+7*, TRESULTS+25 , TRESULTS+26 |
VALUES( | RESULTS+42*, TRESULTS+27* |