ORQQVS ; slc/CLA,STAFF - Functions which return patient visits ;3/16/05 10:27
Source file <ORQQVS.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 |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 5 | ORQQVS DETAIL NOTES ORQQVS DETAIL SUMMARY ORQQVS VISITS/APPTS ORWCV ORWPT2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
LIST(ORY,PT,ORSDT,OREDT,LOC) | ; return visits for a patient between start & end dates for a location, if no location return all visits
|
|
VSITAPPT(ORVY,PT,SDT,EDT,DUMMY) | ; return past visits and future appointments for a patient between start and end dates
|
|
DETNOTE(ORVY,ORPT,ORVIEN) | ;return progress notes for a patient's visit
|
|
DETSUM(ORVY,ORPT,ORVIEN) | ;return discharge summary for a patient's visit
|
RPC Name | Call Tags |
---|---|
ORQQVS VISITS/APPTS | VSITAPPT |
ORQQVS DETAIL NOTES | DETNOTE |
ORQQVS DETAIL SUMMARY | DETSUM |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("TIULIST" | DETNOTE+3!, DETNOTE+5, DETNOTE+8, DETNOTE+10, DETNOTE+12, DETNOTE+19!, DETSUM+3!, DETSUM+5, DETSUM+7, DETSUM+9 , DETSUM+11, DETSUM+18! |
^TMP("TIUVIEW" | DETNOTE+11!, DETSUM+10! |
^TMP("VSIT" | LIST+15!, LIST+17, LIST+18, LIST+19, LIST+22! |
^VA(200 - [#200] | LIST+4 |
Name | Line Occurrences |
---|---|
LIST | VSITAPPT+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | VSITAPPT+1! |
CNT | LIST+1~, LIST+3*, LIST+17, LIST+21*, VSITAPPT+1~*, VSITAPPT+4, VSITAPPT+5*, VSITAPPT+8, VSITAPPT+10, VSITAPPT+11 , VSITAPPT+12* |
CNTLIMIT | LIST+1~, LIST+2*, LIST+17 |
CR | DETSUM+1~ |
DT | VSITAPPT+14 |
DUMMY | VSITAPPT~ |
DUZ | LIST+4 |
EDT | VSITAPPT~, VSITAPPT+2, VSITAPPT+15, VSITAPPT+16 |
I | VSITAPPT+1~, VSITAPPT+3*, VSITAPPT+4, VSITAPPT+5, VSITAPPT+7*, VSITAPPT+8, VSITAPPT+9, VSITAPPT+10, VSITAPPT+11, VSITAPPT+12 |
INVDT | LIST+1~, LIST+19*, LIST+21 |
LOC | LIST~, LIST+6, LIST+9, LIST+16 |
NDT | VSITAPPT+1~*, VSITAPPT+2, VSITAPPT+6 |
NUM | LIST+1~, LIST+3*, LIST+18*, LIST+19 |
OREDT | LIST~, LIST+8, LIST+9*, LIST+10*, LIST+13, LIST+14, LIST+16 |
ORPT | DETNOTE~, DETSUM~ |
ORSDT | LIST~, LIST+5, LIST+6*, LIST+7*, LIST+12, LIST+14, LIST+16 |
ORSRV | LIST+1~, LIST+4*, LIST+6, LIST+9 |
ORTY | DETNOTE+1~, DETNOTE+13, DETNOTE+15, DETNOTE+16, DETSUM+1~, DETSUM+12, DETSUM+14, DETSUM+15 |
ORVI | DETNOTE+1~, DETNOTE+7*, DETNOTE+16*, DETNOTE+17*, DETNOTE+18*, DETSUM+10~, DETSUM+13*, DETSUM+15*, DETSUM+16*, DETSUM+17* |
ORVIEN | DETNOTE~, DETNOTE+4, DETSUM~, DETSUM+4 |
ORVSITY | VSITAPPT+1~ |
ORVY | VSITAPPT~, VSITAPPT+1!, VSITAPPT+18!, DETNOTE~, DETSUM~ |
ORVY( | VSITAPPT+4*, VSITAPPT+5*, VSITAPPT+8*, VSITAPPT+10*, VSITAPPT+11*, VSITAPPT+12*, DETNOTE+16*, DETNOTE+17*, DETNOTE+18*, DETSUM+15* , DETSUM+16*, DETSUM+17* |
ORVY(1 | VSITAPPT+13*, VSITAPPT+18*, DETNOTE+6*, DETSUM+6* |
ORX | LIST+1~, LIST+19*, LIST+20, LIST+21 |
ORY | LIST~, DETNOTE+1~, DETNOTE+4, DETSUM+1~, DETSUM+4 |
ORY( | LIST+21* |
ORY(1 | LIST+14* |
ORYA | VSITAPPT+2, VSITAPPT+19! |
ORYA( | VSITAPPT+3, VSITAPPT+4, VSITAPPT+5 |
ORYA(1 | VSITAPPT+17, VSITAPPT+18 |
PT | LIST~, LIST+16, VSITAPPT~, VSITAPPT+2, VSITAPPT+6 |
SDT | VSITAPPT~, VSITAPPT+6 |
SEQ | DETNOTE+9~*, DETNOTE+10*, DETNOTE+12, DETSUM+8~*, DETSUM+9*, DETSUM+11 |
TDT | DETNOTE+1~, DETNOTE+2*, DETNOTE+8*, DETNOTE+10, DETNOTE+12, DETSUM+1~, DETSUM+2*, DETSUM+7*, DETSUM+9, DETSUM+11 |
TIEN | DETNOTE+9~, DETNOTE+12*, DETNOTE+13, DETSUM+8~, DETSUM+11*, DETSUM+12 |
TS | VSITAPPT+1~ |
TSEQ | DETNOTE+11~, DETNOTE+14*, DETNOTE+15*, DETNOTE+16, DETSUM+10~, DETSUM+13*, DETSUM+14*, DETSUM+15 |
>> TSTDT | VSITAPPT+14*, VSITAPPT+16 |
U | LIST+4, LIST+19, LIST+20, LIST+21, VSITAPPT+4, VSITAPPT+5, VSITAPPT+8, VSITAPPT+9, VSITAPPT+10, VSITAPPT+11 , VSITAPPT+12, VSITAPPT+17, DETNOTE+12, DETSUM+11 |
VIEN | LIST+1~, LIST+3*, LIST+17*, LIST+18, LIST+19, LIST+21 |
YV | VSITAPPT+6, VSITAPPT+19! |
YV( | VSITAPPT+7, VSITAPPT+8, VSITAPPT+9, VSITAPPT+10, VSITAPPT+11, VSITAPPT+12 |