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 ;VA/SLC/STAFF - Test Lab APIs ;11/12/03 15:44

Source Information

Source file <LRPXAPP.m>

Call Graph

Call Graph Total: 5

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  
IHS Changes To Lab 1 $$PATCH^BLRUTIL4  
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)
RESULTS ; sample application to test RESULTS API
; gets patient's lab test results (in date range)
TESTLOOK ; test a lookup that screens for only tests done on patient
CONDOK ; sample application to test if condition is valid
ARESULTS ; sample application to test RESULTS API for all results
; gets all lab results on a patient (in date range)
PATIENTS ; sample application to test PATIENTS API
; gets all patients that have had a specific lab test (in date range)
VALUES ; test to get patient's values from PXRMINDX index
TESTVAL ; test conditions and values for a patient's test
CHNODE ; test CH data - some not defined
SPEC ; test of specimen APIs
DATES ; sample application to test DATES API
; gets the dates of labs (without results) on a patient (in date range)

External References

Name Field # of Occurrence
$$PATCH^BLRUTIL4 TESTVAL+1, VALUES+1, SPEC+1
^DIC TESTLOOK+5
$$COMMENT^LRPXAPI SPEC+17
$$VAL^LRPXAPI TESTVAL+12
CHNODE^LRPXAPI CHNODE+13
DATES^LRPXAPI DATES+8
LRPXRM^LRPXAPI VALUES+14
LRVALUE^LRPXAPI TESTVAL+15
PATIENTS^LRPXAPI PATIENTS+10
RESULTS^LRPXAPI ARESULTS+8, RESULTS+12
SPEC^LRPXAPI SPEC+15
TESTS^LRPXAPI TESTS+9
VALUE^LRPXAPI TESTVAL+13
$$CONDOK^LRPXAPIU CONDOK+4
$$LRDFN^LRPXAPIU TESTVAL+5, SPEC+17, CHNODE+3
$$LRDN^LRPXAPIU TESTVAL+7
$$LRIDT^LRPXAPIU TESTVAL+11, SPEC+17
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+8, 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+4, VALUES+5, SPEC+7, CHNODE+2
GETTEST^LRPXAPPU RESULTS+7, PATIENTS+4, TESTVAL+6
GETTYPE^LRPXAPPU TESTS+4, ARESULTS+4, RESULTS+4, PATIENTS+3, DATES+5, VALUES+4, 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+12
Function Call: WRITE
  • Prompt: !,RESULT
  • Line Location: TESTVAL+14
Function Call: WRITE
  • Prompt: !,RESULT
  • Line Location: TESTVAL+16
Function Call: WRITE
  • Prompt: !,ITEM,!,NODE,!,RESULT
  • Line Location: VALUES+15
Function Call: WRITE
  • Prompt: !
  • Line Location: SPEC+16
Function Call: WRITE
  • Prompt: !,$$COMMENT^LRPXAPI($$LRDFN^LRPXAPIU(DFN),$$LRIDT^LRPXAPIU(COL))
  • Line Location: SPEC+17
Function Call: WRITE
  • Prompt: !,DATA_"="_@DATA
  • Line Location: SPEC+20
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+10, VALUES+9, VALUES+11, VALUES+13, SPEC+9, SPEC+11
^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+5~, SPEC+6*, SPEC+9, SPEC+11, SPEC+13*, CHNODE+1~, CHNODE+4*, CHNODE+6, CHNODE+7*
COL TESTVAL+3~, TESTVAL+9*, TESTVAL+10*, TESTVAL+11, TESTVAL+13, VALUES+3~, VALUES+10*, VALUES+11*, VALUES+13, SPEC+5~
, SPEC+10*, SPEC+11*, SPEC+12, SPEC+13, SPEC+15, SPEC+17
COLCNT SPEC+5~!
COLCNT( SPEC+12, SPEC+13*
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+3~, TESTVAL+8, TESTVAL+13, TESTVAL+15, CONDOK+1~, CONDOK+3, CONDOK+4, CONDOK+5
DATA SPEC+5~, SPEC+18*, SPEC+19*, SPEC+20
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+3~, TESTVAL+4, TESTVAL+5, TESTVAL+10, TESTVAL+13, VALUES+3~
, VALUES+5, VALUES+9, VALUES+11, VALUES+13, SPEC+5~, SPEC+7, SPEC+9, SPEC+11, SPEC+15, SPEC+17
, 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+3~, TESTVAL+4, TESTVAL+6, TESTVAL+8, TESTVAL+13, TESTVAL+15, VALUES+3~, VALUES+4, VALUES+5
, SPEC+5~, SPEC+7, SPEC+15, 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+3~, VALUES+6*, VALUES+7*, VALUES+8*, VALUES+9*, VALUES+11, VALUES+13, VALUES+14, VALUES+15, SPEC+5~
, SPEC+8*, SPEC+9*, SPEC+11
ITEMS TESTS+2~!, TESTS+9, TESTS+10, DATES+2~!, DATES+8, DATES+9
LRDFN TESTVAL+3~, TESTVAL+5*, TESTVAL+12, TESTVAL+15, CHNODE+1~, CHNODE+3*, CHNODE+6, CHNODE+8, CHNODE+10, CHNODE+11
LRDN TESTVAL+3~, TESTVAL+7*, TESTVAL+12, TESTVAL+15, CHNODE+1~, CHNODE+9*, CHNODE+10*, CHNODE+11, CHNODE+12
LRIDT TESTVAL+3~, TESTVAL+11*, TESTVAL+12, TESTVAL+15, CHNODE+1~, CHNODE+5*, CHNODE+6*, CHNODE+8, CHNODE+10, CHNODE+11
MAX SPEC+5~, SPEC+6*, SPEC+9, SPEC+11
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+3~, VALUES+12*, VALUES+13*, VALUES+14, VALUES+15, CHNODE+1~, CHNODE+11*, CHNODE+12, CHNODE+13
PATIENTS PATIENTS+2~!, PATIENTS+10
PATIENTS( PATIENTS+12
RESULT TESTVAL+3~, TESTVAL+13, TESTVAL+14, TESTVAL+15, TESTVAL+16, VALUES+3~, VALUES+14, VALUES+15
RESULTS RESULTS+3~!, RESULTS+12, RESULTS+13, SPEC+5~!, SPEC+15, SPEC+21!, CHNODE+1~!, CHNODE+13
RESULTS( CHNODE+15, CHNODE+16
STOP VALUES+3~, VALUES+6*, VALUES+7*, VALUES+8*, VALUES+9
SUB PATIENTS+2~, PATIENTS+11*, PATIENTS+12*
TEST TESTVAL+3~, TESTVAL+6, TESTVAL+7, TESTVAL+10, TESTVAL+13
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+8, VALUES+3~, VALUES+4, VALUES+6, VALUES+7, VALUES+8, 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