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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Routine: LRPXAPP

Package: Lab Service

Routine: LRPXAPP


Information

LRPXAPP ;SLC/STAFF Test Lab APIs ;11/12/03 15:44

Source Information

Source file <LRPXAPP.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Lab Service 3 ($$COMMENT,$$VAL,CHNODE,DATES,LRPXRM,LRVALUE,PATIENTS,RESULTS,SPEC,TESTS,VALUE)^LRPXAPI  ($$CONDOK,$$LRDFN,$$LRDN,$$LRIDT)^LRPXAPIU  (DISPLAY,GETAP,GETCOND,GETDATE,GETMICRO,GETPT,GETTEST,GETTYPE)^LRPXAPPU  
VA FileMan 1 ^DIC  

Entry Points

Name Comments DBIA/ICR reference
TESTS ; sample application to test TESTS API
; gets the lab tests (without results) on a patient (in date range)
ARESULTS ; sample application to test RESULTS API for all results
; gets all lab results on a patient (in date range)
RESULTS ; sample application to test RESULTS API
; gets patient's lab test results (in date range)
PATIENTS ; sample application to test PATIENTS API
; gets all patients that have had a specific lab test (in date range)
DATES ; sample application to test DATES API
; gets the dates of labs (without results) on a patient (in date range)
TESTLOOK ; test a lookup that screens for only tests done on patient
TESTVAL ; test conditions and values for a patient's test
VALUES ; test to get patient's values from PXRMINDX index
SPEC ; test of specimen APIs
; displays specimen node, comments, results
; restricted to MAX number of collections
CHNODE ; test CH data - some not defined
CONDOK ; sample application to test if condition is valid

External References

Name Field # of Occurrence
^DIC TESTLOOK+5
$$COMMENT^LRPXAPI SPEC+15
$$VAL^LRPXAPI TESTVAL+10
CHNODE^LRPXAPI CHNODE+13
DATES^LRPXAPI DATES+8
LRPXRM^LRPXAPI VALUES+12
LRVALUE^LRPXAPI TESTVAL+13
PATIENTS^LRPXAPI PATIENTS+10
RESULTS^LRPXAPI ARESULTS+8, RESULTS+12
SPEC^LRPXAPI SPEC+13
TESTS^LRPXAPI TESTS+9
VALUE^LRPXAPI TESTVAL+11
$$CONDOK^LRPXAPIU CONDOK+4
$$LRDFN^LRPXAPIU TESTVAL+3, SPEC+15, CHNODE+3
$$LRDN^LRPXAPIU TESTVAL+5
$$LRIDT^LRPXAPIU TESTVAL+9, SPEC+15
DISPLAY^LRPXAPPU TESTS+11, ARESULTS+9, RESULTS+14, DATES+10
GETAP^LRPXAPPU RESULTS+8, PATIENTS+5
GETCOND^LRPXAPPU TESTS+7, ARESULTS+7, RESULTS+10, PATIENTS+7, TESTVAL+6, CONDOK+3
GETDATE^LRPXAPPU TESTS+6, ARESULTS+6, RESULTS+6, PATIENTS+8, DATES+6
GETMICRO^LRPXAPPU RESULTS+9, PATIENTS+6
GETPT^LRPXAPPU TESTS+5, ARESULTS+5, RESULTS+5, DATES+4, TESTLOOK+2, TESTVAL+2, VALUES+3, SPEC+5, CHNODE+2
GETTEST^LRPXAPPU RESULTS+7, PATIENTS+4, TESTVAL+4
GETTYPE^LRPXAPPU TESTS+4, ARESULTS+4, RESULTS+4, PATIENTS+3, DATES+5, VALUES+2, CONDOK+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,PATIENTS(SUB)
  • Line Location: PATIENTS+12
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: TESTLOOK+6
Function Call: WRITE
  • Prompt: !!,$$VAL^LRPXAPI(LRDFN,LRIDT,LRDN)
  • Line Location: TESTVAL+10
Function Call: WRITE
  • Prompt: !,RESULT
  • Line Location: TESTVAL+12
Function Call: WRITE
  • Prompt: !,RESULT
  • Line Location: TESTVAL+14
Function Call: WRITE
  • Prompt: !,ITEM,!,NODE,!,RESULT
  • Line Location: VALUES+13
Function Call: WRITE
  • Prompt: !
  • Line Location: SPEC+14
