LRPXAPI1 ;SLC/STAFF Lab Extract API code ;10/28/03 11:29
Source file <LRPXAPI1.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
TESTS(TESTS,DFN,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns lab tests on a patient ; returned in array TESTS |
|
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^...) |
|
TRESULTS(VALUES,DFN,TEST,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; returns a lab test's 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^...) |
|
PATIENTS(PATS,TEST,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; uses PATS within this scope ; returns patients who have a test result ; returned in array PATS ; format: DFN^patient name |
|
PATS | ; within scope of PATIENTS
|
|
PTS(PATS,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; from LRPXAPI
; uses APATS within this scope ; returns all patients that have lab data |
|
PT | ; within scope of ALLPATS
|
|
DATES(DATES,DFN,TYPE,MAX,NEXT,DATE1,DATE2) | ; from LRPXAPI
; returns dates of data occurrence ; returned in array DATES |