Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDES2GETAPPTRPCS

Package: Scheduling

Routine: SDES2GETAPPTRPCS


Information

SDES2GETAPPTRPCS ;ALB/LAB,JAS,LAB - VISTA SCHEDULING RPCS TO GET APPOINTMENTS ;MAY 15,2024

Source Information

Source file <SDES2GETAPPTRPCS.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 8 ($$FMTISO,$$ISOTFM)^SDAMUTDT  BUILDAPPTOBJ^SDES2BLDAPPTOBJ  (BUILDJSON,ERRLOG)^SDES2JSON  $$GETRES^SDES2UTIL1  VALCONTEXT^SDES2VALCONTEXT  $$VALISODTTM^SDES2VALISODTTM  VALFILEIEN^SDES2VALUTIL  ERRLOG^SDESJSON  
Kernel 1 ($$FMADD,$$NOW)^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
BYAPPTIEN(RESULT,SDCONTEXT,APPTPARAMS) ;SDES2 GET APPT BY APPT IEN
APPTSBYIENLIST(RESULT,SDCONTEXT,SDPARAM) ;SDES2 GET APPTS BY APPT IENS
BYCLINICLIST(RESULT,SDCONTEXT,APPTPARAMS) ;SDES2 GET APPTS BY CLINIC LIST
BYCLINIEN(RESULT,SDCONTEXT,APPTPARAMS) ;SDES2 GET APPTS BY CLINIC IEN
BYPATDFN(RESULT,SDCONTEXT,APPTPARAMS) ;SDES2 GET APPTS BY PATIENT DFN
BYCLINRESOURCE(RESULT,SDCONTEXT,APPTPARAMS) ;SDES2 GET APPTS BY CLN RES IEN
VALIDATEBYIEN(ERRORS,APPTPARAMS) ;
; Validate APPT IEN
VALIDATEBYIENS(ERRORS,APPTIEN,VALFLAG) ;
VALIDATEBYCLIN(ERRORS,APPTPARAMS,SDBEGDATE,SDENDDATE) ;
; Validate Clinic IEN
VALIDATEDATES(ERRORS,CLINICIEN,APPTPARAMS,SDBEGDATE,SDENDDATE,VALFLAG) ;
VALIDATEBYRES(ERRORS,APPTPARAMS,SDBEGDATE,SDENDDATE) ;
; Validate Clinic IEN
VALIDATEBYDFN(ERRORS,APPTPARAMS,SDBEGDATE,SDENDDATE) ;

External References

Name Field # of Occurrence
$$FMTISO^SDAMUTDT BYCLINICLIST+7
$$ISOTFM^SDAMUTDT BYCLINICLIST+20
BUILDAPPTOBJ^SDES2BLDAPPTOBJ BYAPPTIEN+7, APPTSBYIENLIST+14, BYCLINICLIST+31, BYCLINIEN+17, BYPATDFN+13, BYCLINRESOURCE+14
BUILDJSON^SDES2JSON BYAPPTIEN+3, BYAPPTIEN+5, BYAPPTIEN+8, BYAPPTIEN+9, APPTSBYIENLIST+3, APPTSBYIENLIST+15, APPTSBYIENLIST+16, BYCLINICLIST+4, BYCLINICLIST+6, BYCLINICLIST+32
, BYCLINICLIST+34, BYCLINIEN+3, BYCLINIEN+5, BYCLINIEN+8, BYCLINIEN+18, BYCLINIEN+20, BYPATDFN+3, BYPATDFN+5, BYPATDFN+14, BYPATDFN+16
, BYCLINRESOURCE+3, BYCLINRESOURCE+5, BYCLINRESOURCE+15, BYCLINRESOURCE+17
ERRLOG^SDES2JSON BYCLINICLIST+24, BYCLINIEN+7
$$GETRES^SDES2UTIL1 BYCLINICLIST+23, BYCLINIEN+6
VALCONTEXT^SDES2VALCONTEXT BYAPPTIEN+2, APPTSBYIENLIST+2, BYCLINICLIST+3, BYCLINIEN+2, BYPATDFN+2, BYCLINRESOURCE+2
$$VALISODTTM^SDES2VALISODTTM VALIDATEBYCLIN+3, VALIDATEBYCLIN+4, VALIDATEDATES+1, VALIDATEDATES+2, VALIDATEBYRES+3, VALIDATEBYRES+4, VALIDATEBYDFN+2, VALIDATEBYDFN+3
VALFILEIEN^SDES2VALUTIL BYCLINICLIST+17, VALIDATEBYIEN+2, VALIDATEBYIENS+2, VALIDATEBYCLIN+2, VALIDATEBYRES+2, VALIDATEBYDFN+1
ERRLOG^SDESJSON APPTSBYIENLIST+10, BYCLINICLIST+14, VALIDATEBYCLIN+6, VALIDATEDATES+5, VALIDATEBYRES+5
$$FMADD^XLFDT BYCLINICLIST+21, BYCLINICLIST+22
$$NOW^XLFDT BYCLINICLIST+7