Function Call: WRITE
  • Prompt: !,$$COMMENT^LRPXAPI($$LRDFN^LRPXAPIU(DFN),$$LRIDT^LRPXAPIU(COL))
  • Line Location: SPEC+15
Function Call: WRITE
  • Prompt: !,DATA_"="_@DATA
  • Line Location: SPEC+18
Function Call: WRITE
  • Prompt: !!!,LRDFN," ",LRIDT
  • Line Location: CHNODE+8
Function Call: WRITE
  • Prompt: !!,LRDN,!,NODE,!
  • Line Location: CHNODE+12
Function Call: WRITE
  • Prompt: !,DEF," = ",RESULTS(DEF)
  • Line Location: CHNODE+16
Function Call: WRITE
  • Prompt: !,COND,!,"condition is ok"
  • Line Location: CONDOK+4
Function Call: WRITE
  • Prompt: !,COND,!,"condition is NOT ok"
  • Line Location: CONDOK+5
Routine Call
  • DIC
  • Line Location:
    • TESTLOOK+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^LR - [#63] CHNODE+6, CHNODE+10, CHNODE+11
^PXRMINDX(63 TESTVAL+8, VALUES+7, VALUES+9, VALUES+11, SPEC+7, SPEC+9
^TMP("LRPXAPP" TESTS+3!, TESTS+10*, TESTS+12!, ARESULTS+3!, ARESULTS+10!, RESULTS+2!, RESULTS+13*, RESULTS+15!, DATES+3!, DATES+9*
DATES+11!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT SPEC+3~, SPEC+4*, SPEC+7, SPEC+9, SPEC+11*, CHNODE+1~, CHNODE+4*, CHNODE+6, CHNODE+7*
COL TESTVAL+1~, TESTVAL+7*, TESTVAL+8*, TESTVAL+9, TESTVAL+11, VALUES+1~, VALUES+8*, VALUES+9*, VALUES+11, SPEC+3~
SPEC+8*, SPEC+9*, SPEC+10, SPEC+11, SPEC+13, SPEC+15
COLCNT SPEC+3~!
COLCNT( SPEC+10, SPEC+11*
COND TESTS+2~, TESTS+7, TESTS+9, ARESULTS+2~, ARESULTS+7, ARESULTS+8, RESULTS+3~, RESULTS+10, RESULTS+12, PATIENTS+2~
PATIENTS+7, PATIENTS+10, TESTVAL+1~, TESTVAL+6, TESTVAL+11, TESTVAL+13, CONDOK+1~, CONDOK+3, CONDOK+4, CONDOK+5
DATA SPEC+3~, SPEC+16*, SPEC+17*, SPEC+18
DEF CHNODE+1~, CHNODE+14*, CHNODE+15*, CHNODE+16
DFN TESTS+2~, TESTS+5, TESTS+9, ARESULTS+2~, ARESULTS+5, ARESULTS+8, RESULTS+3~, RESULTS+5, RESULTS+12, DATES+2~
DATES+4, DATES+8, TESTLOOK+1~, TESTLOOK+2, TESTVAL+1~, TESTVAL+2, TESTVAL+3, TESTVAL+8, TESTVAL+11, VALUES+1~
VALUES+3, VALUES+7, VALUES+9, VALUES+11, SPEC+3~, SPEC+5, SPEC+7, SPEC+9, SPEC+13, SPEC+15
CHNODE+1~, CHNODE+2, CHNODE+3
DIC TESTLOOK+1~!, TESTLOOK+3*
DIC("S" TESTLOOK+4*
DIC(0 TESTLOOK+3*
ERR TESTS+2~, TESTS+4, TESTS+5, TESTS+6, TESTS+7, ARESULTS+2~, ARESULTS+4, ARESULTS+5, ARESULTS+6, ARESULTS+7
RESULTS+3~, RESULTS+4, RESULTS+5, RESULTS+6, RESULTS+7, RESULTS+8, RESULTS+9, RESULTS+10, PATIENTS+2~, PATIENTS+3
PATIENTS+4, PATIENTS+5, PATIENTS+6, PATIENTS+7, PATIENTS+8, DATES+2~, DATES+4, DATES+5, DATES+6, TESTLOOK+1~
TESTLOOK+2, TESTVAL+1~, TESTVAL+2, TESTVAL+4, TESTVAL+6, TESTVAL+11, TESTVAL+13, VALUES+1~, VALUES+2, VALUES+3
SPEC+3~, SPEC+5, SPEC+13, CHNODE+1~, CHNODE+2, CONDOK+1~, CONDOK+2, CONDOK+3
FROM TESTS+2~, TESTS+6, TESTS+9, ARESULTS+2~, ARESULTS+6, ARESULTS+8, RESULTS+3~, RESULTS+6, RESULTS+12, PATIENTS+2~
PATIENTS+8, PATIENTS+10, DATES+2~, DATES+6, DATES+8
ITEM RESULTS+3~, RESULTS+7, RESULTS+8, RESULTS+9, RESULTS+12, PATIENTS+2~, PATIENTS+4, PATIENTS+5, PATIENTS+6, PATIENTS+10
VALUES+1~, VALUES+4*, VALUES+5*, VALUES+6*, VALUES+7*, VALUES+9, VALUES+11, VALUES+12, VALUES+13, SPEC+3~
SPEC+6*, SPEC+7*, SPEC+9
ITEMS TESTS+2~!, TESTS+9, TESTS+10, DATES+2~!, DATES+8, DATES+9
LRDFN TESTVAL+1~, TESTVAL+3*, TESTVAL+10, TESTVAL+13, CHNODE+1~, CHNODE+3*, CHNODE+6, CHNODE+8, CHNODE+10, CHNODE+11
LRDN TESTVAL+1~, TESTVAL+5*, TESTVAL+10, TESTVAL+13, CHNODE+1~, CHNODE+9*, CHNODE+10*, CHNODE+11, CHNODE+12
LRIDT TESTVAL+1~, TESTVAL+9*, TESTVAL+10, TESTVAL+13, CHNODE+1~, CHNODE+5*, CHNODE+6*, CHNODE+8, CHNODE+10, CHNODE+11
MAX SPEC+3~, SPEC+4*, SPEC+7, SPEC+9
MORE TESTS+2~, TESTS+8, TESTS+9, RESULTS+3~, RESULTS+11, RESULTS+12, PATIENTS+2~, PATIENTS+9, PATIENTS+10, DATES+2~
DATES+7, DATES+8
NODE VALUES+1~, VALUES+10*, VALUES+11*, VALUES+12, VALUES+13, CHNODE+1~, CHNODE+11*, CHNODE+12, CHNODE+13
PATIENTS PATIENTS+2~!, PATIENTS+10
PATIENTS( PATIENTS+12
RESULT TESTVAL+1~, TESTVAL+11, TESTVAL+12, TESTVAL+13, TESTVAL+14, VALUES+1~, VALUES+12, VALUES+13
RESULTS RESULTS+3~!, RESULTS+12, RESULTS+13, SPEC+3~!, SPEC+13, SPEC+19!, CHNODE+1~!, CHNODE+13
RESULTS( CHNODE+15, CHNODE+16
STOP VALUES+1~, VALUES+4*, VALUES+5*, VALUES+6*, VALUES+7
SUB PATIENTS+2~, PATIENTS+11*, PATIENTS+12*
TEST TESTVAL+1~, TESTVAL+4, TESTVAL+5, TESTVAL+8, TESTVAL+11
TO TESTS+2~, TESTS+6, TESTS+9, ARESULTS+2~, ARESULTS+6, ARESULTS+8, RESULTS+3~, RESULTS+6, RESULTS+12, PATIENTS+2~
PATIENTS+8, PATIENTS+10, DATES+2~, DATES+6, DATES+8
TYPE TESTS+2~, TESTS+4, TESTS+7, TESTS+9, ARESULTS+2~, ARESULTS+4, ARESULTS+7, ARESULTS+8, RESULTS+3~, RESULTS+4
RESULTS+7, RESULTS+8, RESULTS+9, RESULTS+10, PATIENTS+2~, PATIENTS+3, PATIENTS+4, PATIENTS+5, PATIENTS+6, PATIENTS+7
DATES+2~, DATES+5, DATES+8, TESTVAL+6, VALUES+1~, VALUES+2, VALUES+4, VALUES+5, VALUES+6, CONDOK+1~
CONDOK+2, CONDOK+3
X TESTLOOK+1~
Y TESTLOOK+1~, TESTLOOK+5, TESTLOOK+6
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Local Variables  | All