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 |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDESPRINTPATAPPT

Package: Scheduling

Routine: SDESPRINTPATAPPT


Information

SDESPRINTPATAPPT ;ALB/LAB,MGD - SDES Print basic appointments ;July 5, 2022

Source Information

Source file <SDESPRINTPATAPPT.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Scheduling 3 $$FMTISO^SDAMUTDT  ERRLOG^SDESJSON  ($$EASVALIDATE,$$TIMEZONEDATA)^SDESUTIL  
Kernel 1 ENCODE^XLFJSON  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Scheduling 4 SDES  SDESGETAPPTWRAP  SDESGETAPPTWRAP2  SDESGETAPPTWRAP4  

Entry Points

Name Comments DBIA/ICR reference
PRINTPATAPPTS(SDPATIENTAPPTS,SDDFN,SDBEG,SDEND,EAS) ; PRINT PATIENT APPOINTMENTS
VALIDATEPTDFN(ERRORS,SDDFN) ;Validate Patient DFN
VALIDATEBEGDT(ERRORS,SDBEG) ;Validate Begin date - converted in SDES so -1 if invalid
VALIDATEENDDT(ERRORS,SDEND) ;validate End date - converted in SDES so -1 if invalid
VALIDATEEAS(ERRORS,EAS) ;Validate EAS Tracking number
GETAPPOINTMENTS(SDPATIENTAPPTS,SDDFN,SDBEGIN,SDEND) ;select appointments
BUILDJSON(JSONRETURN,INPUT) ;

External References

