Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: LRPXAPI3

Package: Lab Service

Routine: LRPXAPI3


Information

LRPXAPI3 ;SLC/STAFF Lab Extract API code - Micro and AP ;10/28/03 11:29

Source Information

Source file <LRPXAPI3.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Lab Service 5 LRPXRM^LRPXAPI  PATIENTS^LRPXAPI3  $$MATCH^LRPXAPI5  (CONDS,ITEM)^LRPXAPI6  ($$CATSUB,$$CONDOK,$$DFNM,$$ITEMNM,DATES)^LRPXAPIU  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Lab Service 2 LRPXAPI  LRPXAPI3  

Entry Points

Name Comments DBIA/ICR reference
TESTS(INFO,DFN,TYPE,MAX,NEXT,COND,DATE1,DATE2) ; from LRPXAPI
; returns AP or Micro items on a patient in array INFO
RESULTS(VALUES,DFN,PITEM,MAX,NEXT,COND,DATE1,DATE2) ; from LRPXAPI
; returns all AP or Micro results on a patient in array VALUES
; format: date^item^node^data
; where data is item file ien^item name^values on node
TRESULTS(VALUES,DFN,TYPE,ITEM,MAX,NEXT,COND,DATE1,DATE2) ; from LRPXAPI
; returns AP or Micro single item results on a patient in array VALUES
PATIENTS(PATS,TYPE,ITEM,SOURCE,MAX,NEXT,COND,DATE1,DATE2) ; from LRPXAPI
; uses PCHK within this scope
; returns patients who have AP or Micro item results in array PATS
PCHK ; within scope of PATIENTS
ALLPATS(PATS,SOURCE,MAX,NEXT,COND,DATE1,DATE2) ; from LRPXAPI
; uses APATS within this scope
; returns all patients that have lab data
APATS ; within scope of ALLPATS
PTS(PATS,TYPE,PITEM,SOURCE,MAX,NEXT,COND,DATE1,DATE2) ; from LRPXAPI
; uses PCHK within this scope
; returns patients who have AP or Micro (all or partial type) results in array PATS
PT ; within scope of PATIENTS
CATONLY(COND) ; $$(condition) -> 1 if condition is only a category, else 0
CATOK(DFN,ITEM,DATE,CATSUB) ; $$(dfn,item,date,cat) -> 1 if any nodes match category, else 0

External References

