LRPXAPI3 ;SLC/STAFF Lab Extract API code - Micro and AP ;10/28/03 11:29
Source file <LRPXAPI3.m>
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
|