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: SDESCREATEAPPT

Package: Scheduling

Routine: SDESCREATEAPPT


Information

SDESCREATEAPPT ;ALB/BLB,MGD,DJS,ANU,BLB,TJB,BLB/TJB,LAB,TJB - CREATE APPOINTMENT RPC; JUN 17, 2024

Source Information

Source file <SDESCREATEAPPT.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Scheduling 10 $$ISOTFM^SDAMUTDT  REQSET^SDEC07A  RECDSET^SDEC52A  WP^SDECUTL  UPDATECONSULTPID^SDES2APPTUTIL  (BUILDAPPTDATA,BUILDMRTCLINKS,BUILDMRTCPID)^SDESEDITAPPTREQ  ERRLOG^SDESJSON  $$EASVALIDATE^SDESUTIL  
$$NEW^SDPCE  $$GETAPT^SDVSIT2  
Kernel 2 ($$FMADD,$$FMDIFF,$$NOW)^XLFDT  $$UP^XLFSTR  
VA FileMan 2 WP^DIE  $$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 SDEC07  SDES2CANCELAPPT  SDESCRTAPPTWRAP  SDESREQAPPCREATE  

Entry Points

Name Comments DBIA/ICR reference
VALIDATE(ERRORS,ARY84,ARY44) ; Validate input
GETPROVIDER(CLINICIEN,REQUESTTYPE,REQUESTIEN) ;
CREATE(ARY84FDA,ARY84) ;
CLEANUP40984(ARY84,NEWIEN40984,APPTMSG) ;

External References