Name Field # of Occurrence
LRPXRM^LRPXAPI RESULTS+37, TRESULTS+22
PATIENTS^LRPXAPI3 ALLPATS+11
$$MATCH^LRPXAPI5 TESTS+25, TRESULTS+17, PCHK+7
CONDS^LRPXAPI6 TESTS+11, TRESULTS+8, PATIENTS+12
ITEM^LRPXAPI6 RESULTS+20, ALLPATS+9, PTS+20
$$CATSUB^LRPXAPIU RESULTS+17, PTS+17
$$CONDOK^LRPXAPIU TESTS+10, RESULTS+12, TRESULTS+7, PATIENTS+11, ALLPATS+7, PTS+12
$$DFNM^LRPXAPIU PCHK+13, PCHK+14, APATS+11, APATS+12, PT+11, PT+12
$$ITEMNM^LRPXAPIU TESTS+28, TESTS+29
DATES^LRPXAPIU TESTS+6, RESULTS+8, TRESULTS+9, PATIENTS+7, ALLPATS+15, PTS+8

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXRMINDX(63 TESTS+14, TESTS+18, TESTS+24, RESULTS+27, RESULTS+31, RESULTS+36, TRESULTS+14, TRESULTS+20, PATIENTS+15, PCHK+4
PCHK+9, ALLPATS+20, APATS+3, APATS+5, PTS+27, PTS+30, PTS+33, PT+3, CATOK+2
^TMP( TESTS+5!, TESTS+28*, RESULTS+7!, RESULTS+39*, TRESULTS+5!, TRESULTS+24*, PATIENTS+6!, PCHK+13*, ALLPATS+14!, APATS+11*
, PTS+7!, PT+11*

Label References

Name Line Occurrences
$$CATOK RESULTS+33, PT+5
$$CATONLY RESULTS+14, PTS+14
APATS ALLPATS+20, ALLPATS+22
PATIENTS ALLPATS+10, PTS+21
PCHK PATIENTS+15, PATIENTS+17
PT PTS+30, PTS+33
TRESULTS RESULTS+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CAT RESULTS+4~, RESULTS+13*, RESULTS+15*, RESULTS+16, RESULTS+17, PTS+3~, PTS+13*, PTS+15*, PTS+16, PTS+17
CATONLY RESULTS+4~, RESULTS+14*, RESULTS+15, RESULTS+19, PTS+3~, PTS+14*, PTS+15, PTS+19
CATSUB RESULTS+4~, RESULTS+13*, RESULTS+17*, RESULTS+18*, RESULTS+33, PTS+3~, PTS+13*, PTS+17*, PTS+18*, PT+5
, CATOK~, CATOK+5, CATOK+6, CATOK+7, CATOK+8, CATOK+9
CNT TESTS+2~, TESTS+13*, TESTS+14, TESTS+26*, RESULTS+4~, RESULTS+24*, RESULTS+41*, RESULTS+42, TRESULTS+2~, TRESULTS+12*
, TRESULTS+18*, TRESULTS+26, PATIENTS+3~, PATIENTS+13*, PATIENTS+15, PATIENTS+17, PCHK+11*, ALLPATS+3~, ALLPATS+18*, ALLPATS+20
, ALLPATS+22, APATS+9*, PTS+3~, PTS+24*, PT+8*, PT+9
COND TESTS~, TESTS+10, TESTS+11, TESTS+17, RESULTS~, RESULTS+12, RESULTS+14, RESULTS+15, RESULTS+19, RESULTS+20
, RESULTS+21, TRESULTS~, TRESULTS+7, TRESULTS+8, TRESULTS+17, PATIENTS~, PATIENTS+11, PATIENTS+12, PCHK+6, ALLPATS~
, ALLPATS+5, ALLPATS+7, ALLPATS+9, ALLPATS+10, ALLPATS+11, PTS~, PTS+12, PTS+14, PTS+15, PTS+19
, PTS+20, PTS+21, CATONLY~, CATONLY+1, CATONLY+2, CATONLY+3, CATONLY+4
CONDOK TESTS+2~, TESTS+7*, TESTS+10, RESULTS+4~, RESULTS+9*, RESULTS+12, TRESULTS+2~, TRESULTS+6*, PATIENTS+3~, PATIENTS+8*
, PATIENTS+11, PTS+3~, PTS+9*, PTS+12
CONDS TESTS+2~!, TESTS+11, TESTS+25, TRESULTS+2~!, TRESULTS+8, TRESULTS+17, PATIENTS+3~!, PATIENTS+12, PCHK+7, PTS+3~
, PTS+4!
DATA RESULTS+4~, RESULTS+37, RESULTS+39, RESULTS+40, TRESULTS+2~, TRESULTS+22, TRESULTS+24, TRESULTS+25
DATE TESTS+2~, TESTS+18*, TESTS+19, TESTS+20, TESTS+23*, TESTS+24*, TESTS+25, RESULTS+4~, RESULTS+26*, RESULTS+27*
, RESULTS+28*, RESULTS+31, RESULTS+33, RESULTS+36, RESULTS+40, RESULTS+43, TRESULTS+2~, TRESULTS+10*, TRESULTS+11*, TRESULTS+14*
, TRESULTS+15*, TRESULTS+16*, TRESULTS+17, TRESULTS+20, TRESULTS+24, TRESULTS+25, TRESULTS+27, PATIENTS+3~, PCHK+3*, PCHK+4*
PCHK+5, PCHK+7, PCHK+9, ALLPATS+3~, APATS+4*, APATS+5*, APATS+6, PTS+3~, PT+2*, PT+3*
PT+4, PT+5, CATOK~, CATOK+2
DATE1 TESTS~, TESTS+6, TESTS+18, TESTS+23, RESULTS~, RESULTS+8, RESULTS+21, RESULTS+28, TRESULTS~, TRESULTS+9
, TRESULTS+15, PATIENTS~, PATIENTS+7, PCHK+3, ALLPATS~, ALLPATS+10, ALLPATS+11, ALLPATS+15, APATS+4, PTS~
, PTS+8, PTS+21, PT+2
DATE2 TESTS~, TESTS+6, TESTS+20, TESTS+24, RESULTS~, RESULTS+8, RESULTS+11*, RESULTS+21, RESULTS+26, TRESULTS~
, TRESULTS+9, TRESULTS+10, TRESULTS+16, PATIENTS~, PATIENTS+7, PCHK+5, ALLPATS~, ALLPATS+10, ALLPATS+11, ALLPATS+15
APATS+6, PTS~, PTS+8, PTS+21, PT+4
DFN TESTS~, TESTS+14, TESTS+18, TESTS+24, TESTS+25, RESULTS~, RESULTS+21, RESULTS+27, RESULTS+31, RESULTS+33
, RESULTS+36, TRESULTS~, TRESULTS+14, TRESULTS+17, TRESULTS+20, PATIENTS+3~, PATIENTS+10*, PATIENTS+15*, PATIENTS+17*, PATIENTS+18
PCHK+4, PCHK+7, PCHK+9, PCHK+13, PCHK+14, ALLPATS+3~, ALLPATS+17*, ALLPATS+20*, ALLPATS+22*, ALLPATS+23
APATS+3, APATS+5, APATS+11, APATS+12, PTS+3~, PTS+11*, PTS+30*, PTS+32*, PTS+33, PTS+34
PT+3, PT+5, PT+11, PT+12, CATOK~, CATOK+2
DONE RESULTS+4~, RESULTS+25*, RESULTS+27, RESULTS+28*, RESULTS+42*, PATIENTS+3~, PCHK+1*, PCHK+4, PCHK+5*, PCHK+6*
PCHK+9*, PTS+3~, PTS+25*, PTS+27, PTS+28*, PTS+30, PTS+32, PT+9*
ERR RESULTS+4~, RESULTS+20, ALLPATS+3~, ALLPATS+9, PTS+3~, PTS+20
INFO TESTS~, TESTS+3!*, TESTS+5*, TESTS+27, TESTS+28
INFO( TESTS+29*
ISTOP RESULTS+4~, RESULTS+22*, RESULTS+23*, RESULTS+31, PTS+4~, PTS+22*, PTS+23*, PTS+27
ITEM RESULTS+4~, RESULTS+20, RESULTS+21, RESULTS+30*, RESULTS+31*, RESULTS+32, RESULTS+33, RESULTS+36, RESULTS+37, RESULTS+39
, RESULTS+40, TRESULTS~, TRESULTS+8, TRESULTS+14, TRESULTS+20, TRESULTS+22, TRESULTS+24, TRESULTS+25, PATIENTS~, PATIENTS+12
, PATIENTS+15, PCHK+4, PCHK+9, ALLPATS+3~, ALLPATS+9, ALLPATS+10, ALLPATS+11, APATS+2*, APATS+3*, APATS+5
, PTS+3~, PTS+20, PTS+21, PTS+26*, PTS+27*, PTS+28, PTS+30, PTS+33, PT+3, PT+5
, CATOK~, CATOK+2
MAX TESTS~, TESTS+14, RESULTS~, RESULTS+21, RESULTS+42, TRESULTS~, TRESULTS+26, PATIENTS~, PATIENTS+15, PATIENTS+17
, ALLPATS~, ALLPATS+10, ALLPATS+11, ALLPATS+20, ALLPATS+22, PTS~, PTS+21, PT+9
NEXT TESTS~, TESTS+7, TESTS+8*, TESTS+9*, TESTS+14*, TESTS+15, TESTS+18, TESTS+24, TESTS+28, TESTS+29
, TESTS+30*, TESTS+31*, RESULTS~, RESULTS+9, RESULTS+11*, RESULTS+21, RESULTS+43*, TRESULTS~, TRESULTS+6, TRESULTS+11*
, TRESULTS+27*, PATIENTS~, PATIENTS+8, PATIENTS+9*, PATIENTS+10, PATIENTS+18*, ALLPATS~, ALLPATS+10, ALLPATS+11, ALLPATS+16*
, ALLPATS+17, ALLPATS+23*, PTS~, PTS+9, PTS+10*, PTS+11, PTS+21, PTS+34*
NMSP TESTS+2~, TESTS+3*, TESTS+5, RESULTS+4~, RESULTS+5*, RESULTS+7, TRESULTS+2~, TRESULTS+3*, TRESULTS+5, PATIENTS+3~
, PATIENTS+4*, PATIENTS+6, ALLPATS+3~, ALLPATS+12*, ALLPATS+14, PTS+4~, PTS+5*, PTS+7
NODE RESULTS+4~, RESULTS+35*, RESULTS+36*, RESULTS+37, RESULTS+39, RESULTS+40, TRESULTS+2~, TRESULTS+19*, TRESULTS+20*, TRESULTS+22
, TRESULTS+24, TRESULTS+25, CATOK+1~, CATOK+2*, CATOK+3, CATOK+4, CATOK+6
OK TESTS+2~, TESTS+16*, TESTS+17, TESTS+21*, TESTS+22, TESTS+24, TESTS+25*, RESULTS+4~, RESULTS+29*, RESULTS+34*
, RESULTS+41, TRESULTS+2~, TRESULTS+13*, TRESULTS+14, TRESULTS+15*, TRESULTS+16*, TRESULTS+20, TRESULTS+21*, TRESULTS+26*, PATIENTS+3~
PCHK+2*, PCHK+6*, PCHK+8*, PCHK+9*, PCHK+10, ALLPATS+3~, ALLPATS+6*, ALLPATS+7*, ALLPATS+8, APATS+1*
APATS+3, APATS+5, APATS+7*, APATS+8, PTS+4~, PT+1*, PT+3, PT+6*, PT+7
PATS PATIENTS~, PATIENTS+4!*, PATIENTS+6*, PCHK+12, PCHK+13, ALLPATS~, ALLPATS+10, ALLPATS+11, ALLPATS+12!*, ALLPATS+14*
APATS+10, APATS+11, PTS~, PTS+5!*, PTS+7*, PTS+21, PT+10, PT+11
PATS( PCHK+14*, APATS+12*, PT+12*
PITEM RESULTS~, RESULTS+10, RESULTS+22, RESULTS+23*, RESULTS+30, PTS~, PTS+22, PTS+23*, PTS+26
SOURCE PATIENTS~, PATIENTS+14, PATIENTS+17, ALLPATS~, ALLPATS+10, ALLPATS+11, ALLPATS+19, ALLPATS+22, PTS~, PTS+21
, PTS+29, PTS+32
STOP TESTS+2~, TESTS+12*, TESTS+14, TESTS+30
SUB CATOK+1~, CATOK+4*, CATOK+5, CATOK+6, CATOK+7, CATOK+8, CATOK+9
TYPE TESTS~, TESTS+8, TESTS+9, TESTS+10, TESTS+11, TESTS+12, TESTS+15, TESTS+25, RESULTS+4~, RESULTS+10*
, RESULTS+12, RESULTS+17, RESULTS+20, RESULTS+21, RESULTS+23, RESULTS+32, RESULTS+36, TRESULTS~, TRESULTS+7, TRESULTS+8
, TRESULTS+17, PATIENTS~, PATIENTS+11, PATIENTS+12, PCHK+7, ALLPATS+3~, ALLPATS+6*, ALLPATS+7, ALLPATS+9, ALLPATS+10
, ALLPATS+11, PTS~, PTS+12, PTS+17, PTS+20, PTS+21, PTS+23, PTS+28
U TESTS+7, TESTS+9, TESTS+28, TESTS+29, RESULTS+9, RESULTS+39, RESULTS+40, RESULTS+43, TRESULTS+6, TRESULTS+24
, TRESULTS+25, TRESULTS+27, PATIENTS+8, PATIENTS+18, PCHK+13, PCHK+14, APATS+11, APATS+12, PTS+9, PTS+34
PT+11, PT+12
VALUES RESULTS~, RESULTS+5!*, RESULTS+7*, RESULTS+21, RESULTS+38, RESULTS+39, TRESULTS~, TRESULTS+3!*, TRESULTS+5*, TRESULTS+23
, TRESULTS+24
VALUES( RESULTS+40*, TRESULTS+25*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All