LRPXAPI ;SLC/STAFF Lab Extract APIs ;2/26/04 13:34
Source file <LRPXAPI.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
TESTS(TESTS,DFN,TYPE,MAX,NEXT,COND,DATE1,DATE2) | ; API
|
|
RESULTS(VALUES,DFN,ITEM,MAX,NEXT,COND,DATE1,DATE2) | ; API
|
|
PATIENTS(PATS,ITEM,SOURCE,MAX,NEXT,COND,DATE1,DATE2) | ; API
|
|
DATES(DATES,DFN,TYPE,MAX,NEXT,DATE1,DATE2) | ; API
|
|
VALUE(RESULT,DFN,DATE,TEST,COND,ERR) | ; API
; returns result node as RESULT; dfn, date, test required |
|
LRVALUE(RESULT,LRDFN,LRIDT,LRDN,COND,ERR) | ; API
; returns result node as RESULT; lrdfn, lridt, lrdn required |
|
LRPXRM(RESULT,NODE,ITEM,TYPES) | ; API
; returns lab data using ^PXRMINDX indexes; node, item required ; types of data: V value, S specimen, C comments, or combinations |
|
SPEC(DATA,DFN,DATE,STYPE,ERR) | ; API
; returns specimen node, comments, data nodes ; returned in array DATA; dfn, date required |
|
LRSPEC(DATA,LRDFN,LRIDT,STYPE,ERR) | ; API
; returns specimen node, comments, data nodes ; returned in array DATA; lrdfn, lridt required |
|
VERIFIED(LRDFN,LRIDT) | ; API $$(lrdfn,lridt) -> 1 if verified, else 0
|
|
MIVERIFY(LRDFN,LRIDT,SUB) | ; $$(lrdfn,lridt,sub) -> 1 if verified, else 0
|
|
APVERIFY(LRDFN,LRIDT,SUB) | ; $$(lrdfn,lridt,sub) -> 1 if verified, else 0
|
|
VAL(LRDFN,LRIDT,LRDN) | ; API $$(lrdfn,lridt,lrdn) -> result node
|
|
REFVAL(NODE) | ; API $$(reference node) -> data node
|
|
COMMENT(LRDFN,LRIDT) | ; API $$(lrdfn,lridt) --> 1 if comment exists, else 0
|
|
ACCY(TESTS,ACC,BDN) | ; API
; returns TESTS from yearly accession, ACC, BDN required ; BDN is beginning date number |
|
CHNODE(ARRAY,NODE) | ; API
; returns ARRAY of values on CH result node |
|
HASITEM(DFN,ITEM) | ; API $$(dfn,item) -> 1 if patient has item, else 0
|
|
Name | Field # of Occurrence |
---|---|
DATES^LRPXAPI1 | DATES+4 |
PATIENTS^LRPXAPI1 | PATIENTS+10 |
PTS^LRPXAPI1 | PATIENTS+8 |
RESULTS^LRPXAPI1 | RESULTS+8 |
TESTS^LRPXAPI1 | TESTS+4 |
TRESULTS^LRPXAPI1 | RESULTS+10 |
$$APVERIFY^LRPXAPI2 | APVERIFY+1 |
$$COMMENT^LRPXAPI2 | COMMENT+1 |
$$MIVERIFY^LRPXAPI2 | MIVERIFY+1 |
$$REFVAL^LRPXAPI2 | REFVAL+1 |
$$VAL^LRPXAPI2 | VAL+1 |
$$VERIFIED^LRPXAPI2 | VERIFIED+1 |
ACCY^LRPXAPI2 | ACCY+3 |
CHNODE^LRPXAPI2 | CHNODE+2 |
LRPXRM^LRPXAPI2 | LRPXRM+3 |
LRSPEC^LRPXAPI2 | LRSPEC+3 |
LRVALUE^LRPXAPI2 | LRVALUE+2 |
SPEC^LRPXAPI2 | SPEC+3 |
VALUE^LRPXAPI2 | VALUE+2 |
ALLPATS^LRPXAPI3 | PATIENTS+5 |
PATIENTS^LRPXAPI3 | PATIENTS+12 |
PTS^LRPXAPI3 | PATIENTS+9 |
RESULTS^LRPXAPI3 | RESULTS+9 |
TESTS^LRPXAPI3 | TESTS+5 |
TRESULTS^LRPXAPI3 | RESULTS+12 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PXRMINDX(63 | HASITEM+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACC | ACCY~, ACCY+3 |
ARRAY | CHNODE~, CHNODE+2 |
BDN | ACCY~, ACCY+3 |
COND | TESTS~, TESTS+4, TESTS+5, RESULTS~, RESULTS+8, RESULTS+9, RESULTS+10, RESULTS+12, PATIENTS~, PATIENTS+5 , PATIENTS+8, PATIENTS+9, PATIENTS+10, PATIENTS+12, VALUE~, VALUE+2, LRVALUE~, LRVALUE+2 |
DATA | SPEC~, SPEC+3, LRSPEC~, LRSPEC+3 |
DATE | VALUE~, VALUE+2, SPEC~, SPEC+3 |
DATE1 | TESTS~, TESTS+4, TESTS+5, RESULTS~, RESULTS+8, RESULTS+9, RESULTS+10, RESULTS+12, PATIENTS~, PATIENTS+5 , PATIENTS+8, PATIENTS+9, PATIENTS+10, PATIENTS+12, DATES~, DATES+4 |
DATE2 | TESTS~, TESTS+4, TESTS+5, RESULTS~, RESULTS+8, RESULTS+9, RESULTS+10, RESULTS+12, PATIENTS~, PATIENTS+5 , PATIENTS+8, PATIENTS+9, PATIENTS+10, PATIENTS+12, DATES~, DATES+4 |
DATES | DATES~, DATES+1, DATES+4 |
DFN | TESTS~, TESTS+4, TESTS+5, RESULTS~, RESULTS+8, RESULTS+9, RESULTS+10, RESULTS+12, DATES~, DATES+4 , VALUE~, VALUE+2, SPEC~, SPEC+3, HASITEM~, HASITEM+1 |
ERR | VALUE~, VALUE+2, LRVALUE~, LRVALUE+2, SPEC~, SPEC+3, LRSPEC~, LRSPEC+3 |
ITEM | RESULTS~, RESULTS+4*, RESULTS+5, RESULTS+7, RESULTS+9, RESULTS+10, RESULTS+11, RESULTS+12, PATIENTS~, PATIENTS+4* , PATIENTS+5, PATIENTS+6, PATIENTS+7, PATIENTS+9, PATIENTS+10, PATIENTS+11, PATIENTS+12, LRPXRM~, LRPXRM+3, HASITEM~ , HASITEM+1 |
LRDFN | LRVALUE~, LRVALUE+2, LRSPEC~, LRSPEC+3, VERIFIED~, VERIFIED+1, MIVERIFY~, MIVERIFY+1, APVERIFY~, APVERIFY+1 , VAL~, VAL+1, COMMENT~, COMMENT+1 |
LRDN | LRVALUE~, LRVALUE+2, VAL~, VAL+1 |
LRIDT | LRVALUE~, LRVALUE+2, LRSPEC~, LRSPEC+3, VERIFIED~, VERIFIED+1, MIVERIFY~, MIVERIFY+1, APVERIFY~, APVERIFY+1 , VAL~, VAL+1, COMMENT~, COMMENT+1 |
MAX | TESTS~, TESTS+1*, TESTS+2*, TESTS+4, TESTS+5, RESULTS~, RESULTS+2*, RESULTS+3*, RESULTS+6*, RESULTS+8 , RESULTS+9, RESULTS+10, RESULTS+12, PATIENTS~, PATIENTS+2*, PATIENTS+3*, PATIENTS+5, PATIENTS+8, PATIENTS+9, PATIENTS+10 , PATIENTS+12, DATES~, DATES+1*, DATES+2*, DATES+4 |
NEXT | TESTS~, TESTS+4, TESTS+5, RESULTS~, RESULTS+8, RESULTS+9, RESULTS+10, RESULTS+12, PATIENTS~, PATIENTS+5 , PATIENTS+8, PATIENTS+9, PATIENTS+10, PATIENTS+12, DATES~, DATES+4 |
NODE | LRPXRM~, LRPXRM+3, REFVAL~, REFVAL+1, CHNODE~, CHNODE+2 |
PATS | PATIENTS~, PATIENTS+2, PATIENTS+5, PATIENTS+8, PATIENTS+9, PATIENTS+10, PATIENTS+12 |
RESULT | VALUE~, VALUE+2, LRVALUE~, LRVALUE+2, LRPXRM~, LRPXRM+3 |
SOURCE | PATIENTS~, PATIENTS+5, PATIENTS+8, PATIENTS+9, PATIENTS+10, PATIENTS+12 |
STYPE | SPEC~, SPEC+3, LRSPEC~, LRSPEC+3 |
SUB | MIVERIFY~, MIVERIFY+1, APVERIFY~, APVERIFY+1 |
TEST | VALUE~, VALUE+2 |
TESTS | TESTS~, TESTS+1, TESTS+4, TESTS+5, ACCY~, ACCY+3 |
TYPE | TESTS~, TESTS+3*, TESTS+4, TESTS+5, RESULTS+1~, RESULTS+7*, RESULTS+8, RESULTS+11*, RESULTS+12, PATIENTS+1~ , PATIENTS+7*, PATIENTS+8, PATIENTS+9, PATIENTS+11*, PATIENTS+12, DATES~, DATES+3*, DATES+4 |
TYPES | LRPXRM~, LRPXRM+3 |
VALUES | RESULTS~, RESULTS+2, RESULTS+8, RESULTS+9, RESULTS+10, RESULTS+12 |