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 |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDESCRTWALKIN

Package: Scheduling

Routine: SDESCRTWALKIN


Information

SDESCRTWALKIN ;ALB/LAB,DJS,LAB - VISTA SCHEDULING WALK-IN RPC ; NOV 2,2023

Source Information

Source file <SDESCRTWALKIN.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Scheduling 8 $$FMTISO^SDAMUTDT  $$NETTOFM^SDECDATE  DISPOSITION^SDESARCLOSE  BUILDJSON^SDESBUILDJSON  CHECKIN^SDESCHECKIN  CREATEREQUEST^SDESCREATEAPPREQ  CREATEAPPTS^SDESCRTAPPTWRAP  $$GETRES^SDESINPUTVALUTL  
VA FileMan 3 ^%DT  ^DIK  $$GET1^DIQ  
Kernel 2 ($$FMTE,$$NOW)^XLFDT  DECODE^XLFJSON  

Entry Points

Name Comments DBIA/ICR reference
SDECCRTWALKIN(RETN,STRT,ENDTM,DFN,PID,INSNM,CLIN,NOTE,APTYP,PTSTAT,APPTLEN,SRVCON,SRVPC,ELIG,OVB,PRIGRP,VGUID,MOD,STOP,SECSTP,COL,STATNUM,SDEAS) ;
BUILDARR(ARRAY,STRT,ENDTM,DFN,PID,INSNM,CLIN,NOTE,APTYP,PTSTAT,APPTLEN,SRVCON,SRVPC,ELIG,OVB,PRIGRP,VGUID,MOD,STOP,SECSTP,COL,STATNUM,SDEAS) ;
CREATEWALKIN(JSONRETURN,ARRAY) ;
SETEMPTYOBJECT(RETURNERROR) ;set the return object into null if an error occur
DISPOSITIONREQ(DISPRESULT,REQRESULT,REQUEST) ;
BUILDERROR(RESULT,JSONRETURN) ;
BLDREQARRAY(REQARRAY,ARRAY) ;build the array to call SDES CREATE APPT REQ
BLDAPPTARRAY(APPTARRAY,ARRAY) ;Build the appointment array to call SDES CREATE APPOINTMENTS

External References

Name Field # of Occurrence
^%DT BUILDARR+4
^DIK CREATEWALKIN+15
$$GET1^DIQ BUILDARR+9
$$FMTISO^SDAMUTDT BUILDARR+1, BUILDARR+2, BUILDARR+5, CREATEWALKIN+21, BLDREQARRAY+3
$$NETTOFM^SDECDATE BUILDARR+1, BUILDARR+2
DISPOSITION^SDESARCLOSE DISPOSITIONREQ+8
BUILDJSON^SDESBUILDJSON CREATEWALKIN+24, BUILDERROR+4
CHECKIN^SDESCHECKIN CREATEWALKIN+21
CREATEREQUEST^SDESCREATEAPPREQ CREATEWALKIN+5
CREATEAPPTS^SDESCRTAPPTWRAP CREATEWALKIN+12
$$GETRES^SDESINPUTVALUTL CREATEWALKIN+3
$$FMTE^XLFDT DISPOSITIONREQ+7
$$NOW^XLFDT CREATEWALKIN+21, DISPOSITIONREQ+7
DECODE^XLFJSON CREATEWALKIN+6, CREATEWALKIN+13

Used in RPC

