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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDES2RECLLREQ

Package: Scheduling

Routine: SDES2RECLLREQ


Information

SDES2RECLLREQ ; ALB/TJB,TJB - VISTA SCHEDULING CREATE/UPDATE RECALL REQUESTS ; Jun 17, 2024

Source Information

Source file <SDES2RECLLREQ.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 4 $$ISOTFM^SDAMUTDT  (BUILDJSON,ERRLOG)^SDES2JSON  VALPATDFN^SDES2VAL2  VALCONTEXT^SDES2VALCONTEXT  
Kernel 3 $$UP^XLFSTR  $$LKUP^XPDKEY  OWNSKEY^XUSRB  
VA FileMan 2 (FILE,UPDATE)^DIE  $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
CREATERECREQ(RETN,SDCONTEXT,SDINPUT) ;CREATE recall request
UPDRECALLREQ(RETN,SDCONTEXT,SDINPUT) ;RECALLIEN,DFN,ACCNO,SDCMT,FASTING,APPTP,RRPROVIEN,CLINIEN,APPTLEN,DATE,RECPPDT,DAPTDT,USERIEN,SECPDT,EAS) ;update recall request
BLDREC(SDFDA,SDINPUT,SDCONTEXT) ;build and file record
VALIDATE(ERRORS,SDINPUT,SDCONTEXT) ;
VALIDATERECALIEN(ERRORS,RECALLIEN,USERDUZ) ;Validate Recall IEN
VALIDATEDFN(ERRORS,DFN,OLDDFN) ;Validate Patient DFN
VALIDATEFASTING(ERRORS,FASTING) ;Validate Fasting
VALIDATEAPPTP(ERRORS,APPTP) ;Validate Appointment Type
VALIDATERRPRVIEN(ERRORS,RRPROVIEN) ;Validate Recall Provider IEN
VALIDATECLINIEN(ERRORS,CLINIEN) ;Validate Clinic IEN
VALIDATERECALLDT(ERRORS,RECALLDATE) ;Validate Recall Date
VALIDATERCDTNTRD(ERRORS,RECDTENTRD,RECALLIEN) ;Validate Recall Date Entered
VALIDATEAPPTLEN(ERRORS,LENGTHOFAPPT) ;Validate Length of Appointment
VALIDATERECPPDT(ERRORS,RECPPTDT) ;Validate Recall Date Per Patient
VALIDATEDAPTDT(ERRORS,DTRMSENT) ;Validate Date Reminder Sent
VALIDATESECPDT(ERRORS,SECPRNTDT) ;Validate Second Print Date
VALIDATESDCMT(ERRORS,SDCMT) ;Validate Comment
VALIDATEACCNUM(ERRORS,SDACC) ;Validate ACCESSION NUMBER
RETURNERROR(ERRORS,SDRECREQ,RETN,REQIEN) ;
SETEMPTYOBJ(SDRECREQ,SDCREATE) ;Set the object to NULL
KEY(RECALLIEN,USERDUZ) ;check that user has the correct SECURITY KEY

External References

Name Field # of Occurrence
FILE^DIE UPDRECALLREQ+7
UPDATE^DIE CREATERECREQ+9
$$GET1^DIQ VALIDATE+4
$$ISOTFM^SDAMUTDT VALIDATERECALLDT+2, VALIDATERCDTNTRD+2, VALIDATERECPPDT+1, VALIDATEDAPTDT+2, VALIDATESECPDT+2
BUILDJSON^SDES2JSON CREATERECREQ+3, CREATERECREQ+12, UPDRECALLREQ+3, UPDRECALLREQ+10, RETURNERROR+3
ERRLOG^SDES2JSON CREATERECREQ+10, UPDRECALLREQ+8, VALIDATERECALIEN+1, VALIDATERECALIEN+2, VALIDATERECALIEN+4, VALIDATEDFN+2, VALIDATEFASTING+1, VALIDATEFASTING+3, VALIDATEAPPTP+1, VALIDATEAPPTP+3
, VALIDATEAPPTP+5, VALIDATERRPRVIEN+1, VALIDATERRPRVIEN+2, VALIDATECLINIEN+1, VALIDATECLINIEN+2, VALIDATERECALLDT+1, VALIDATERECALLDT+3, VALIDATEAPPTLEN+2
VALPATDFN^SDES2VAL2 VALIDATEDFN+1
VALCONTEXT^SDES2VALCONTEXT CREATERECREQ+2, UPDRECALLREQ+2
$$UP^XLFSTR VALIDATEFASTING+2
$$LKUP^XPDKEY KEY+13
OWNSKEY^XUSRB KEY+13

