SDES2GETCONSULTS ;ALB/BWF,BLB,JAS - SDES2 VISTA SCHEDULING RPCS GET CONSULTS ;APR 16,2024
Source file <SDES2GETCONSULTS.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 | 5 | SDECCONSJSON SDES2GETREQS SDES2GREQSINST SDES2QRYAPREQS SDESGETCONSULTS |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETCONSULTSBYDFN(JSONRETURN,SDCONTEXT,SDINPUT) | ; SDES2 GET CONSULTS BY DFN
|
|
GETCONSULTBYIEN(JSONRETURN,SDCONTEXT,SDINPUT) | ; SDES2 GET CONSULTS BY IEN
|
|
COVIDPRIORITYCHK(CONSULTIEN) | ; pass back the latest entry in the comment multiple containging "covid-19 priority"
|
|
GETSTOPCODES(REQUEST,SERVICEIEN,NUM) | ;
|
|
GETPID(CONSULTIEN) | ;
|
|
CONSCANCELCHECK(CONSULTIEN,DFN) | ;looking for most recent appt linked to this consult and checking if cancelled by patient or clinic
|
|
GETCONSULT(REQUEST,CONSULTIEN,SDDUZ) | ;Build a consult record for every consult
|
Name | Field # of Occurrence |
---|---|
$$PRIORITY^DGENA | GETCONSULT+31 |
$$GET1^DIQ | GETCONSULTSBYDFN+11, COVIDPRIORITYCHK+6, GETSTOPCODES+5, GETSTOPCODES+7, GETSTOPCODES+8, GETSTOPCODES+9, GETPID+8, CONSCANCELCHECK+4, CONSCANCELCHECK+5, CONSCANCELCHECK+6 , CONSCANCELCHECK+7, CONSCANCELCHECK+8, GETCONSULT+36, GETCONSULT+51, GETCONSULT+53, GETCONSULT+54 |
GETS^DIQ | GETCONSULT+2 |
$$FMTISO^SDAMUTDT | GETCONSULT+25, GETCONSULT+27, GETCONSULT+39, GETCONSULT+47, GETCONSULT+48 |
$$PRIO^SDEC51A | GETCONSULT+48 |
GETCONTACTIEN^SDES2CONTACTS | GETCONSULT+7 |
BUILDSDECONTACT^SDES2GETAPPTREQ | GETCONSULT+8 |
APPTREQUEST^SDES2GETREQS | GETCONSULT+68 |
RECALL^SDES2GETREQS | GETCONSULT+69 |
SDECONTACT^SDES2GETREQS | GETCONSULT+9, GETCONSULT+67 |
BUILDJSON^SDES2JSON | GETCONSULTSBYDFN+3, GETCONSULTSBYDFN+5, GETCONSULTSBYDFN+16, GETCONSULTBYIEN+4, GETCONSULTBYIEN+6, GETCONSULTBYIEN+12 |
SENSITIVE^SDES2UTIL | GETCONSULT+63 |
VALCONTEXT^SDES2VALCONTEXT | GETCONSULTSBYDFN+2, GETCONSULTBYIEN+3 |
VALFILEIEN^SDES2VALUTIL | GETCONSULTSBYDFN+4, GETCONSULTBYIEN+5 |
$$GETCONTIEN^SDESCONTACTS | GETCONSULT+66 |
$$GETPATICN^SDESINPUTVALUTL | GETCONSULT+34 |
$$LAST4SSN^SDESINPUTVALUTL | GETCONSULT+55 |
RPC Name | Call Tags |
---|---|
SDES2 GET CONSULTS BY DFN | GETCONSULTSBYDFN |
SDES2 GET CONSULT BY IEN | GETCONSULTBYIEN |
FileNo | Call Tags |
---|---|
^GMR(123 - [#123] | GET1^DIQ, GETS^DIQ |
123.5688 | GET1^DIQ |
^DPT - [#2] | GET1^DIQ |
2.98 | GET1^DIQ |
^VA(200 - [#200] | GET1^DIQ |
^DIC(40.7 - [#40.7] | GET1^DIQ |
^SDEC(409.84 - [#409.84] | GET1^DIQ |
409.871 | GET1^DIQ |
^SC - [#44] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^GMR(123 - [#123] | GETCONSULTSBYDFN+10, COVIDPRIORITYCHK+3, COVIDPRIORITYCHK+5 |
^GMR(123.5 - [#123.5] | GETSTOPCODES+3 |
^SDEC(409.84 - [#409.84] | CONSCANCELCHECK+3 |
^SDEC(409.87 - [#409.87] | GETPID+3, GETPID+6, GETCONSULT+23, GETCONSULT+26 |
Name | Line Occurrences |
---|---|
$$CONSCANCELCHECK | GETCONSULT+57 |
$$COVIDPRIORITYCHK | GETCONSULT+46 |
$$GETPID | GETCONSULT+24 |
GETCONSULT | GETCONSULTSBYDFN+14, GETCONSULTBYIEN+9 |
GETSTOPCODES | GETCONSULT+13 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTIEN | CONSCANCELCHECK+1~, CONSCANCELCHECK+2*, CONSCANCELCHECK+3*, CONSCANCELCHECK+4, CONSCANCELCHECK+5, CONSCANCELCHECK+6, CONSCANCELCHECK+7, CONSCANCELCHECK+8 |
CANCHANGE | CONSCANCELCHECK+1~, CONSCANCELCHECK+2*, CONSCANCELCHECK+5*, CONSCANCELCHECK+6*, CONSCANCELCHECK+9*, CONSCANCELCHECK+10 |
CANCHANGEPID | GETCONSULT+1~ |
CHIEN | GETPID+1~, GETPID+3*, GETPID+5, GETPID+6, GETPID+8 |
CHSIEN | GETPID+1~, GETPID+6*, GETPID+7, GETPID+8 |
CLINICIEN | GETCONSULT+1~, GETCONSULT+17*, GETCONSULT+19, GETCONSULT+20*, GETCONSULT+41, GETCONSULT+53 |
CLINICNAME | GETCONSULT+1~, GETCONSULT+18*, GETCONSULT+21*, GETCONSULT+42 |
CONDATA | GETCONSULT+1~ |
CONDATA(123 | GETCONSULT+11, GETCONSULT+17, GETCONSULT+18, GETCONSULT+20, GETCONSULT+21, GETCONSULT+27, GETCONSULT+29, GETCONSULT+30, GETCONSULT+35, GETCONSULT+38 , GETCONSULT+39, GETCONSULT+40, GETCONSULT+43, GETCONSULT+44, GETCONSULT+47, GETCONSULT+49, GETCONSULT+50, GETCONSULT+52 |
CONSERR | GETCONSULT+1~ |
CONSULTIEN | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+9*, GETCONSULTSBYDFN+10*, GETCONSULTSBYDFN+11, GETCONSULTSBYDFN+14, COVIDPRIORITYCHK~, COVIDPRIORITYCHK+3, COVIDPRIORITYCHK+5, COVIDPRIORITYCHK+6, GETPID~ , GETPID+3, CONSCANCELCHECK~, CONSCANCELCHECK+4, GETCONSULT~, GETCONSULT+2, GETCONSULT+7, GETCONSULT+8, GETCONSULT+11, GETCONSULT+17, GETCONSULT+18 , GETCONSULT+20, GETCONSULT+21, GETCONSULT+23, GETCONSULT+24, GETCONSULT+26, GETCONSULT+27, GETCONSULT+29, GETCONSULT+30, GETCONSULT+35, GETCONSULT+37 , GETCONSULT+38, GETCONSULT+39, GETCONSULT+40, GETCONSULT+43, GETCONSULT+44, GETCONSULT+46, GETCONSULT+47, GETCONSULT+48, GETCONSULT+49, GETCONSULT+50 , GETCONSULT+52, GETCONSULT+54, GETCONSULT+57, GETCONSULT+66 |
CONTACTIEN | GETCONSULT+1~, GETCONSULT+7, GETCONSULT+9 |
COUNT | GETSTOPCODES+1~, GETSTOPCODES+2*, GETSTOPCODES+4*, GETSTOPCODES+6, GETSTOPCODES+7, GETSTOPCODES+8, GETSTOPCODES+9 |
COVIDCOMMENT | COVIDPRIORITYCHK+1~, COVIDPRIORITYCHK+2*, COVIDPRIORITYCHK+6*, COVIDPRIORITYCHK+7, COVIDPRIORITYCHK+8*, COVIDPRIORITYCHK+10 |
CPRSSTATUS | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+11*, GETCONSULTSBYDFN+12 |
DFN | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+8*, GETCONSULTSBYDFN+10, CONSCANCELCHECK~, CONSCANCELCHECK+3, GETCONSULT+1~, GETCONSULT+30*, GETCONSULT+31, GETCONSULT+33, GETCONSULT+34 , GETCONSULT+36, GETCONSULT+55, GETCONSULT+57, GETCONSULT+63 |
DUZ | GETCONSULTSBYDFN+7, GETCONSULTBYIEN+8, GETCONSULT+5 |
ERRORS | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+2, GETCONSULTSBYDFN+3, GETCONSULTSBYDFN+4, GETCONSULTSBYDFN+5, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+3, GETCONSULTBYIEN+4, GETCONSULTBYIEN+5, GETCONSULTBYIEN+6 , GETCONSULT+1~, GETCONSULT+66 |
ERRORS("Request" | GETCONSULTSBYDFN+3*, GETCONSULTSBYDFN+5*, GETCONSULTBYIEN+4*, GETCONSULTBYIEN+6* |
FOUND | COVIDPRIORITYCHK+1~, COVIDPRIORITYCHK+2*, COVIDPRIORITYCHK+3, COVIDPRIORITYCHK+9*, CONSCANCELCHECK+1~, CONSCANCELCHECK+2*, CONSCANCELCHECK+3, CONSCANCELCHECK+4* |
IENS | CONSCANCELCHECK+1~ |
IFCROLE | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+11*, GETCONSULTSBYDFN+13 |
JSONRETURN | GETCONSULTSBYDFN~, GETCONSULTSBYDFN+3, GETCONSULTSBYDFN+5, GETCONSULTSBYDFN+16, GETCONSULTBYIEN~, GETCONSULTBYIEN+4, GETCONSULTBYIEN+6, GETCONSULTBYIEN+12 |
NUM | GETSTOPCODES~, GETSTOPCODES+6, GETSTOPCODES+7, GETSTOPCODES+8, GETSTOPCODES+9, GETCONSULT+1~, GETCONSULT+3*, GETCONSULT+4, GETCONSULT+8, GETCONSULT+9 , GETCONSULT+13, GETCONSULT+15, GETCONSULT+25, GETCONSULT+27, GETCONSULT+32, GETCONSULT+33, GETCONSULT+34, GETCONSULT+35, GETCONSULT+36, GETCONSULT+37 , GETCONSULT+38, GETCONSULT+39, GETCONSULT+40, GETCONSULT+41, GETCONSULT+42, GETCONSULT+43, GETCONSULT+44, GETCONSULT+45, GETCONSULT+46, GETCONSULT+47 , GETCONSULT+48, GETCONSULT+49, GETCONSULT+50, GETCONSULT+51, GETCONSULT+52, GETCONSULT+53, GETCONSULT+54, GETCONSULT+55, GETCONSULT+56, GETCONSULT+57 , GETCONSULT+58, GETCONSULT+59, GETCONSULT+60, GETCONSULT+61, GETCONSULT+64, GETCONSULT+67, GETCONSULT+68, GETCONSULT+69 |
OLDESTPID | GETPID+1~, GETPID+8*, GETPID+9 |
PID | GETCONSULT+1~, GETCONSULT+24*, GETCONSULT+25 |
PRIOGROUP | GETCONSULT+1~, GETCONSULT+31*, GETCONSULT+45 |
PROVIDERIEN | GETCONSULT+1~, GETCONSULT+29*, GETCONSULT+51 |
REQUEST | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+14, GETCONSULTSBYDFN+15, GETCONSULTSBYDFN+16, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+9, GETCONSULTBYIEN+10, GETCONSULTBYIEN+12, GETSTOPCODES~, GETCONSULT~ , GETCONSULT+8, GETCONSULT+9, GETCONSULT+13, GETCONSULT+67, GETCONSULT+68, GETCONSULT+69 |
REQUEST("Request" | GETCONSULTSBYDFN+15*, GETCONSULTBYIEN+10*, GETSTOPCODES+6*, GETSTOPCODES+7*, GETSTOPCODES+8*, GETSTOPCODES+9*, GETCONSULT+3, GETCONSULT+4*, GETCONSULT+15*, GETCONSULT+25* , GETCONSULT+27*, GETCONSULT+32*, GETCONSULT+33*, GETCONSULT+34*, GETCONSULT+35*, GETCONSULT+36*, GETCONSULT+37*, GETCONSULT+38*, GETCONSULT+39*, GETCONSULT+40* , GETCONSULT+41*, GETCONSULT+42*, GETCONSULT+43*, GETCONSULT+44*, GETCONSULT+45*, GETCONSULT+46*, GETCONSULT+47*, GETCONSULT+48*, GETCONSULT+49*, GETCONSULT+50* , GETCONSULT+51*, GETCONSULT+52*, GETCONSULT+53*, GETCONSULT+54*, GETCONSULT+55*, GETCONSULT+56*, GETCONSULT+57*, GETCONSULT+58*, GETCONSULT+59*, GETCONSULT+60* , GETCONSULT+61*, GETCONSULT+64* |
SDCONTEXT | GETCONSULTSBYDFN~, GETCONSULTSBYDFN+2, GETCONSULTBYIEN~, GETCONSULTBYIEN+3 |
SDCONTEXT("US | ER DUZ" , GETCONSULTSBYDFN+7, GETCONSULTBYIEN+8 |
SDDUZ | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+7*, GETCONSULTSBYDFN+14, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+8*, GETCONSULTBYIEN+9, GETCONSULT~, GETCONSULT+5*, GETCONSULT+63 |
SDINPUT | GETCONSULTSBYDFN~, GETCONSULTBYIEN~ |
SDINPUT("CONS | ULT IEN" , GETCONSULTBYIEN+5, GETCONSULTBYIEN+9 |
SDINPUT("PATI | ENT IEN" , GETCONSULTSBYDFN+4, GETCONSULTSBYDFN+8 |
SENSITIVE | GETCONSULT+1~, GETCONSULT+63 |
SENSITIVE(1 | GETCONSULT+64 |
SERVICEIEN | GETSTOPCODES~, GETSTOPCODES+3, GETSTOPCODES+5, GETCONSULT+1~, GETCONSULT+11*, GETCONSULT+12, GETCONSULT+13, GETCONSULT+14 |
STOPCODE | GETSTOPCODES+1~, GETSTOPCODES+5*, GETSTOPCODES+6, GETSTOPCODES+7, GETSTOPCODES+8, GETSTOPCODES+9 |
SUBIEN | COVIDPRIORITYCHK+1~, COVIDPRIORITYCHK+2*, COVIDPRIORITYCHK+3*, COVIDPRIORITYCHK+5, COVIDPRIORITYCHK+6, GETSTOPCODES+1~, GETSTOPCODES+2*, GETSTOPCODES+3*, GETSTOPCODES+5 |
SUBIEN2 | COVIDPRIORITYCHK+1~, COVIDPRIORITYCHK+4*, COVIDPRIORITYCHK+5*, COVIDPRIORITYCHK+6 |
VRET | GETCONSULTSBYDFN+4, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+5 |