SDECRMG ;ALB/SAT/JSM - VISTA SCHEDULING RPCS ;MAR 15, 2017
Source file <SDECRMG.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 |
---|---|---|
Scheduling | 2 | SDECIDX SDECRMG RMG |
Name | Comments | DBIA/ICR reference |
---|---|---|
RMG(DATA,MAXREC,LASTSUB,FILTERIN,SORTIN,MGIENS,SDMAX) | ;GET Request management Grid data
|
|
QUERY(MAXREC,FILTER,SORT,SDMAX,MORE,MGIENS) | ||
VALID | ;validate begin date
|
|
VALPT(PTS) | ;Validate patients
|
|
VALSD(SDAPTYP) | ;validate SDAPTYP
|
|
VALPRI(PRI) | ;validate PRIGRP
|
|
DESDTR(DATA) | ;validate desired date range and origination date range
|
|
DESDT(DESDT) | ;validate DESDT
|
|
ORIG(ORIG) | ;validate ORIGDT
|
|
VALCL(CLINIC) | ;validate Clinic
|
|
VALFIL(FILTERIN,FILTER) | ||
VALSORT(SORTIN,SORT) | ||
IEN(MGIENS) | ||
REQUEST(SDAPTYP,SDBEG,SDEND,CLINIC,PRI,SCVISIT,SVCR,ORIGDT,DESDT,PRIGRP,SORT,PTS,SDMAX,URG,SDSVC,MORE,ORIGDTR,DESDTR,MGIENS,SDALL,MRTC) | ;Filter first on request type
|
|
PATIENT(PTS,SDAPTYP,SDBEG,SDEND,CLINIC,PRI,SCVISIT,SVCR,ORIGDT,DESDT,PRIGRP,SORT,SDMAX,URG,SDSVC,MORE,ORIGDTR,DESDTR,MGIENS,SDALL,MRTC) | ;Filter first on patient
|
|
GETMORE(DATA,LASTSUB,MAX,MORE) | ||
TMPGBL() | ;EP-
|
|
CALIGN(DATA,SDHDR) | ;
|
|
GETNEXT(LASTSUB,MAXREC,SDECY) | ;return next set of records
|
|
SFILTER(FILTERS,FILTER1,FILVAL) |
Name | Field # of Occurrence |
---|---|
^%DT | DESDTR+3, DESDTR+6, DESDT+2, ORIG+2 |
$$GET1^DIQ | QUERY+85 |
APPT^SDECRMG1 | REQUEST+7, PATIENT+7 |
RECALL^SDECRMG1 | REQUEST+11, PATIENT+11 |
WAIT^SDECRMG1 | REQUEST+5, PATIENT+13 |
CONSULT^SDECRMG2 | REQUEST+9, PATIENT+9 |
MGIENS^SDECRMG2 | REQUEST+3, PATIENT+3 |
$$FMADD^XLFDT | VALID+2, VALID+6 |
$$NOW^XLFDT | VALID+2, VALID+6 |
$$UP^XLFSTR | QUERY+79, QUERY+82 |
RPC Name | Call Tags |
---|---|
SDECRMG RMG | RMG |
FileNo | Call Tags |
---|---|
^DIC(40.7 - [#40.7] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | VALPT+4 |
^FILTERS("B" | SFILTER+2 |
^ORD(101 - [#101] | QUERY+93 |
^SC - [#44] | VALCL+3 |
^SC("B" | VALCL+6 |
^TMP("SDECIDX" | RMG+26!, QUERY+100*, GETMORE+6, GETMORE+7, GETMORE+8, GETMORE+9 |
^TMP("SDECRMG" | RMG+20!, TMPGBL+1! |
Name | Line Occurrences |
---|---|
$$DESDT | QUERY+33 |
$$DESDTR | QUERY+42, QUERY+64 |
$$ORIG | QUERY+55 |
$$TMPGBL | GETMORE+4 |
$$VALCL | QUERY+26 |
GETMORE | RMG+24, RMG+35 |
IEN | RMG+32 |
PATIENT | QUERY+98 |
QUERY | RMG+33 |
REQUEST | QUERY+99 |
SFILTER | QUERY+37, QUERY+43, QUERY+61, QUERY+65 |
VALFIL | RMG+30 |
VALID | QUERY+90 |
VALPRI | QUERY+71 |
VALPT | QUERY+50 |
VALSD | QUERY+76 |
VALSORT | RMG+31 |
Name | Field # of Occurrence |
---|---|
^($J | TMPGBL+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | QUERY+2~, VALID+2*, DESDTR+1~, DESDTR+3*, DESDTR+6*, DESDT+1~, DESDT+2*, ORIG+1~, ORIG+2* |
CLINIC | QUERY+2~, QUERY+4*, QUERY+28*, QUERY+98, QUERY+99, VALCL~, VALCL+3, VALCL+6, REQUEST~, REQUEST+3 , REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
CLINIC( | QUERY+27* |
CNT | QUERY+2~, QUERY+3*, GETMORE+1~, GETMORE+2*, GETMORE+6, GETMORE+10*, GETMORE+11, GETMORE+12 |
DATA | RMG~, RMG+24, RMG+35, QUERY+2~, QUERY+16*, QUERY+17, QUERY+18, QUERY+22, QUERY+23, QUERY+30 , QUERY+31, QUERY+40, QUERY+41, QUERY+46, QUERY+47, QUERY+48, QUERY+52, QUERY+53, QUERY+62, QUERY+63 , QUERY+68, QUERY+69, QUERY+73, QUERY+74, QUERY+75, QUERY+77, QUERY+78, QUERY+80, QUERY+81, QUERY+83 , QUERY+84, QUERY+86, QUERY+87, QUERY+91, QUERY+92, DESDTR~, DESDTR+2, DESDTR+5, GETMORE~, GETMORE+4* , GETMORE+5, GETMORE+11, GETMORE+12, CALIGN~, CALIGN+3, CALIGN+5 |
DESDT | QUERY+1~, QUERY+4*, QUERY+34*, QUERY+35, QUERY+98, QUERY+99, DESDT~, DESDT+2*, DESDT+3, REQUEST~ , REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11 , PATIENT+13 |
DESDT( | QUERY+34* |
DESDTR | QUERY+2~, QUERY+4*, QUERY+42*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9 , REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
DFN | QUERY+1~, PATIENT+1~, PATIENT+5*, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
FIL | QUERY+2~, QUERY+15*, QUERY+16 |
FILD | SFILTER+1~, SFILTER+2*, SFILTER+3 |
FILTER | RMG+18~, RMG+30, RMG+33, QUERY~, QUERY+6, QUERY+37, QUERY+43, QUERY+61, QUERY+65, VALFIL~ , VALFIL+2! |
FILTER( | QUERY+15, QUERY+16, VALFIL+7* |
FILTER("B" | VALFIL+7* |
FILTER(1 | QUERY+7* |
FILTER(2 | QUERY+8* |
FILTER1 | SFILTER~, SFILTER+2 |
FILTERIN | RMG~, RMG+27*, RMG+30, VALFIL~, VALFIL+3*, VALFIL+4, VALFIL+6, VALFIL+7 |
FILTERS | SFILTER~ |
FILTERS( | SFILTER+3* |
FILVAL | SFILTER~, SFILTER+3 |
I | QUERY+1~, QUERY+19*, QUERY+20, QUERY+24*, QUERY+25, QUERY+26, QUERY+32*, QUERY+33, QUERY+49*, QUERY+54* , QUERY+55, QUERY+70*, QUERY+85*, QUERY+93* |
ID | QUERY+2~, QUERY+20*, QUERY+21, QUERY+26*, QUERY+27, QUERY+28, QUERY+33*, QUERY+34, QUERY+55*, QUERY+56 , QUERY+57, QUERY+58 |
IEN | VALCL+1~, VALCL+5*, VALCL+6*, VALCL+7*, VALCL+8 |
LASTSUB | RMG~, RMG+24, RMG+34*, RMG+35, GETMORE~, GETMORE+6, GETNEXT~, GETNEXT+3, GETNEXT+7*, GETNEXT+9* , GETNEXT+11*, GETNEXT+13*, GETNEXT+15* |
LOOP | PATIENT+1~, PATIENT+4*, PATIENT+5 |
LP | VALPT+2~, VALPT+3*, VALPT+4, VALPRI+1~, VALPRI+3*, VALPRI+4, VALPRI+6, GETMORE+1~, GETMORE+6*, GETMORE+7 |
MAX | GETMORE~, GETMORE+2*, GETMORE+3*, GETMORE+6 |
MAXREC | RMG~, RMG+22*, RMG+23*, RMG+24, RMG+33, RMG+35, QUERY~, REQUEST+3, REQUEST+5, REQUEST+7 , REQUEST+9, REQUEST+11, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13, GETNEXT~, GETNEXT+2*, GETNEXT+8 , GETNEXT+10, GETNEXT+12, GETNEXT+14, GETNEXT+16 |
MGIENS | RMG~, RMG+29*, RMG+32, RMG+33, QUERY~, QUERY+98, QUERY+99, IEN~, IEN+2*, IEN+3 , IEN+4, IEN+5, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+13 |
MGIENS( | IEN+5* |
MORE | RMG+18~, RMG+33, RMG+35, QUERY~, QUERY+3*, QUERY+98, QUERY+99, QUERY+100, REQUEST~, REQUEST+4* , REQUEST+13*, PATIENT~, PATIENT+6*, PATIENT+15*, GETMORE~, GETMORE+2* |
MRTC | QUERY+2~, QUERY+4*, QUERY+46*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+7, PATIENT~, PATIENT+3 , PATIENT+7 |
NODE | GETMORE+1~, GETMORE+7*, GETMORE+8*, GETMORE+9*, GETMORE+11 |
ORIG | QUERY+2~, ORIG~, ORIG+2*, ORIG+3 |
ORIGDT | QUERY+1~, QUERY+4*, QUERY+56*, QUERY+59, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7 , REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
ORIGDT( | QUERY+56* |
ORIGDTR | QUERY+1~, QUERY+4*, QUERY+64*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9 , REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
PRI | QUERY+2~, QUERY+4*, QUERY+71, QUERY+72, QUERY+98, QUERY+99, VALPRI~, VALPRI+2*, VALPRI+7*, REQUEST~ , REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11 , PATIENT+13 |
PRI( | QUERY+70*, VALPRI+3, VALPRI+6! |
PRIGRP | QUERY+1~, QUERY+4*, QUERY+72*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9 , REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
PTLST | QUERY+2~, QUERY+4* |
PTS | QUERY+2~, QUERY+4*, QUERY+50, QUERY+51*, QUERY+98, QUERY+99, VALPT~, REQUEST~, REQUEST+3, REQUEST+5 , REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
PTS( | QUERY+49*, VALPT+3, VALPT+4!, PATIENT+4 |
RET | REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13, CALIGN+1~, CALIGN+2* , CALIGN+5*, CALIGN+6*, CALIGN+7 |
SCVISIT | QUERY+1~, QUERY+4*, QUERY+79*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9 , REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
SD1 | GETNEXT+1~, GETNEXT+7*, GETNEXT+8*, GETNEXT+10, GETNEXT+12, GETNEXT+14, GETNEXT+16, GETNEXT+17 |
SD2 | GETNEXT+1~, GETNEXT+9*, GETNEXT+10*, GETNEXT+12, GETNEXT+14, GETNEXT+16, GETNEXT+17 |
SD3 | GETNEXT+1~, GETNEXT+11*, GETNEXT+12*, GETNEXT+14, GETNEXT+16, GETNEXT+17 |
SD4 | GETNEXT+1~, GETNEXT+13*, GETNEXT+14*, GETNEXT+16, GETNEXT+17 |
SD5 | GETNEXT+1~, GETNEXT+15*, GETNEXT+16*, GETNEXT+17 |
SDALL | QUERY+4*, QUERY+21*, QUERY+98, QUERY+99, REQUEST~, REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~ , PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
SDALL( | QUERY+21* |
SDAPTYP | QUERY+1~, QUERY+4*, QUERY+74*, QUERY+75*, QUERY+94*, QUERY+95*, QUERY+98, QUERY+99, VALSD~, VALSD+1* , VALSD+2*, VALSD+3, REQUEST~, REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+7, PATIENT+9 , PATIENT+11, PATIENT+13 |
SDBEG | QUERY+1~, QUERY+4*, QUERY+38*, QUERY+44*, QUERY+57*, QUERY+66*, QUERY+86, QUERY+88*, QUERY+98, QUERY+99 , VALID+1*, VALID+2*, VALID+3*, DESDTR+1~, DESDTR+2*, DESDTR+3*, DESDTR+4*, DESDTR+8, REQUEST~, REQUEST+3 , REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
SDC | VALFIL+1~, VALFIL+5*, VALFIL+7*, VALSORT+1~, VALSORT+5*, VALSORT+7* |
SDCNT | REQUEST+1~, REQUEST+2*, REQUEST+3, REQUEST+5, REQUEST+6, REQUEST+7, REQUEST+8, REQUEST+9, REQUEST+10, REQUEST+11 , REQUEST+12, PATIENT+1~, PATIENT+2*, PATIENT+3, PATIENT+7, PATIENT+8, PATIENT+9, PATIENT+10, PATIENT+11, PATIENT+12 , PATIENT+13, PATIENT+14 |
SDECI | QUERY+1~, QUERY+3*, GETNEXT+1~, GETNEXT+5*, GETNEXT+6, GETNEXT+8, GETNEXT+10, GETNEXT+12, GETNEXT+14, GETNEXT+16 , GETNEXT+17*, GETNEXT+21, GETNEXT+24, GETNEXT+25 |
SDECY | VALSD+3, GETNEXT~, GETNEXT+6, GETNEXT+17, GETNEXT+21, GETNEXT+24, GETNEXT+25 |
SDEND | QUERY+4*, QUERY+39*, QUERY+45*, QUERY+58*, QUERY+67*, QUERY+86, QUERY+89*, QUERY+98, QUERY+99, VALID+5* , VALID+6*, VALID+7*, DESDTR+1~, DESDTR+5*, DESDTR+6*, DESDTR+7*, DESDTR+8, REQUEST~, REQUEST+3, REQUEST+5 , REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
SDHDR | QUERY+1~, CALIGN~ |
SDHDR("C" | CALIGN+4, CALIGN+6 |
SDI | QUERY+1~, VALFIL+1~, VALFIL+6*, VALFIL+7, VALSORT+1~, VALSORT+6*, VALSORT+7, IEN+1~, IEN+4*, IEN+5 , CALIGN+1~, CALIGN+3*, CALIGN+4, CALIGN+5 |
SDIC | QUERY+1~, QUERY+3* |
SDIDX | QUERY+1~, GETNEXT+1~, GETNEXT+3*, GETNEXT+6, GETNEXT+8, GETNEXT+10, GETNEXT+12, GETNEXT+14, GETNEXT+16, GETNEXT+17 , GETNEXT+18, GETNEXT+20, GETNEXT+23 |
SDLAST | REQUEST+1~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT+1~, PATIENT+3, PATIENT+7, PATIENT+9 , PATIENT+11, PATIENT+13 |
SDMAX | RMG~, RMG+19*, RMG+33, QUERY~, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+6 , REQUEST+7, REQUEST+8, REQUEST+9, REQUEST+10, REQUEST+11, REQUEST+12, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+8 , PATIENT+9, PATIENT+10, PATIENT+11, PATIENT+12, PATIENT+13, PATIENT+14 |
SDMAX1 | REQUEST+1~, PATIENT+1~ |
SDPOS | CALIGN+1~, CALIGN+4*, CALIGN+5 |
SDRET | QUERY+1~ |
SDSUB | GETNEXT+1~, GETNEXT+4*, GETNEXT+8*, GETNEXT+10*, GETNEXT+12*, GETNEXT+14*, GETNEXT+16*, GETNEXT+18, GETNEXT+19, GETNEXT+20* , GETNEXT+23 |
SDSVC | QUERY+2~, QUERY+4*, QUERY+85*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9 , REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
SDSVC( | QUERY+85* |
SDSVCN | QUERY+2~, QUERY+85* |
SDTMP | GETNEXT+1~, GETNEXT+21*, GETNEXT+22*, GETNEXT+23*, GETNEXT+24 |
SORT | RMG+18~, RMG+31, RMG+33, QUERY~, QUERY+4*, QUERY+9, QUERY+98, QUERY+99, VALSORT~, VALSORT+2! , REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9 , PATIENT+11, PATIENT+13 |
SORT( | VALSORT+7* |
SORT("B" | VALSORT+7* |
SORT("D" | QUERY+13* |
SORT(1 | QUERY+10* |
SORT(2 | QUERY+11* |
SORT(3 | QUERY+12* |
SORTIN | RMG~, RMG+28*, RMG+31, VALSORT~, VALSORT+3*, VALSORT+4, VALSORT+6, VALSORT+7 |
SVCCONNP | QUERY+1~, QUERY+4* |
SVCCONP | QUERY+2~ |
SVCR | QUERY+2~, QUERY+4*, QUERY+82*, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7, REQUEST+9 , REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
TMP | QUERY+2~, QUERY+18*, QUERY+19, QUERY+20, QUERY+23*, QUERY+24, QUERY+25, QUERY+26, QUERY+31*, QUERY+32 , QUERY+33, QUERY+41*, QUERY+42, QUERY+48*, QUERY+49, QUERY+53*, QUERY+54, QUERY+55, QUERY+63*, QUERY+64 , QUERY+69*, QUERY+70, QUERY+78*, QUERY+79, QUERY+81*, QUERY+82, QUERY+84*, QUERY+85, QUERY+87*, QUERY+88 , QUERY+89, QUERY+92*, QUERY+93, VALPRI+1~, VALPRI+4*, VALPRI+5*, VALPRI+6, VALPRI+7 |
TMP1 | QUERY+2~, QUERY+70* |
U | QUERY+17, QUERY+18, QUERY+22, QUERY+23, QUERY+30, QUERY+31, QUERY+40, QUERY+41, QUERY+46, QUERY+47 , QUERY+48, QUERY+52, QUERY+53, QUERY+62, QUERY+63, QUERY+68, QUERY+69, QUERY+73, QUERY+74, QUERY+75 , QUERY+77, QUERY+78, QUERY+80, QUERY+81, QUERY+83, QUERY+84, QUERY+86, QUERY+87, QUERY+91, QUERY+92 , GETMORE+8, GETMORE+9, CALIGN+3, CALIGN+5, CALIGN+6, GETNEXT+23 |
URG | QUERY+2~, QUERY+4*, QUERY+93*, QUERY+94, QUERY+98, QUERY+99, REQUEST~, REQUEST+3, REQUEST+5, REQUEST+7 , REQUEST+9, REQUEST+11, PATIENT~, PATIENT+3, PATIENT+7, PATIENT+9, PATIENT+11, PATIENT+13 |
URG( | QUERY+93* |
X | QUERY+2~, DESDTR+1~, DESDTR+3*, DESDTR+6*, DESDT+1~, DESDT+2*, ORIG+1~, ORIG+2* |
Y | QUERY+2~, DESDTR+1~, DESDTR+3, DESDTR+6, DESDT+1~, DESDT+2, ORIG+1~, ORIG+2 |