Used in RPC

RPC Name Call Tags
SDES2 GET APPT BY APPT IEN BYAPPTIEN
SDES2 GET APPTS BY CLINIC IEN BYCLINIEN
SDES2 GET APPTS BY PATIENT DFN BYPATDFN
SDES2 GET APPTS BY APPT IENS APPTSBYIENLIST
SDES2 GET APPTS BY CLN RES IEN BYCLINRESOURCE
SDES2 GET APPTS BY CLINIC LIST BYCLINICLIST

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SDEC(409.84 - [#409.84] BYCLINICLIST+27, BYCLINICLIST+29, BYCLINIEN+13, BYCLINIEN+15, BYPATDFN+9, BYPATDFN+11, BYCLINRESOURCE+10, BYCLINRESOURCE+12

Label References

Name Line Occurrences
VALIDATEBYCLIN BYCLINIEN+4
VALIDATEBYDFN BYPATDFN+4
VALIDATEBYIEN BYAPPTIEN+4
VALIDATEBYIENS APPTSBYIENLIST+13
VALIDATEBYRES BYCLINRESOURCE+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTDATE BYCLINICLIST+1~, BYCLINICLIST+26*, BYCLINICLIST+27*, BYCLINICLIST+29, BYCLINIEN+1~, BYCLINIEN+11*, BYCLINIEN+13*, BYCLINIEN+15, BYPATDFN+1~, BYPATDFN+7*
, BYPATDFN+9*, BYPATDFN+11, BYCLINRESOURCE+1~, BYCLINRESOURCE+8*, BYCLINRESOURCE+10*, BYCLINRESOURCE+12
APPTIEN APPTSBYIENLIST+1~, APPTSBYIENLIST+6*, APPTSBYIENLIST+7*, APPTSBYIENLIST+13, APPTSBYIENLIST+14, BYCLINICLIST+1~, BYCLINICLIST+28*, BYCLINICLIST+29*, BYCLINICLIST+31, BYCLINIEN+1~
, BYCLINIEN+14*, BYCLINIEN+15*, BYCLINIEN+17, BYPATDFN+1~, BYPATDFN+10*, BYPATDFN+11*, BYPATDFN+13, BYCLINRESOURCE+1~, BYCLINRESOURCE+11*, BYCLINRESOURCE+12*
, BYCLINRESOURCE+14, VALIDATEBYIENS~, VALIDATEBYIENS+2
APPTOBJ BYAPPTIEN+1~, BYAPPTIEN+7, BYAPPTIEN+8, BYAPPTIEN+9, APPTSBYIENLIST+1~, APPTSBYIENLIST+14, APPTSBYIENLIST+15, APPTSBYIENLIST+16, BYCLINICLIST+1~, BYCLINICLIST+31
, BYCLINICLIST+32, BYCLINICLIST+33, BYCLINICLIST+34, BYCLINIEN+1~, BYCLINIEN+17, BYCLINIEN+18, BYCLINIEN+19, BYCLINIEN+20, BYPATDFN+1~, BYPATDFN+13
, BYPATDFN+14, BYPATDFN+15, BYPATDFN+16, BYCLINRESOURCE+1~, BYCLINRESOURCE+14, BYCLINRESOURCE+15, BYCLINRESOURCE+16, BYCLINRESOURCE+17
APPTOBJ("Appointment" BYCLINICLIST+33*, BYCLINIEN+19*, BYPATDFN+15*, BYCLINRESOURCE+16*
APPTPARAMS BYAPPTIEN~, BYAPPTIEN+4, BYCLINICLIST~, BYCLINIEN~, BYCLINIEN+4, BYPATDFN~, BYPATDFN+4, BYCLINRESOURCE~, BYCLINRESOURCE+4, VALIDATEBYIEN~
, VALIDATEBYCLIN~, VALIDATEDATES~, VALIDATEBYRES~, VALIDATEBYDFN~
APPTPARAMS("A PPOINTMENT IEN" , BYAPPTIEN+7, VALIDATEBYIEN+2
APPTPARAMS("BeginDateTime" VALIDATEBYCLIN+3, VALIDATEDATES+1, VALIDATEBYRES+3, VALIDATEBYDFN+2
APPTPARAMS("ClinicIEN" BYCLINICLIST+11, BYCLINIEN+6, VALIDATEBYCLIN+2, VALIDATEBYCLIN+3, VALIDATEBYCLIN+4, VALIDATEBYRES+3, VALIDATEBYRES+4
APPTPARAMS("DFN" BYPATDFN+9, BYPATDFN+11, VALIDATEBYDFN+1
APPTPARAMS("EndDateTime" VALIDATEBYCLIN+4, VALIDATEDATES+2, VALIDATEBYRES+4, VALIDATEBYDFN+3
APPTPARAMS("ResourceIEN" BYCLINRESOURCE+10, BYCLINRESOURCE+12, VALIDATEBYRES+2
CLINICCNT BYCLINICLIST+1~, BYCLINICLIST+8*, BYCLINICLIST+11, BYCLINICLIST+12*, BYCLINICLIST+13, BYCLINICLIST+15
CLINICIEN BYCLINICLIST+1~, BYCLINICLIST+9*, BYCLINICLIST+11*, BYCLINICLIST+17, BYCLINICLIST+20, BYCLINICLIST+23, VALIDATEDATES~, VALIDATEDATES+1, VALIDATEDATES+2
CLINTODAY BYCLINICLIST+2~, BYCLINICLIST+20*, BYCLINICLIST+21, BYCLINICLIST+22
DUZ BYAPPTIEN+6, APPTSBYIENLIST+4, BYCLINICLIST+5, BYCLINIEN+10, BYPATDFN+6, BYCLINRESOURCE+7
ERRORS BYAPPTIEN+1~, BYAPPTIEN+2, BYAPPTIEN+3, BYAPPTIEN+4, BYAPPTIEN+5, BYAPPTIEN+7, BYAPPTIEN+8*, APPTSBYIENLIST+1~, APPTSBYIENLIST+2, APPTSBYIENLIST+3
, APPTSBYIENLIST+10, APPTSBYIENLIST+13, APPTSBYIENLIST+14, APPTSBYIENLIST+15*, BYCLINICLIST+1~, BYCLINICLIST+3, BYCLINICLIST+4, BYCLINICLIST+6, BYCLINICLIST+14, BYCLINICLIST+17
, BYCLINICLIST+24, BYCLINICLIST+31, BYCLINICLIST+32*, BYCLINIEN+1~, BYCLINIEN+2, BYCLINIEN+3, BYCLINIEN+4, BYCLINIEN+5, BYCLINIEN+7, BYCLINIEN+8
, BYCLINIEN+17, BYCLINIEN+18*, BYPATDFN+1~, BYPATDFN+2, BYPATDFN+3, BYPATDFN+4, BYPATDFN+5, BYPATDFN+13, BYPATDFN+14*, BYCLINRESOURCE+1~
, BYCLINRESOURCE+2, BYCLINRESOURCE+3, BYCLINRESOURCE+4, BYCLINRESOURCE+5, BYCLINRESOURCE+14, BYCLINRESOURCE+15*, VALIDATEBYIEN~, VALIDATEBYIEN+2, VALIDATEBYIENS~, VALIDATEBYIENS+2
, VALIDATEBYCLIN~, VALIDATEBYCLIN+2, VALIDATEBYCLIN+3, VALIDATEBYCLIN+4, VALIDATEBYCLIN+6, VALIDATEDATES~, VALIDATEDATES+1, VALIDATEDATES+2, VALIDATEDATES+5, VALIDATEBYRES~
, VALIDATEBYRES+2, VALIDATEBYRES+3, VALIDATEBYRES+4, VALIDATEBYRES+5, VALIDATEBYDFN~, VALIDATEBYDFN+1, VALIDATEBYDFN+2, VALIDATEBYDFN+3
ERRORS("Appointment" BYAPPTIEN+3*, BYAPPTIEN+5*, APPTSBYIENLIST+3*, BYCLINICLIST+4*, BYCLINICLIST+6*, BYCLINIEN+3*, BYCLINIEN+5*, BYCLINIEN+8*, BYPATDFN+3*, BYPATDFN+5*
, BYCLINRESOURCE+3*, BYCLINRESOURCE+5*, BYCLINRESOURCE+15*
RECCNT APPTSBYIENLIST+1~, APPTSBYIENLIST+5*, APPTSBYIENLIST+7, APPTSBYIENLIST+8*, APPTSBYIENLIST+9, APPTSBYIENLIST+11, APPTSBYIENLIST+14, BYCLINICLIST+1~, BYCLINICLIST+10*, BYCLINICLIST+30*
, BYCLINICLIST+31, BYCLINIEN+1~, BYCLINIEN+12*, BYCLINIEN+16*, BYCLINIEN+17, BYPATDFN+1~, BYPATDFN+8*, BYPATDFN+12*, BYPATDFN+13, BYCLINRESOURCE+1~
, BYCLINRESOURCE+9*, BYCLINRESOURCE+13*, BYCLINRESOURCE+14
RESOURCEIEN BYCLINICLIST+1~, BYCLINICLIST+23*, BYCLINICLIST+24, BYCLINICLIST+27, BYCLINICLIST+29, BYCLINIEN+1~, BYCLINIEN+6*, BYCLINIEN+7, BYCLINIEN+13, BYCLINIEN+15
RESULT BYAPPTIEN~, BYAPPTIEN+3, BYAPPTIEN+5, BYAPPTIEN+8, BYAPPTIEN+9, APPTSBYIENLIST~, APPTSBYIENLIST+3, APPTSBYIENLIST+15, APPTSBYIENLIST+16, BYCLINICLIST~
, BYCLINICLIST+4, BYCLINICLIST+6, BYCLINICLIST+32, BYCLINICLIST+34, BYCLINIEN~, BYCLINIEN+3, BYCLINIEN+5, BYCLINIEN+8, BYCLINIEN+18, BYCLINIEN+20
, BYPATDFN~, BYPATDFN+3, BYPATDFN+5, BYPATDFN+14, BYPATDFN+16, BYCLINRESOURCE~, BYCLINRESOURCE+3, BYCLINRESOURCE+5, BYCLINRESOURCE+15, BYCLINRESOURCE+17
SDBEGDATE BYCLINICLIST+1~, BYCLINICLIST+21*, BYCLINICLIST+26, BYCLINIEN+1~, BYCLINIEN+4, BYCLINIEN+11, BYPATDFN+1~, BYPATDFN+4, BYPATDFN+7, BYCLINRESOURCE+1~
, BYCLINRESOURCE+4, BYCLINRESOURCE+8, VALIDATEBYCLIN~, VALIDATEBYCLIN+3*, VALIDATEBYCLIN+5, VALIDATEBYCLIN+6, VALIDATEDATES~, VALIDATEDATES+1*, VALIDATEDATES+3, VALIDATEDATES+5
, VALIDATEBYRES~, VALIDATEBYRES+3*, VALIDATEBYRES+5, VALIDATEBYDFN~, VALIDATEBYDFN+2*
SDCONTEXT BYAPPTIEN~, BYAPPTIEN+2, APPTSBYIENLIST~, APPTSBYIENLIST+2, BYCLINICLIST~, BYCLINICLIST+3, BYCLINIEN~, BYCLINIEN+2, BYPATDFN~, BYPATDFN+2
, BYCLINRESOURCE~, BYCLINRESOURCE+2
SDCONTEXT("US ER DUZ" , BYAPPTIEN+6, APPTSBYIENLIST+4, BYCLINICLIST+5, BYCLINIEN+10, BYPATDFN+6, BYCLINRESOURCE+7
SDDUZ BYAPPTIEN+1~, BYAPPTIEN+6*, BYAPPTIEN+7, APPTSBYIENLIST+1~, APPTSBYIENLIST+4*, APPTSBYIENLIST+14, BYCLINICLIST+1~, BYCLINICLIST+5*, BYCLINICLIST+31, BYCLINIEN+1~
, BYCLINIEN+10*, BYCLINIEN+17, BYPATDFN+1~, BYPATDFN+6*, BYPATDFN+13, BYCLINRESOURCE+1~, BYCLINRESOURCE+7*, BYCLINRESOURCE+14
SDENDDATE BYCLINICLIST+1~, BYCLINICLIST+22*, BYCLINICLIST+27, BYCLINIEN+1~, BYCLINIEN+4, BYCLINIEN+13, BYPATDFN+1~, BYPATDFN+4, BYPATDFN+9, BYCLINRESOURCE+1~
, BYCLINRESOURCE+4, BYCLINRESOURCE+10, VALIDATEBYCLIN~, VALIDATEBYCLIN+4*, VALIDATEBYCLIN+5, VALIDATEBYCLIN+6, VALIDATEDATES~, VALIDATEDATES+2*, VALIDATEDATES+3, VALIDATEDATES+5
, VALIDATEBYRES~, VALIDATEBYRES+4*, VALIDATEBYRES+5, VALIDATEBYDFN~, VALIDATEBYDFN+3*
SDPARAM APPTSBYIENLIST~
SDPARAM("APPO INTMENT IEN" , APPTSBYIENLIST+7
TODAY BYCLINICLIST+2~, BYCLINICLIST+7*, BYCLINICLIST+20
VALFLAG APPTSBYIENLIST+1~, APPTSBYIENLIST+12*, APPTSBYIENLIST+13, APPTSBYIENLIST+14, BYCLINICLIST+1~, BYCLINICLIST+16*, BYCLINICLIST+17, BYCLINICLIST+18, BYCLINICLIST+24*, BYCLINICLIST+25
, VALIDATEBYIENS~, VALIDATEBYIENS+2, VALIDATEDATES~, VALIDATEDATES+3*, VALIDATEDATES+4, VALIDATEDATES+5*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All