Name Field # of Occurrence
WP^DIE CLEANUP40984+4
$$GET1^DIQ VALIDATE+35, VALIDATE+40, VALIDATE+44, VALIDATE+73, VALIDATE+74, VALIDATE+77, VALIDATE+81, VALIDATE+83, VALIDATE+85, VALIDATE+106
, VALIDATE+136, GETPROVIDER+3, GETPROVIDER+7, CLEANUP40984+11
$$ISOTFM^SDAMUTDT VALIDATE+7, VALIDATE+14, VALIDATE+58
REQSET^SDEC07A CLEANUP40984+26
RECDSET^SDEC52A CLEANUP40984+13
WP^SDECUTL CLEANUP40984+4
UPDATECONSULTPID^SDES2APPTUTIL CLEANUP40984+27
BUILDAPPTDATA^SDESEDITAPPTREQ CLEANUP40984+17
BUILDMRTCLINKS^SDESEDITAPPTREQ CLEANUP40984+22
BUILDMRTCPID^SDESEDITAPPTREQ CLEANUP40984+23
ERRLOG^SDESJSON VALIDATE+5, VALIDATE+6, VALIDATE+8, VALIDATE+12, VALIDATE+13, VALIDATE+15, VALIDATE+16, VALIDATE+20, VALIDATE+21, VALIDATE+25
, VALIDATE+26, VALIDATE+31, VALIDATE+40, VALIDATE+46, VALIDATE+51, VALIDATE+54, VALIDATE+59, VALIDATE+63, VALIDATE+64, VALIDATE+65
, VALIDATE+71, VALIDATE+73, VALIDATE+74, VALIDATE+81, VALIDATE+83, VALIDATE+85, VALIDATE+87, VALIDATE+93, VALIDATE+96, VALIDATE+99
, VALIDATE+111, VALIDATE+112, VALIDATE+114, VALIDATE+119, VALIDATE+122, VALIDATE+134, VALIDATE+136
$$EASVALIDATE^SDESUTIL VALIDATE+118
$$NEW^SDPCE CLEANUP40984+29
$$GETAPT^SDVSIT2 CLEANUP40984+30
$$FMADD^XLFDT VALIDATE+46
$$FMDIFF^XLFDT VALIDATE+113
$$NOW^XLFDT VALIDATE+46, VALIDATE+52, CREATE+9, CLEANUP40984+29
$$UP^XLFSTR VALIDATE+129

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^SD(403.5 - [#403.5] GET1^DIQ
^SD(403.54 - [#403.54] GET1^DIQ
^SDWL(409.3 - [#409.3] GET1^DIQ
^SDEC(409.831 - [#409.831] GET1^DIQ
^SDEC(409.84 - [#409.84] WP^DIE
^SDEC(409.85 - [#409.85] GET1^DIQ
^SC - [#44] GET1^DIQ
44.1 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATE+21
^GMR(123 - [#123] VALIDATE+69
^SC - [#44] VALIDATE+26, VALIDATE+43, GETPROVIDER+6
^SD(403.5 - [#403.5] VALIDATE+68
^SD(409.1 - [#409.1] VALIDATE+96, VALIDATE+99, VALIDATE+101
^SDEC(409.831 - [#409.831] VALIDATE+31, VALIDATE+34
^SDEC(409.85 - [#409.85] VALIDATE+70, VALIDATE+134
^SDWL(409.3 - [#409.3] VALIDATE+67
^VA(200 - [#200] VALIDATE+122

Label References

Name Line Occurrences
$$GETPROVIDER VALIDATE+123

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTMSG CLEANUP40984~, CLEANUP40984+17
ARR CLEANUP40984+4~
ARY44 VALIDATE~
ARY44("SDAPPTLENGTH" VALIDATE+110*
ARY84 VALIDATE~, CREATE~, CLEANUP40984~
ARY84("CLINICIEN" VALIDATE+7, VALIDATE+14, VALIDATE+24*, VALIDATE+25, VALIDATE+26, VALIDATE+34, VALIDATE+40, VALIDATE+43, VALIDATE+44, VALIDATE+58
, VALIDATE+123, CLEANUP40984+17, CLEANUP40984+30
ARY84("DFN" VALIDATE+19*, VALIDATE+20, VALIDATE+21, VALIDATE+81, VALIDATE+83, VALIDATE+85, CREATE+5, CLEANUP40984+26, CLEANUP40984+27, CLEANUP40984+30
ARY84("SDAPPTENDDTTM" VALIDATE+11*, VALIDATE+12, VALIDATE+13, VALIDATE+14*, VALIDATE+15, VALIDATE+16, VALIDATE+113, CREATE+4
ARY84("SDAPPTLENGTH" VALIDATE+110, VALIDATE+111, VALIDATE+112, VALIDATE+114, CREATE+12
ARY84("SDAPPTNAME" VALIDATE+93, VALIDATE+95, VALIDATE+98, VALIDATE+99, VALIDATE+101
ARY84("SDAPPTSTARTDATE" VALIDATE+52*, VALIDATE+54
ARY84("SDAPPTSTARTDTTM" VALIDATE+4*, VALIDATE+5, VALIDATE+6, VALIDATE+7*, VALIDATE+8, VALIDATE+16, VALIDATE+46, VALIDATE+52, VALIDATE+113, CREATE+3
, CLEANUP40984+17, CLEANUP40984+26, CLEANUP40984+29, CLEANUP40984+30
ARY84("SDAPPTYPE" VALIDATE+93, VALIDATE+95, VALIDATE+96, VALIDATE+101*, CREATE+6, CLEANUP40984+17
ARY84("SDEAS" VALIDATE+117*, VALIDATE+118*, VALIDATE+119, CREATE+17, CLEANUP40984+17
ARY84("SDESIREDTTM" VALIDATE+57*, VALIDATE+58*, VALIDATE+59, CREATE+13, CLEANUP40984+19, CLEANUP40984+27
ARY84("SDEXTERNALID" VALIDATE+125*, CREATE+14
ARY84("SDMRTC" VALIDATE+128*, VALIDATE+129*, VALIDATE+130*, CLEANUP40984+18
ARY84("SDNOTE" VALIDATE+90*, CLEANUP40984+4, CLEANUP40984+26
ARY84("SDPARENT" VALIDATE+133, VALIDATE+134, VALIDATE+136, CLEANUP40984+18, CLEANUP40984+22, CLEANUP40984+23
ARY84("SDPATIENTSTATUS" VALIDATE+104*, VALIDATE+105, VALIDATE+106*, VALIDATE+107*, CREATE+16
ARY84("SDPROVIEN" VALIDATE+122, VALIDATE+123*, CREATE+11, CLEANUP40984+26
ARY84("SDREQTYPE" VALIDATE+62*, VALIDATE+63, VALIDATE+64, VALIDATE+65, VALIDATE+66, VALIDATE+67*, VALIDATE+68*, VALIDATE+69*, VALIDATE+70*, VALIDATE+71
, VALIDATE+73, VALIDATE+74, VALIDATE+76, VALIDATE+77, VALIDATE+79, VALIDATE+80, VALIDATE+82, VALIDATE+84, VALIDATE+106, VALIDATE+123
, CREATE+2, CLEANUP40984+5, CLEANUP40984+8, CLEANUP40984+10, CLEANUP40984+16, CLEANUP40984+25, CLEANUP40984+26, CLEANUP40984+27
ARY84("SDRESOURCE" VALIDATE+30*, VALIDATE+31, VALIDATE+32, VALIDATE+37*, VALIDATE+40, CREATE+7, CLEANUP40984+26
ARY84("SDSERVCONN" VALIDATE+141*, VALIDATE+142*, CLEANUP40984+17
ARY84("SDSERVCONNPERC" VALIDATE+139*, VALIDATE+140*, CLEANUP40984+17
ARY84("WALKIN" VALIDATE+50*, VALIDATE+51, VALIDATE+54, CREATE+10
ARY84FDA CREATE~
ARY84FDA( CREATE+3*, CREATE+4*, CREATE+5*, CREATE+6*, CREATE+7*, CREATE+8*, CREATE+9*, CREATE+10*, CREATE+11*, CREATE+12*
, CREATE+13*, CREATE+14*, CREATE+15*, CREATE+16*, CREATE+17*
CLINICIEN GETPROVIDER~, GETPROVIDER+6, GETPROVIDER+7
DEFAULTPROVIEN GETPROVIDER+1~, GETPROVIDER+5*, GETPROVIDER+6, GETPROVIDER+7*, GETPROVIDER+9
DUZ CREATE+8, CLEANUP40984+17
ENCOUNTER VALIDATE+1~, CLEANUP40984+30*
ERRORS VALIDATE~, VALIDATE+5, VALIDATE+6, VALIDATE+8, VALIDATE+12, VALIDATE+13, VALIDATE+15, VALIDATE+16, VALIDATE+20, VALIDATE+21
, VALIDATE+25, VALIDATE+26, VALIDATE+31, VALIDATE+40, VALIDATE+46, VALIDATE+51, VALIDATE+54, VALIDATE+59, VALIDATE+63, VALIDATE+64
, VALIDATE+65, VALIDATE+71, VALIDATE+73, VALIDATE+74, VALIDATE+81, VALIDATE+83, VALIDATE+85, VALIDATE+87, VALIDATE+93, VALIDATE+96
, VALIDATE+99, VALIDATE+111, VALIDATE+112, VALIDATE+114, VALIDATE+119, VALIDATE+122, VALIDATE+134, VALIDATE+136
IEN VALIDATE+1~, VALIDATE+79*, VALIDATE+81, VALIDATE+83, VALIDATE+85
MATCH VALIDATE+29~, VALIDATE+33*, VALIDATE+34, VALIDATE+38*
MAXDAYS VALIDATE+1~, VALIDATE+44*, VALIDATE+45*, VALIDATE+46
NEWIEN40984 CLEANUP40984~, CLEANUP40984+4, CLEANUP40984+21
PROVIDERIEN GETPROVIDER+1~, GETPROVIDER+5*, GETPROVIDER+6*, GETPROVIDER+7
REQUEST CLEANUP40984+1~, CLEANUP40984+22, CLEANUP40984+23
REQUEST("MRTC" CLEANUP40984+19*, CLEANUP40984+20*, CLEANUP40984+21*
REQUESTIEN VALIDATE+1~, GETPROVIDER~, GETPROVIDER+3, CLEANUP40984+5*, CLEANUP40984+17, CLEANUP40984+20
REQUESTTYPE GETPROVIDER~, GETPROVIDER+3
RESOURCE VALIDATE+29~, VALIDATE+34*, VALIDATE+35, VALIDATE+37
RESOURCED VALIDATE+1~
SDAPPTSTARTDATE VALIDATE+1~
SDCOMM CLEANUP40984+9~, CLEANUP40984+11*, CLEANUP40984+13
SDCONERR VALIDATE+1~, VALIDATE+75*, VALIDATE+77*, VALIDATE+87
SDECMSG CLEANUP40984+3!
SDECRNOD VALIDATE+1~
SDREQTYPE CREATE+1~, CREATE+2*, CREATE+15
SDRET CLEANUP40984+9~, CLEANUP40984+13
SDRIEN1 CLEANUP40984+9~, CLEANUP40984+10*, CLEANUP40984+11, CLEANUP40984+13
SDRRFTR CLEANUP40984+9~, CLEANUP40984+12*, CLEANUP40984+13
SDTYP VALIDATE+29~, VALIDATE+35*, VALIDATE+36
TIMEDIFF VALIDATE+1~, VALIDATE+113*, VALIDATE+114
TODAY VALIDATE+49~, VALIDATE+52*, VALIDATE+54
TYPEIEN VALIDATE+1~, VALIDATE+100*, VALIDATE+101
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