SDESGETCONSULTS ;ALB/BLB,MGD,RRM,BWF,CGP,BLB,ANU,LAB,BLB - VISTA SCHEDULING RPCS GET CONSULTS ;DEC 01,2023
Source file <SDESGETCONSULTS.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 | 3 | SDES SDESGETAREQINST2 SDESGETREQWRAPPR |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETCONSULTSBYDFN(JSONRETURN,DFN,EAS) | ; SDES GET CONSULTS BY DFN
|
|
GETCONSULTBYIEN(JSONRETURN,CONSULTIEN,EAS) | ; SDES GET CONSULTS BY IEN
|
|
VALIDATEDFN(ERRORS,DFN) | ;
|
|
VALIDATECONIEN(ERRORS,CONSULTIEN) | ;
|
|
VALIDATEEAS(ERRORS,EAS) | ;
|
|
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) | ;Build a consult record for every consult
|
|
BUILDJSON(JSONRETURN,RETURN) | ;
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | GETCONSULTSBYDFN+9, COVIDPRIORITYCHK+6, GETSTOPCODES+5, GETSTOPCODES+7, GETSTOPCODES+8, GETSTOPCODES+9, GETPID+4, CONSCANCELCHECK+4, CONSCANCELCHECK+5, CONSCANCELCHECK+6 , GETCONSULT+48, GETCONSULT+50, GETCONSULT+51 |
GETS^DIQ | GETCONSULT+2 |
$$FMTISO^SDAMUTDT | GETCONSULT+24, GETCONSULT+26, GETCONSULT+37, GETCONSULT+44, GETCONSULT+45 |
$$PRIO^SDEC51A | GETCONSULT+45 |
$$CONSCANCELCHECK^SDES2GETCONSULTS | GETCONSULT+52 |
$$GETCONTIEN^SDESCONTACTS | GETCONSULT+55 |
BUILDSDECONTACT^SDESGETAPPTREQ | GETCONSULT+8 |
APPTREQUEST^SDESGETREQWRAPPR | GETCONSULT+57 |
RECALL^SDESGETREQWRAPPR | GETCONSULT+58 |
SDECONTACT^SDESGETREQWRAPPR | GETCONSULT+56 |
$$GETPATICN^SDESINPUTVALUTL | GETCONSULT+33 |
$$LAST4SSN^SDESINPUTVALUTL | GETCONSULT+53 |
ERRLOG^SDESJSON | VALIDATEDFN+1, VALIDATEDFN+2, VALIDATECONIEN+1, VALIDATECONIEN+2, VALIDATEEAS+2 |
$$EASVALIDATE^SDESUTIL | VALIDATEEAS+1 |
ENCODE^XLFJSON | BUILDJSON+1 |
RPC Name | Call Tags |
---|---|
SDES GET CONSULTS BY IEN | GETCONSULTBYIEN |
SDES GET CONSULTS BY DFN | GETCONSULTSBYDFN |
FileNo | Call Tags |
---|---|
^GMR(123 - [#123] | GET1^DIQ, GETS^DIQ |
123.5688 | 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) |
---|---|
^DPT - [#2] | VALIDATEDFN+2 |
^GMR(123 - [#123] | GETCONSULTSBYDFN+8, VALIDATECONIEN+2, COVIDPRIORITYCHK+3, COVIDPRIORITYCHK+5 |
^GMR(123.5 - [#123.5] | GETSTOPCODES+3 |
^SDEC(409.84 - [#409.84] | CONSCANCELCHECK+3 |
^SDEC(409.87 - [#409.87] | GETPID+2, GETPID+3, GETCONSULT+22, GETCONSULT+25 |
Name | Line Occurrences |
---|---|
$$COVIDPRIORITYCHK | GETCONSULT+43 |
$$GETPID | GETCONSULT+23 |
$$VALIDATECONIEN | GETCONSULTBYIEN+3 |
$$VALIDATEDFN | GETCONSULTSBYDFN+3 |
$$VALIDATEEAS | GETCONSULTSBYDFN+4, GETCONSULTBYIEN+4 |
BUILDJSON | GETCONSULTSBYDFN+5, GETCONSULTSBYDFN+16, GETCONSULTBYIEN+12 |
GETCONSULT | GETCONSULTSBYDFN+12, GETCONSULTBYIEN+8 |
GETSTOPCODES | GETCONSULT+12 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTIEN | CONSCANCELCHECK+1~, CONSCANCELCHECK+2*, CONSCANCELCHECK+3*, CONSCANCELCHECK+4, CONSCANCELCHECK+5, CONSCANCELCHECK+6 |
CANCHANGE | CONSCANCELCHECK+1~, CONSCANCELCHECK+2*, CONSCANCELCHECK+5*, CONSCANCELCHECK+6*, CONSCANCELCHECK+7 |
CANCHANGEPID | GETCONSULT+1~ |
CHIEN | GETPID+1~, GETPID+2*, GETPID+3, GETPID+4 |
CHSIEN | GETPID+1~, GETPID+3*, GETPID+4 |
CLINICIEN | GETCONSULT+1~, GETCONSULT+16*, GETCONSULT+18, GETCONSULT+19*, GETCONSULT+39, GETCONSULT+50 |
CLINICNAME | GETCONSULT+1~, GETCONSULT+17*, GETCONSULT+20*, GETCONSULT+40 |
CONDATA | GETCONSULT+1~ |
CONDATA(123 | GETCONSULT+10, GETCONSULT+16, GETCONSULT+17, GETCONSULT+19, GETCONSULT+20, GETCONSULT+26, GETCONSULT+28, GETCONSULT+30, GETCONSULT+34, GETCONSULT+36 , GETCONSULT+37, GETCONSULT+38, GETCONSULT+41, GETCONSULT+42, GETCONSULT+44, GETCONSULT+46, GETCONSULT+47, GETCONSULT+49 |
CONSERR | GETCONSULT+1~ |
CONSULTIEN | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+7*, GETCONSULTSBYDFN+8*, GETCONSULTSBYDFN+9, GETCONSULTSBYDFN+12, GETCONSULTBYIEN~, GETCONSULTBYIEN+3, GETCONSULTBYIEN+8, VALIDATECONIEN~, VALIDATECONIEN+1 , VALIDATECONIEN+2, COVIDPRIORITYCHK~, COVIDPRIORITYCHK+3, COVIDPRIORITYCHK+5, COVIDPRIORITYCHK+6, GETPID~, GETPID+2, CONSCANCELCHECK~, CONSCANCELCHECK+4, GETCONSULT~ , GETCONSULT+2, GETCONSULT+8, GETCONSULT+10, GETCONSULT+16, GETCONSULT+17, GETCONSULT+19, GETCONSULT+20, GETCONSULT+22, GETCONSULT+23, GETCONSULT+25 , GETCONSULT+26, GETCONSULT+28, GETCONSULT+30, GETCONSULT+34, GETCONSULT+35, GETCONSULT+36, GETCONSULT+37, GETCONSULT+38, GETCONSULT+41, GETCONSULT+42 , GETCONSULT+43, GETCONSULT+44, GETCONSULT+45, GETCONSULT+46, GETCONSULT+47, GETCONSULT+49, GETCONSULT+51, GETCONSULT+52, GETCONSULT+55 |
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+9*, GETCONSULTSBYDFN+10 |
DFN | GETCONSULTSBYDFN~, GETCONSULTSBYDFN+3, GETCONSULTSBYDFN+8, VALIDATEDFN~, VALIDATEDFN+1, VALIDATEDFN+2, CONSCANCELCHECK~, CONSCANCELCHECK+3, GETCONSULT+30*, GETCONSULT+32 , GETCONSULT+33, GETCONSULT+52, GETCONSULT+53 |
EAS | GETCONSULTSBYDFN~, GETCONSULTSBYDFN+4, GETCONSULTBYIEN~, GETCONSULTBYIEN+4, VALIDATEEAS~, VALIDATEEAS+1*, VALIDATEEAS+2 |
ERRORS | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+3, GETCONSULTSBYDFN+4, GETCONSULTSBYDFN+5, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+3, GETCONSULTBYIEN+4, GETCONSULTBYIEN+5, GETCONSULTBYIEN+7, VALIDATEDFN~ , VALIDATEDFN+1, VALIDATEDFN+2, VALIDATECONIEN~, VALIDATECONIEN+1, VALIDATECONIEN+2, VALIDATEEAS~, VALIDATEEAS+2, GETCONSULT+1~, GETCONSULT+55 |
ERRORS("Request" | GETCONSULTSBYDFN+5*, GETCONSULTBYIEN+5* |
FOUND | COVIDPRIORITYCHK+1~, COVIDPRIORITYCHK+2*, COVIDPRIORITYCHK+3, COVIDPRIORITYCHK+9*, CONSCANCELCHECK+1~, CONSCANCELCHECK+2*, CONSCANCELCHECK+3, CONSCANCELCHECK+4* |
IFCROLE | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+9*, GETCONSULTSBYDFN+11 |
ISCONSIENVALID | GETCONSULTBYIEN+1~, GETCONSULTBYIEN+3* |
ISDFNVALID | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+3* |
ISEASVALID | GETCONSULTSBYDFN+4*, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+4* |
JSONRETURN | GETCONSULTSBYDFN~, GETCONSULTSBYDFN+5, GETCONSULTSBYDFN+16, GETCONSULTBYIEN~, GETCONSULTBYIEN+12, BUILDJSON~ |
NUM | GETSTOPCODES~, GETSTOPCODES+6, GETSTOPCODES+7, GETSTOPCODES+8, GETSTOPCODES+9, GETCONSULT+1~, GETCONSULT+3*, GETCONSULT+4, GETCONSULT+8, GETCONSULT+12 , GETCONSULT+14, GETCONSULT+24, GETCONSULT+26, GETCONSULT+31, 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+56, GETCONSULT+57, GETCONSULT+58 |
OLDESTPID | GETPID+1~, GETPID+4*, GETPID+5 |
PID | GETCONSULT+1~, GETCONSULT+23*, GETCONSULT+24 |
PROVIDERIEN | GETCONSULT+1~, GETCONSULT+28*, GETCONSULT+48 |
REQUEST | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+12, GETCONSULTSBYDFN+13, GETCONSULTSBYDFN+14, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+8, GETCONSULTBYIEN+9, GETCONSULTBYIEN+10, GETSTOPCODES~, GETCONSULT~ , GETCONSULT+8, GETCONSULT+12, GETCONSULT+56, GETCONSULT+57, GETCONSULT+58 |
REQUEST("Request" | GETCONSULTSBYDFN+13*, GETCONSULTBYIEN+9*, GETSTOPCODES+6*, GETSTOPCODES+7*, GETSTOPCODES+8*, GETSTOPCODES+9*, GETCONSULT+3, GETCONSULT+4*, GETCONSULT+14*, GETCONSULT+24* , GETCONSULT+26*, GETCONSULT+31*, 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* |
RETURN | GETCONSULTSBYDFN+1~, GETCONSULTSBYDFN+5*, GETCONSULTSBYDFN+14*, GETCONSULTSBYDFN+16, GETCONSULTBYIEN+1~, GETCONSULTBYIEN+5*, GETCONSULTBYIEN+10*, GETCONSULTBYIEN+12, BUILDJSON~ |
SERVICEIEN | GETSTOPCODES~, GETSTOPCODES+3, GETSTOPCODES+5, GETCONSULT+1~, GETCONSULT+10*, GETCONSULT+11, GETCONSULT+12, GETCONSULT+13 |
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 |
U | VALIDATEEAS+2 |