ORQQLR1 ; slc/CLA - Extrinsic functions and procedures which return patient lab results ; 7/10/17 5:45pm
Source file <ORQQLR1.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 |
---|---|---|
OETOLAB(ORNUM) | ;extrinsic funct to get a lab order number from an oe/rr number
|
|
PRINTNAM(LRIEN) | ;extrinsic function to return the print name for an entry in the Lab file [#60]
|
|
OIRES(PT,OILR,SPEC) | ;extrinsic function to return pt's most recent lab results for a lab orderable item in the format:
; test id^abbrev test name^result^units^flag^collection d/t |
|
OIRESC(PT,OILR,SPEC) | ;extrinsic function to return pt's most recent lab results for a lab orderable item in the format:
; test id^abbrev test name^result^units^flag^collection d/t |
|
NATL(PT,NID,SPEC) | ;extrinsic function to return pt's most recent lab results for a lab national id in the format:
; test id^abbrev test name^result^units^flag^collection d/t |
|
NATLC(PT,NID,SPEC) | ;extrinsic function to return pt's most recent lab results for a lab national id in the format:
; test id^abbrev test name^result^units^flag^collection d/t |
|
LOCL(PT,LID,SPEC) | ;extrinsic function to return pt's most recent lab results for a lab local id in the format:
; test id^abbrev test name^result^units^flag^collection d/t |
|
LOCLC(PT,LID,SPEC) | ;extrinsic function to return pt's most recent lab results for a lab local id in the format:
; test id^abbrev test name^result^units^flag^collection d/t |
|
LOCLFORM(PT,LID,SPEC) | ;extrinsic function to return formatted most recnt lab
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LAB(60 - [#60] | PRINTNAM+3 |
^OR(100 - [#100] | OETOLAB+2 |
^ORD(101.43 - [#101.43] | OIRESC+6, OIRESC+10, OIRESC+12 |
^TMP("LRRR" | OIRESC+15!, OIRESC+16, OIRESC+17, OIRESC+18, OIRESC+19, OIRESC+21!, NATLC+6!, NATLC+7, NATLC+8, NATLC+9 , NATLC+10, NATLC+12!, LOCLC+6!, LOCLC+7, LOCLC+8, LOCLC+9, LOCLC+10, LOCLC+16! |
Name | Line Occurrences |
---|---|
$$LOCL | LOCLFORM+4 |
Name | Field # of Occurrence |
---|---|
^( | OIRESC+20, NATLC+11, LOCLC+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
FRCNT | LOCLFORM+3~, LOCLFORM+6*, LOCLFORM+7*, LOCLFORM+8 |
INVDT | OIRESC+2~, OIRESC+3*, OIRESC+18*, OIRESC+19, OIRESC+20, NATLC+2~, NATLC+3*, NATLC+9*, NATLC+10, NATLC+11 , LOCLC+2~, LOCLC+3*, LOCLC+9*, LOCLC+10, LOCLC+15 |
LID | LOCL~, LOCL+4, LOCLC~, LOCLC+7, LOCLFORM~, LOCLFORM+4 |
LRIEN | PRINTNAM~, PRINTNAM+1, PRINTNAM+3 |
LRNUM | OETOLAB+1~, OETOLAB+2*, OETOLAB+3 |
NAME | PRINTNAM+2~, PRINTNAM+5*, PRINTNAM+6 |
NID | NATL~, NATL+4, NATLC~, NATLC+7 |
NODE | PRINTNAM+2~, PRINTNAM+3*, PRINTNAM+4, PRINTNAM+5 |
OILR | OIRES~, OIRES+4, OIRESC~, OIRESC+5, OIRESC+6, OIRESC+10, OIRESC+12 |
ORDG | OIRESC+2~, OIRESC+8*, OIRESC+9, OIRESC+10, NATLC+2~ |
ORLR | OIRESC+2~, OIRESC+13*, OIRESC+16, NATLC+2~ |
ORN | OIRESC+2~, NATLC+2~ |
ORNUM | OETOLAB~, OETOLAB+2 |
ORX | OIRESC+2~, OIRESC+12*, OIRESC+13, NATLC+2~, LOCLC+2~, LOCLC+11*, LOCLC+12, LOCLC+13, LOCLC+14, LOCLC+15 |
ORY | OIRESC+2~, OIRESC+3*, OIRESC+5, OIRESC+6, OIRESC+9, OIRESC+10, OIRESC+20*, OIRESC+22, NATLC+2~, NATLC+3* , NATLC+11*, NATLC+13, LOCLC+2~, LOCLC+3*, LOCLC+14*, LOCLC+15*, LOCLC+17 |
ORZ | OIRES+2~, OIRES+3*, OIRES+4, OIRES+5, NATL+2~, NATL+3*, NATL+4, NATL+5, LOCL+2~, LOCL+3* , LOCL+4, LOCL+5 |
PT | OIRES~, OIRES+4, OIRESC~, OIRESC+5, OIRESC+16, OIRESC+17, OIRESC+18, OIRESC+19, NATL~, NATL+4 , NATLC~, NATLC+7, NATLC+8, NATLC+9, NATLC+10, LOCL~, LOCL+4, LOCLC~, LOCLC+7, LOCLC+8 , LOCLC+9, LOCLC+10, LOCLFORM~, LOCLFORM+4 |
RESULT | OIRESC+2~, OIRESC+20*, NATLC+11*, LOCLC+2~, LOCLC+10, LOCLC+13* |
RSLT | OIRES+2~, OIRES+4*, NATL+2~, NATL+4*, LOCL+2~, LOCL+4* |
SEQ | OIRESC+2~, OIRESC+3*, OIRESC+19*, OIRESC+20, NATLC+2~, NATLC+3*, NATLC+10*, NATLC+11, LOCLC+2~, LOCLC+3* , LOCLC+10*, LOCLC+11 |
SPEC | OIRES~, OIRES+4, OIRESC~, OIRESC+7*, OIRESC+16, NATL~, NATL+4, NATLC~, NATLC+4*, NATLC+7 , LOCL~, LOCL+4, LOCLC~, LOCLC+5*, LOCLC+7, LOCLFORM~, LOCLFORM+4 |
SUB | OIRESC+2~, OIRESC+3*, OIRESC+17*, OIRESC+18, OIRESC+19, NATLC+2~, NATLC+3*, NATLC+8*, NATLC+9, NATLC+10 , LOCLC+2~, LOCLC+3*, LOCLC+8*, LOCLC+9, LOCLC+10 |
U | PRINTNAM+5, OIRESC+10, OIRESC+12, OIRESC+20, NATLC+11, LOCLC+12, LOCLC+13, LOCLC+14, LOCLC+15, LOCLFORM+6 , LOCLFORM+7 |
X | LOCLFORM+3~, LOCLFORM+4*, LOCLFORM+5, LOCLFORM+6, LOCLFORM+7 |