Used in RPC

RPC Name Call Tags
SDES2 CREATE RECALL REQUEST CREATERECREQ
SDES2 EDIT RECALL REQUEST UPDRECALLREQ

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(403.5 - [#403.5] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] VALIDATECLINIEN+2
^SD(403.5 - [#403.5] VALIDATERECALIEN+2, KEY+8
^SD(403.51 - [#403.51] VALIDATEAPPTP+2, VALIDATEAPPTP+3, VALIDATEAPPTP+4
^SD(403.54 - [#403.54] VALIDATERRPRVIEN+2, KEY+10

Label References

Name Line Occurrences
$$KEY VALIDATERECALIEN+4
$$VALIDATEACCNUM VALIDATE+16
$$VALIDATEAPPTLEN VALIDATE+11
$$VALIDATEAPPTP VALIDATE+7
$$VALIDATECLINIEN VALIDATE+9
$$VALIDATEDAPTDT VALIDATE+13
$$VALIDATEDFN VALIDATE+5
$$VALIDATEFASTING VALIDATE+6
$$VALIDATERCDTNTRD CREATERECREQ+5
$$VALIDATERECALIEN VALIDATE+3
$$VALIDATERECALLDT VALIDATE+10
$$VALIDATERECPPDT VALIDATE+12
$$VALIDATERRPRVIEN VALIDATE+8
$$VALIDATESDCMT VALIDATE+15
$$VALIDATESECPDT VALIDATE+14
BLDREC CREATERECREQ+8, UPDRECALLREQ+6
RETURNERROR CREATERECREQ+7, CREATERECREQ+10, UPDRECALLREQ+5, UPDRECALLREQ+8
SETEMPTYOBJ RETURNERROR+2
VALIDATE CREATERECREQ+6, UPDRECALLREQ+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTP VALIDATEAPPTP~, VALIDATEAPPTP+1, VALIDATEAPPTP+2, VALIDATEAPPTP+3, VALIDATEAPPTP+4*, VALIDATEAPPTP+5, VALIDATEAPPTP+6
CLINIEN VALIDATECLINIEN~, VALIDATECLINIEN+1, VALIDATECLINIEN+2, VALIDATECLINIEN+3
DFN VALIDATEDFN~, VALIDATEDFN+1, VALIDATEDFN+2, VALIDATEDFN+3
DT VALIDATERCDTNTRD+3
DTRMSENT VALIDATEDAPTDT~, VALIDATEDAPTDT+1*, VALIDATEDAPTDT+2*, VALIDATEDAPTDT+3*, VALIDATEDAPTDT+4
DUZ BLDREC+15, KEY+13
ERRORS CREATERECREQ+1~, CREATERECREQ+2, CREATERECREQ+3, CREATERECREQ+5, CREATERECREQ+6, CREATERECREQ+7, CREATERECREQ+10, UPDRECALLREQ+1~, UPDRECALLREQ+2, UPDRECALLREQ+3
, UPDRECALLREQ+4, UPDRECALLREQ+5, UPDRECALLREQ+8, VALIDATE~, VALIDATE+3, VALIDATE+4, VALIDATE+5, VALIDATE+6, VALIDATE+7, VALIDATE+8
, VALIDATE+9, VALIDATE+10, VALIDATE+11, VALIDATE+12, VALIDATE+13, VALIDATE+14, VALIDATE+15, VALIDATE+16, VALIDATERECALIEN~, VALIDATERECALIEN+1
, VALIDATERECALIEN+2, VALIDATERECALIEN+4, VALIDATEDFN~, VALIDATEDFN+1, VALIDATEDFN+2, VALIDATEFASTING~, VALIDATEFASTING+1, VALIDATEFASTING+3, VALIDATEAPPTP~, VALIDATEAPPTP+1
, VALIDATEAPPTP+3, VALIDATEAPPTP+5, VALIDATERRPRVIEN~, VALIDATERRPRVIEN+1, VALIDATERRPRVIEN+2, VALIDATECLINIEN~, VALIDATECLINIEN+1, VALIDATECLINIEN+2, VALIDATERECALLDT~, VALIDATERECALLDT+1
, VALIDATERECALLDT+3, VALIDATERCDTNTRD~, VALIDATEAPPTLEN~, VALIDATEAPPTLEN+2, VALIDATERECPPDT~, VALIDATEDAPTDT~, VALIDATESECPDT~, VALIDATESDCMT~, VALIDATEACCNUM~, RETURNERROR~
, RETURNERROR+1
ERRORS("Error" CREATERECREQ+7, UPDRECALLREQ+5
ERRORS("RecallReqCreate" CREATERECREQ+3*
ERRORS("RecallReqEdit" UPDRECALLREQ+3*
FASTING VALIDATEFASTING~, VALIDATEFASTING+1, VALIDATEFASTING+2*, VALIDATEFASTING+3, VALIDATEFASTING+4
KEY KEY+6~, KEY+8*, KEY+10*, KEY+11, KEY+13
KY KEY+6~, KEY+13!
KY(0 KEY+14
LENGTHOFAPPT VALIDATEAPPTLEN~, VALIDATEAPPTLEN+1*, VALIDATEAPPTLEN+2, VALIDATEAPPTLEN+3*, VALIDATEAPPTLEN+4
OLDDFN VALIDATE+1~, VALIDATE+2*, VALIDATE+4*, VALIDATE+5, VALIDATEDFN~, VALIDATEDFN+2
RECALLDATE VALIDATERECALLDT~, VALIDATERECALLDT+1, VALIDATERECALLDT+2*, VALIDATERECALLDT+3, VALIDATERECALLDT+4
RECALLIEN BLDREC+1~, BLDREC+2*, BLDREC+3, BLDREC+4, BLDREC+5, BLDREC+6, BLDREC+7, BLDREC+8, BLDREC+9, BLDREC+10
, BLDREC+11, BLDREC+12, BLDREC+13, BLDREC+14, BLDREC+15, BLDREC+16, BLDREC+17, BLDREC+18, VALIDATERECALIEN~, VALIDATERECALIEN+1
, VALIDATERECALIEN+2, VALIDATERECALIEN+4, VALIDATERECALIEN+5, VALIDATERCDTNTRD~, VALIDATERCDTNTRD+1, KEY~, KEY+8
RECDTENTRD VALIDATERCDTNTRD~, VALIDATERCDTNTRD+2*, VALIDATERCDTNTRD+3*, VALIDATERCDTNTRD+4
RECPPTDT VALIDATERECPPDT~, VALIDATERECPPDT+1*, VALIDATERECPPDT+2*, VALIDATERECPPDT+3
REQIEN RETURNERROR~, RETURNERROR+2
RET KEY+6~, KEY+7*, KEY+9*, KEY+11*, KEY+14*, KEY+15
RETN CREATERECREQ~, CREATERECREQ+3, CREATERECREQ+7, CREATERECREQ+10, CREATERECREQ+12, UPDRECALLREQ~, UPDRECALLREQ+3, UPDRECALLREQ+5, UPDRECALLREQ+8, UPDRECALLREQ+10
, RETURNERROR~, RETURNERROR+3
RRPROVIEN VALIDATERRPRVIEN~, VALIDATERRPRVIEN+1, VALIDATERRPRVIEN+2, VALIDATERRPRVIEN+3
SDACC VALIDATEACCNUM~, VALIDATEACCNUM+1*, VALIDATEACCNUM+2*, VALIDATEACCNUM+3
SDCMT VALIDATESDCMT~, VALIDATESDCMT+1*, VALIDATESDCMT+2*, VALIDATESDCMT+3
SDCONTEXT CREATERECREQ~, CREATERECREQ+2, CREATERECREQ+8, UPDRECALLREQ~, UPDRECALLREQ+2, UPDRECALLREQ+4, UPDRECALLREQ+6, BLDREC~, VALIDATE~
SDCONTEXT("AC HERON AUDIT ID" , BLDREC+18
SDCONTEXT("US ER DUZ" , BLDREC+15, VALIDATE+3
SDCREATE SETEMPTYOBJ~, SETEMPTYOBJ+1
SDFDA CREATERECREQ+1~, CREATERECREQ+8, UPDRECALLREQ+1~, UPDRECALLREQ+6, BLDREC~, BLDREC+3*
SDFDA( BLDREC+3, BLDREC+4*, BLDREC+5*, BLDREC+6*, BLDREC+7*, BLDREC+8*, BLDREC+9*, BLDREC+10*, BLDREC+11*, BLDREC+12*
, BLDREC+13*, BLDREC+14*, BLDREC+15*, BLDREC+16*, BLDREC+17*, BLDREC+18*
SDFLAG KEY+6~, KEY+8*
SDIEN CREATERECREQ+1~, UPDRECALLREQ+1~
SDIEN(1 CREATERECREQ+11
SDINPUT CREATERECREQ~, CREATERECREQ+6, CREATERECREQ+8, UPDRECALLREQ~, UPDRECALLREQ+4, UPDRECALLREQ+6, BLDREC~, VALIDATE~
SDINPUT("ACCE SSION NUMBER" , BLDREC+5, VALIDATE+16*
SDINPUT("APPO INTMENT LENGTH" , BLDREC+11, VALIDATE+11*, INTMENT TYPE" , BLDREC+8, VALIDATE+7*
SDINPUT("CLIN IC IEN" , BLDREC+10, VALIDATE+9*
SDINPUT("COMMENT" BLDREC+6, VALIDATE+15*
SDINPUT("DATE ENTERED" , CREATERECREQ+5*, BLDREC+16,  REMINDER SENT" , BLDREC+14, VALIDATE+13*
SDINPUT("DFN" BLDREC+4, VALIDATE+5*
SDINPUT("FASTING" BLDREC+7, VALIDATE+6*
SDINPUT("RECA LL DATE PER PATIENT" , BLDREC+13, VALIDATE+12*, LL DATE" , BLDREC+12, VALIDATE+10*, LL IEN" , CREATERECREQ+4*, CREATERECREQ+5, CREATERECREQ+7
, CREATERECREQ+10, UPDRECALLREQ+5, UPDRECALLREQ+8, UPDRECALLREQ+9, BLDREC+2, VALIDATE+3*, VALIDATE+4, LL PROVIDER IEN" , BLDREC+9, VALIDATE+8*
SDINPUT("SECO ND PRINT DATE" , BLDREC+17, VALIDATE+14*
SDMSG CREATERECREQ+1~, CREATERECREQ+10, UPDRECALLREQ+1~, UPDRECALLREQ+8
SDPRV KEY+6~, KEY+8*, KEY+9, KEY+10
SDRECREQ CREATERECREQ+1~, CREATERECREQ+7, CREATERECREQ+10, CREATERECREQ+12, UPDRECALLREQ+1~, UPDRECALLREQ+5, UPDRECALLREQ+8, UPDRECALLREQ+10, RETURNERROR~, RETURNERROR+1*
, RETURNERROR+2, RETURNERROR+3, SETEMPTYOBJ~
SDRECREQ("RecallReqCreate" CREATERECREQ+11*, SETEMPTYOBJ+1*
SDRECREQ("RecallReqEdit" UPDRECALLREQ+9*, SETEMPTYOBJ+2*
SECPRNTDT VALIDATESECPDT~, VALIDATESECPDT+1*, VALIDATESECPDT+2*, VALIDATESECPDT+3*, VALIDATESECPDT+4
U KEY+8, KEY+10
USERDUZ VALIDATERECALIEN~, VALIDATERECALIEN+4, KEY~, KEY+13
VALUE KEY+12~, KEY+13*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All