Name Field # of Occurrence
$$GET1^DIQ GETAPPOINTMENTS+5, GETAPPOINTMENTS+8, GETAPPOINTMENTS+9, GETAPPOINTMENTS+12, GETAPPOINTMENTS+13, GETAPPOINTMENTS+14, GETAPPOINTMENTS+18
$$FMTISO^SDAMUTDT GETAPPOINTMENTS+19
ERRLOG^SDESJSON VALIDATEPTDFN+3, VALIDATEPTDFN+6, VALIDATEBEGDT+3, VALIDATEENDDT+3, VALIDATEEAS+5
$$EASVALIDATE^SDESUTIL VALIDATEEAS+3
$$TIMEZONEDATA^SDESUTIL GETAPPOINTMENTS+17
ENCODE^XLFJSON BUILDJSON+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SDEC(409.831 - [#409.831] GET1^DIQ
^SDEC(409.84 - [#409.84] GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATEPTDFN+5
^SDEC(409.84 - [#409.84] GETAPPOINTMENTS+4

Label References

Name Line Occurrences
$$GETAPPOINTMENTS PRINTPATAPPTS+17
$$VALIDATEBEGDT PRINTPATAPPTS+7
$$VALIDATEEAS PRINTPATAPPTS+13
$$VALIDATEENDDT PRINTPATAPPTS+10
$$VALIDATEPTDFN PRINTPATAPPTS+4
BUILDJSON PRINTPATAPPTS+20

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
COUNT GETAPPOINTMENTS+1~, GETAPPOINTMENTS+3*, GETAPPOINTMENTS+21*, GETAPPOINTMENTS+22, GETAPPOINTMENTS+23, GETAPPOINTMENTS+24, GETAPPOINTMENTS+25, GETAPPOINTMENTS+27*, GETAPPOINTMENTS+28
DISPLAY GETAPPOINTMENTS+1~, GETAPPOINTMENTS+3*, GETAPPOINTMENTS+14*, GETAPPOINTMENTS+15
EAS PRINTPATAPPTS~, PRINTPATAPPTS+13, VALIDATEEAS~, VALIDATEEAS+2*, VALIDATEEAS+3*, VALIDATEEAS+4
ERRORFLAG VALIDATEPTDFN+1~, VALIDATEPTDFN+3*, VALIDATEPTDFN+6*, VALIDATEPTDFN+8, VALIDATEBEGDT+1~, VALIDATEBEGDT+3*, VALIDATEBEGDT+5, VALIDATEENDDT+1~, VALIDATEENDDT+3*, VALIDATEENDDT+5
, VALIDATEEAS+1~, VALIDATEEAS+5*, VALIDATEEAS+7
ERRORS PRINTPATAPPTS+1~, PRINTPATAPPTS+4, PRINTPATAPPTS+5, PRINTPATAPPTS+7, PRINTPATAPPTS+8, PRINTPATAPPTS+10, PRINTPATAPPTS+11, PRINTPATAPPTS+13, PRINTPATAPPTS+14, PRINTPATAPPTS+16
, VALIDATEPTDFN~, VALIDATEPTDFN+3, VALIDATEPTDFN+6, VALIDATEBEGDT~, VALIDATEBEGDT+3, VALIDATEENDDT~, VALIDATEENDDT+3, VALIDATEEAS~, VALIDATEEAS+5
HASBEGDTERRORS PRINTPATAPPTS+1~, PRINTPATAPPTS+7*, PRINTPATAPPTS+8
HASDFNERRORS PRINTPATAPPTS+1~, PRINTPATAPPTS+4*, PRINTPATAPPTS+5
HASEASERRORS PRINTPATAPPTS+1~, PRINTPATAPPTS+13*, PRINTPATAPPTS+14
HASENDDTERRORS PRINTPATAPPTS+1~, PRINTPATAPPTS+10*, PRINTPATAPPTS+11
HASERRORS PRINTPATAPPTS+1~, PRINTPATAPPTS+2*
INPUT BUILDJSON~
JSONERROR BUILDJSON+1~, BUILDJSON+2*
JSONRETURN BUILDJSON~
PRINTFIELDS PRINTPATAPPTS+1~, PRINTPATAPPTS+2*, PRINTPATAPPTS+17*, PRINTPATAPPTS+18
RETURN PRINTPATAPPTS+1~, PRINTPATAPPTS+2*, PRINTPATAPPTS+5*, PRINTPATAPPTS+8*, PRINTPATAPPTS+11*, PRINTPATAPPTS+14*, PRINTPATAPPTS+18*, PRINTPATAPPTS+20
RETURN("PatientAppointments" VALIDATEPTDFN+4*, VALIDATEPTDFN+7*, VALIDATEBEGDT+4*, VALIDATEENDDT+4*, VALIDATEEAS+6*
SDAPPOINTARRAY PRINTPATAPPTS+1~, PRINTPATAPPTS+17, PRINTPATAPPTS+18
SDAPPTDTTIM GETAPPOINTMENTS+1~, GETAPPOINTMENTS+5*, GETAPPOINTMENTS+6, GETAPPOINTMENTS+19
SDAPPTDTTIME GETAPPOINTMENTS+1~, GETAPPOINTMENTS+19*, GETAPPOINTMENTS+22
SDAPPTIEN GETAPPOINTMENTS+1~, GETAPPOINTMENTS+3*, GETAPPOINTMENTS+4*, GETAPPOINTMENTS+5, GETAPPOINTMENTS+8, GETAPPOINTMENTS+9, GETAPPOINTMENTS+12, GETAPPOINTMENTS+18
SDBEG PRINTPATAPPTS~, PRINTPATAPPTS+7, PRINTPATAPPTS+17, VALIDATEBEGDT~, VALIDATEBEGDT+2
SDBEGIN GETAPPOINTMENTS~, GETAPPOINTMENTS+6
SDCANCELDT GETAPPOINTMENTS+1~, GETAPPOINTMENTS+3*, GETAPPOINTMENTS+8*, GETAPPOINTMENTS+10
SDCLINIC GETAPPOINTMENTS+1~, GETAPPOINTMENTS+13*, GETAPPOINTMENTS+14, GETAPPOINTMENTS+17, GETAPPOINTMENTS+19
SDDFN PRINTPATAPPTS~, PRINTPATAPPTS+4, PRINTPATAPPTS+17, VALIDATEPTDFN~, VALIDATEPTDFN+2, VALIDATEPTDFN+5, GETAPPOINTMENTS~, GETAPPOINTMENTS+4
SDEND PRINTPATAPPTS~, PRINTPATAPPTS+10, PRINTPATAPPTS+17, VALIDATEENDDT~, VALIDATEENDDT+2, GETAPPOINTMENTS~, GETAPPOINTMENTS+6
SDNOSHOWDT GETAPPOINTMENTS+2~, GETAPPOINTMENTS+9*, GETAPPOINTMENTS+10
SDPATIENTAPPTS PRINTPATAPPTS~, PRINTPATAPPTS+20, GETAPPOINTMENTS~
SDPATIENTAPPTS("PatientAppointments" GETAPPOINTMENTS+22*, GETAPPOINTMENTS+23*, GETAPPOINTMENTS+24*, GETAPPOINTMENTS+26*
SDRESOURCE GETAPPOINTMENTS+1~, GETAPPOINTMENTS+12*, GETAPPOINTMENTS+13
SDRESOURCENAME GETAPPOINTMENTS+1~, GETAPPOINTMENTS+18*, GETAPPOINTMENTS+24
SDTIMEZONE GETAPPOINTMENTS+1~, GETAPPOINTMENTS+17*, GETAPPOINTMENTS+23
U GETAPPOINTMENTS+17
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All