RPC Name Call Tags
SDES CREATE WALKIN APPT CREATEWALKIN
SDEC CREATE WALKIN APPT JSON SDECCRTWALKIN

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(409.1 - [#409.1] GET1^DIQ
^SDEC(409.85 - [#409.85] Classic Fileman Calls

Label References

Name Line Occurrences
BLDAPPTARRAY CREATEWALKIN+10
BLDREQARRAY CREATEWALKIN+4
BUILDARR SDECCRTWALKIN+2
BUILDERROR CREATEWALKIN+8, CREATEWALKIN+16
CREATEWALKIN SDECCRTWALKIN+3
DISPOSITIONREQ CREATEWALKIN+18
SETEMPTYOBJECT BUILDERROR+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% CREATEWALKIN+1~
%DT SDECCRTWALKIN+1~, BUILDARR+4*
APPOINTMENT CREATEWALKIN+1~, CREATEWALKIN+22*, CREATEWALKIN+23*, CREATEWALKIN+24
APPTARRAY CREATEWALKIN+1~, CREATEWALKIN+10, CREATEWALKIN+12, BLDAPPTARRAY~
APPTARRAY( BLDAPPTARRAY+13*
APPTARRAY(1 BLDAPPTARRAY+1*
APPTARRAY(10 BLDAPPTARRAY+10*
APPTARRAY(11 BLDAPPTARRAY+11*
APPTARRAY(12 BLDAPPTARRAY+12*
APPTARRAY(13 BLDAPPTARRAY+15*
APPTARRAY(14 BLDAPPTARRAY+16*
APPTARRAY(15 BLDAPPTARRAY+17*
APPTARRAY(16 BLDAPPTARRAY+18*
APPTARRAY(17 BLDAPPTARRAY+19*
APPTARRAY(18 BLDAPPTARRAY+20*
APPTARRAY(19 BLDAPPTARRAY+21*
APPTARRAY(2 BLDAPPTARRAY+2*
APPTARRAY(20 BLDAPPTARRAY+22*
APPTARRAY(21 BLDAPPTARRAY+23*
APPTARRAY(22 BLDAPPTARRAY+24*
APPTARRAY(23 BLDAPPTARRAY+25*
APPTARRAY(24 BLDAPPTARRAY+26*
APPTARRAY(25 BLDAPPTARRAY+27*
APPTARRAY(26 BLDAPPTARRAY+28*
APPTARRAY(27 BLDAPPTARRAY+29*
APPTARRAY(28 BLDAPPTARRAY+30*
APPTARRAY(29 BLDAPPTARRAY+31*
APPTARRAY(3 BLDAPPTARRAY+3*
APPTARRAY(30 BLDAPPTARRAY+32*
APPTARRAY(4 BLDAPPTARRAY+4*
APPTARRAY(5 BLDAPPTARRAY+5*
APPTARRAY(6 BLDAPPTARRAY+6*
APPTARRAY(7 BLDAPPTARRAY+7*
APPTARRAY(8 BLDAPPTARRAY+8*
APPTARRAY(9 BLDAPPTARRAY+9*
APPTIEN CREATEWALKIN+1~, CREATEWALKIN+20*, CREATEWALKIN+21
APPTLEN SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+11
APPTRESULT CREATEWALKIN+1~, CREATEWALKIN+16, CREATEWALKIN+23
APPTRESULT("Appointment" CREATEWALKIN+20
APPTRESULT("Error" CREATEWALKIN+14
APPTRETURN CREATEWALKIN+2~, CREATEWALKIN+12
APTYP SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+8
ARRAY SDECCRTWALKIN+1~, SDECCRTWALKIN+2, SDECCRTWALKIN+3, BUILDARR~, CREATEWALKIN~, CREATEWALKIN+4, CREATEWALKIN+10, BLDREQARRAY~, BLDAPPTARRAY~
ARRAY("APPOIN TMENT TYPE IEN" , BUILDARR+8*, BUILDARR+9, BLDREQARRAY+17, BLDAPPTARRAY+12, TMENT TYPE NAME" , BUILDARR+9*, BLDREQARRAY+18, BLDAPPTARRAY+13
ARRAY("APPT E ND" , BUILDARR+2*, BLDAPPTARRAY+2
ARRAY("APPT L ENGTH" , BUILDARR+11*, BLDAPPTARRAY+16
ARRAY("APPT S TART" , BUILDARR+1*, BLDAPPTARRAY+1
ARRAY("CLINIC IEN" , BUILDARR+6*, CREATEWALKIN+3, BLDREQARRAY+6, BLDAPPTARRAY+10
ARRAY("DFN" BUILDARR+3*, BLDREQARRAY+2, BLDAPPTARRAY+3
ARRAY("INSTIT UTION NAME" , BUILDARR+18*, BLDREQARRAY+5
ARRAY("MODALITY" BUILDARR+20*, BLDREQARRAY+16
ARRAY("OVERBOOK" BUILDARR+16*, BLDAPPTARRAY+24
ARRAY("PATIEN T INDICATED DATE" , BUILDARR+5*, BLDREQARRAY+9, BLDAPPTARRAY+6, T STATUS" , BUILDARR+10*, BLDREQARRAY+19, BLDAPPTARRAY+15
ARRAY("PRIORI TY GROUP" , BUILDARR+23*, BLDREQARRAY+11
ARRAY("RESOUR CE IEN" , CREATEWALKIN+3*, BLDAPPTARRAY+4
ARRAY("SDCOLLATERAL" BUILDARR+17*, BLDAPPTARRAY+29
ARRAY("SDEAS" BUILDARR+14*, BLDREQARRAY+21, BLDAPPTARRAY+21
ARRAY("SDNOTE" BUILDARR+7*, BLDAPPTARRAY+11, BLDAPPTARRAY+22
ARRAY("SDPATELIG" BUILDARR+15*, BLDAPPTARRAY+23
ARRAY("SDSERVCONN" BUILDARR+12*, BLDREQARRAY+12, BLDAPPTARRAY+17
ARRAY("SDSERVCONNPERC" BUILDARR+13*, BLDREQARRAY+13, BLDAPPTARRAY+18
ARRAY("SECOND ARY STOP CODE" , BUILDARR+22*, BLDREQARRAY+15
ARRAY("STATIO N NUMBER" , BUILDARR+24*, BLDREQARRAY+4
ARRAY("STOP C ODE" , BUILDARR+21*, BLDREQARRAY+14
ARRAY("VAOS G UID" , BUILDARR+19*, BLDREQARRAY+20
CHECKIN CREATEWALKIN+2~, CREATEWALKIN+21
CLIN SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+1, BUILDARR+2, BUILDARR+6
COL SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+17
DA CREATEWALKIN+2~, CREATEWALKIN+15*
DFN SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+3
DIK CREATEWALKIN+2~, CREATEWALKIN+15*
DISPBY DISPOSITIONREQ+1~, DISPOSITIONREQ+6*, DISPOSITIONREQ+8
DISPDATE DISPOSITIONREQ+1~, DISPOSITIONREQ+7*, DISPOSITIONREQ+8
DISPOSITION DISPOSITIONREQ+1~, DISPOSITIONREQ+5*, DISPOSITIONREQ+8
DISPRESULT CREATEWALKIN+1~, CREATEWALKIN+18, DISPOSITIONREQ~, DISPOSITIONREQ+8
DT BLDREQARRAY+3
DUZ DISPOSITIONREQ+6
EAS DISPOSITIONREQ+1~, DISPOSITIONREQ+3*, DISPOSITIONREQ+8
ELIG SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+15
ENDTM SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+2
FDA BLDREQARRAY+1~
FDAERR BLDREQARRAY+1~
INSNM SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+18
JSONRETURN CREATEWALKIN~, CREATEWALKIN+8, CREATEWALKIN+16, CREATEWALKIN+24, BUILDERROR~, BUILDERROR+4
MOD SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+20
NOTE SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+7
OVB SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+16
PCMT DISPOSITIONREQ+1~, DISPOSITIONREQ+4*, DISPOSITIONREQ+8
PID SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+4*, BUILDARR+5
PRIGRP SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+23
PTSTAT SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+10
REQARRAY CREATEWALKIN+1~, CREATEWALKIN+4, CREATEWALKIN+5, BLDREQARRAY~
REQARRAY("APP OINTMENT TYPE IEN" , BLDREQARRAY+17*, OINTMENT TYPE NAME" , BLDREQARRAY+18*
REQARRAY("CLI NIC IEN" , BLDREQARRAY+6*
REQARRAY("CPR S ORDER NUMBER" , BLDREQARRAY+26*, S TIME SENSITIVE" , BLDREQARRAY+25*
REQARRAY("CRE ATE DATE" , BLDREQARRAY+3*
REQARRAY("DFN" BLDREQARRAY+2*
REQARRAY("EAS" BLDREQARRAY+21*
REQARRAY("INS TITUTION NAME" , BLDREQARRAY+5*
REQARRAY("MODALITY" BLDREQARRAY+16*
REQARRAY("MRTC" BLDREQARRAY+23*, BLDREQARRAY+24*
REQARRAY("PAT IENT INDICATED DATE" , BLDREQARRAY+9*, IENT STATUS" , BLDREQARRAY+19*
REQARRAY("PRI ORITY GROUP" , BLDREQARRAY+11*
REQARRAY("PRIORITY" BLDREQARRAY+10*
REQARRAY("REQ UEST COMMENT" , BLDREQARRAY+22*, UEST SUB TYPE" , BLDREQARRAY+7*, UESTED BY" , BLDREQARRAY+8*
REQARRAY("SEC ONDARY STOP CODE" , BLDREQARRAY+15*
REQARRAY("SER VICE CONNECTED PERCENTAGE" , BLDREQARRAY+13*, VICE CONNECTED" , BLDREQARRAY+12*
REQARRAY("STA TION NUMBER" , BLDREQARRAY+4*
REQARRAY("STO P CODE" , BLDREQARRAY+14*
REQARRAY("VAO S GUID" , BLDREQARRAY+20*
REQRESULT CREATEWALKIN+1~, CREATEWALKIN+8, CREATEWALKIN+18, CREATEWALKIN+22, DISPOSITIONREQ~
REQRESULT("Error" CREATEWALKIN+7
REQRESULT("Request" CREATEWALKIN+15, DISPOSITIONREQ+2, BLDAPPTARRAY+8
REQRETURN CREATEWALKIN+2~, CREATEWALKIN+5
REQUEST CREATEWALKIN+18, DISPOSITIONREQ~
REQUEST("EAS" DISPOSITIONREQ+3
REQUEST("VAOS GUID" , DISPOSITIONREQ+4
REQUESTIEN DISPOSITIONREQ+1~, DISPOSITIONREQ+2*, DISPOSITIONREQ+8
RESULT BUILDERROR~, BUILDERROR+2
RETN SDECCRTWALKIN~, SDECCRTWALKIN+3
RETURNERROR SETEMPTYOBJECT~, BUILDERROR+1~, BUILDERROR+2*, BUILDERROR+3, BUILDERROR+4
RETURNERROR("Appointment" SETEMPTYOBJECT+2*
RETURNERROR("Request" SETEMPTYOBJECT+1*
RETURNIEN BLDREQARRAY+1~
SDEAS SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+14
SECSTP SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+22
SRVCON SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+12
SRVPC SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+13
STATNUM SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+24
STOP SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+21
STRT SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+1
TMPJSONRETURN CREATEWALKIN+11!
VGUID SDECCRTWALKIN~, SDECCRTWALKIN+2, BUILDARR~, BUILDARR+19
X BUILDARR+4*, CREATEWALKIN+1~
Y BUILDARR+4, CREATEWALKIN+1~
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables  | All