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

Package: Scheduling

Routine: SDESMISSIONELG


Information

SDESMISSIONELG ;ALB/ANU,LAB,MGD - VISTA SCHEDULING RPCS GET MISSION ELIGIBILITY ; July 19, 2022

Source Information

Source file <SDESMISSIONELG.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 5 ($$FMTISO,$$ISOTFM)^SDAMUTDT  GETSLOTS^SDEC57  $$FMTONET^SDECDATE  ERRLOG^SDESJSON  $$EASVALIDATE^SDESUTIL  
Kernel 2 $$FMADD^XLFDT  ENCODE^XLFJSON  
VA FileMan 2 $$FIND1^DIC  $$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: 1

Package Total Caller Graph
Scheduling 1 SDES  

Entry Points

Name Comments DBIA/ICR reference
GETMISSIONELG(ELGRETURN,APPTREQIEN,PID,APPTREQTYP,SDEAS,APPTDATE) ; Get Mission Eligibility
; This RPC gets User name, Keys and Scheduling Options for a given User.
; Input:
; ELGRETURN - [required] - Success or Error message
; APPTREQIEN - [required] - The IEN
; APPTREQTYP - [required] - APPOINTMENT REQUEST type
; PID - [required] - Patient Indicated Date
; SDEAS - [optional] - Enterprise Appointment Scheduling (EAS) Tracking Number associated to an appointment.
VALIDATE(ERRORS,APPTREQIEN,PID,APPTREQTYP,SDEAS,SDAPPTAVAIL,APPTDATE) ; Validate Appointment Request IEN, Request Date, PID Date
GETMSNELG(ELGARRAY,REQDATE,REQENDDT,PIDDATE,SDAPPTAVAIL,APPTDATE) ; GET Eligibility
BUILDJSON(JSONRETURN,INPUT) ; Build JSON format
CLEANUP ; Cleanup

External References

Name Field # of Occurrence
$$FIND1^DIC VALIDATE+30, VALIDATE+53
$$GET1^DIQ VALIDATE+12, VALIDATE+13, VALIDATE+17, VALIDATE+18, VALIDATE+22, VALIDATE+23, VALIDATE+28, VALIDATE+35, VALIDATE+36, VALIDATE+55
$$FMTISO^SDAMUTDT VALIDATE+81
$$ISOTFM^SDAMUTDT VALIDATE+42, VALIDATE+48
GETSLOTS^SDEC57 VALIDATE+71
$$FMTONET^SDECDATE VALIDATE+69, VALIDATE+70
ERRLOG^SDESJSON VALIDATE+5, VALIDATE+8, VALIDATE+9, VALIDATE+11, VALIDATE+16, VALIDATE+21, VALIDATE+26, VALIDATE+29, VALIDATE+31, VALIDATE+32
, VALIDATE+34, VALIDATE+41, VALIDATE+43, VALIDATE+47, VALIDATE+49, VALIDATE+63
$$EASVALIDATE^SDESUTIL VALIDATE+62
$$FMADD^XLFDT VALIDATE+58, VALIDATE+59
ENCODE^XLFJSON BUILDJSON+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^DIC(40.7 - [#40.7] GET1^DIQ
^SD(403.5 - [#403.5] GET1^DIQ
^SDEC(409.831 - [#409.831] FIND1^DIC
^SDEC(409.85 - [#409.85] GET1^DIQ
^SDEC(409.89 - [#409.89] FIND1^DIC,  GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(123 - [#123] VALIDATE+16
^SD(403.5 - [#403.5] VALIDATE+21
^SDEC(409.85 - [#409.85] VALIDATE+11
^TMP($J VALIDATE+67

Label References

Name Line Occurrences
$$GETMSNELG GETMISSIONELG+17
$$VALIDATE GETMISSIONELG+15
BUILDJSON GETMISSIONELG+20
CLEANUP GETMISSIONELG+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTDATE GETMISSIONELG~, GETMISSIONELG+15, GETMISSIONELG+17, VALIDATE~, VALIDATE+46*, VALIDATE+47, VALIDATE+48*, VALIDATE+49*, GETMSNELG~, GETMSNELG+4
APPTREQIEN GETMISSIONELG~, GETMISSIONELG+15, VALIDATE~, VALIDATE+5, VALIDATE+11, VALIDATE+12, VALIDATE+13, VALIDATE+16, VALIDATE+17, VALIDATE+18
, VALIDATE+21, VALIDATE+22, VALIDATE+23
APPTREQTYP GETMISSIONELG~, GETMISSIONELG+15, VALIDATE~, VALIDATE+8, VALIDATE+9, VALIDATE+10, VALIDATE+15, VALIDATE+20
ELGARRAY GETMSNELG~, GETMSNELG+9
ELGARRAY("MissionEligibility" GETMSNELG+2*, GETMSNELG+3*, GETMSNELG+7*, GETMSNELG+8*
ELGFIELDSARRAY GETMISSIONELG+9~, GETMISSIONELG+13*, GETMISSIONELG+17, GETMISSIONELG+18, CLEANUP+1!
ELGRETURN GETMISSIONELG~, GETMISSIONELG+20
ERRORFLAG VALIDATE+1~, VALIDATE+5*, VALIDATE+8*, VALIDATE+9*, VALIDATE+11*, VALIDATE+16*, VALIDATE+21*, VALIDATE+25, VALIDATE+26*, VALIDATE+29*
, VALIDATE+31*, VALIDATE+32*, VALIDATE+33, VALIDATE+34*, VALIDATE+41*, VALIDATE+43*, VALIDATE+47*, VALIDATE+49*, VALIDATE+63*, VALIDATE+73
, VALIDATE+90, CLEANUP+2!
ERRORS VALIDATE~, VALIDATE+5, VALIDATE+8, VALIDATE+9, VALIDATE+11, VALIDATE+16, VALIDATE+21, VALIDATE+26, VALIDATE+29, VALIDATE+31
, VALIDATE+32, VALIDATE+34, VALIDATE+41, VALIDATE+43, VALIDATE+47, VALIDATE+49, VALIDATE+63
HASDATA GETMSNELG+1~, GETMSNELG+9*, GETMSNELG+10, CLEANUP+3!
HASFIELDS GETMISSIONELG+9~, GETMISSIONELG+13*, GETMISSIONELG+17*, GETMISSIONELG+18, CLEANUP+1!
HASVLDERRORS GETMISSIONELG+9~, GETMISSIONELG+15*, GETMISSIONELG+16, GETMISSIONELG+17, CLEANUP+1!
II VALIDATE+1~, VALIDATE+75*, VALIDATE+76, VALIDATE+77, VALIDATE+78, VALIDATE+79, VALIDATE+84, VALIDATE+88
INPUT BUILDJSON~
JSONERROR BUILDJSON+1*, CLEANUP+4!
JSONRETURN BUILDJSON~
PID GETMISSIONELG~, GETMISSIONELG+15, VALIDATE~, VALIDATE+40*, VALIDATE+41, VALIDATE+42
PIDDATE GETMISSIONELG+11~, GETMISSIONELG+17, VALIDATE+42*, VALIDATE+43*, GETMSNELG~, GETMSNELG+6
REQDATE GETMISSIONELG+9~, GETMISSIONELG+17, VALIDATE+13*, VALIDATE+18*, VALIDATE+23*, VALIDATE+34, VALIDATE+58, VALIDATE+59, VALIDATE+69, GETMSNELG~
, GETMSNELG+6
REQDATENET GETMISSIONELG+10~, VALIDATE+69*, VALIDATE+71
REQENDDT GETMISSIONELG+9~, GETMISSIONELG+17, VALIDATE+58*, VALIDATE+59*, VALIDATE+70, GETMSNELG~, GETMSNELG+4, GETMSNELG+6, CLEANUP+1!
REQENDDTNET GETMISSIONELG+10~, VALIDATE+70*, VALIDATE+71
RETURN GETMISSIONELG+9~, GETMISSIONELG+13*, GETMISSIONELG+16*, GETMISSIONELG+18*, GETMISSIONELG+20, CLEANUP+1!
SDAPPTAVAIL GETMISSIONELG+9~, GETMISSIONELG+15, GETMISSIONELG+17, VALIDATE~, VALIDATE+2*, VALIDATE+87*, GETMSNELG~, GETMSNELG+5, CLEANUP+1!
SDCLNAME VALIDATE+1~, VALIDATE+28*, VALIDATE+29, VALIDATE+30
SDCLNIEN GETMISSIONELG+9~, VALIDATE+12*, VALIDATE+17*, VALIDATE+22*, VALIDATE+26, VALIDATE+27, VALIDATE+28, VALIDATE+35, VALIDATE+42, VALIDATE+48
CLEANUP+1!
SDCLRESIEN GETMISSIONELG+11~, VALIDATE+30*, VALIDATE+32, VALIDATE+71
SDEAS GETMISSIONELG~, GETMISSIONELG+15, VALIDATE~, VALIDATE+61*, VALIDATE+62*, VALIDATE+63
SDENDDT VALIDATE+1~
SDERR VALIDATE+1~, VALIDATE+31
SDGETCLAVL GETMISSIONELG+9~, CLEANUP+1!
SDGETCLAVL( VALIDATE+88*
SDI GETMISSIONELG+10~
SDP1 VALIDATE+1~, VALIDATE+76*, VALIDATE+81, VALIDATE+82
SDP2 VALIDATE+1~, VALIDATE+77*, VALIDATE+83
SDP3 VALIDATE+1~, VALIDATE+78*
SDP4 VALIDATE+1~, VALIDATE+79*, VALIDATE+86
SDPRIM GETMISSIONELG+10~, VALIDATE+51*, VALIDATE+56*, VALIDATE+58
SDSERVICE GETMISSIONELG+9~, VALIDATE+2*, VALIDATE+58*, GETMSNELG+3, GETMSNELG+8
SDSLOTS VALIDATE+1~, VALIDATE+84*, VALIDATE+85*, VALIDATE+86*, VALIDATE+87, VALIDATE+88
SDSTOPCD GETMISSIONELG+9~, VALIDATE+35*, VALIDATE+36*, VALIDATE+37*, VALIDATE+53, CLEANUP+1!
SDSTOPCDIEN GETMISSIONELG+10~, VALIDATE+52*, VALIDATE+53*, VALIDATE+54, VALIDATE+55
SDSTOPCDTYPE GETMISSIONELG+12~, GETMISSIONELG+13*, VALIDATE+55*, VALIDATE+56
SDSTOPTM VALIDATE+1~, VALIDATE+83*, VALIDATE+88
SDSTRTDT VALIDATE+1~, VALIDATE+81*, VALIDATE+88
SDSTRTTM VALIDATE+1~, VALIDATE+82*, VALIDATE+88
SDTMPARY VALIDATE+66!, VALIDATE+67*, VALIDATE+68, VALIDATE+71, VALIDATE+73, VALIDATE+74, VALIDATE+76, VALIDATE+77, VALIDATE+78, VALIDATE+79
, VALIDATE+84, VALIDATE+89, CLEANUP+1!
SDTOTAL VALIDATE+1~, VALIDATE+74*, VALIDATE+75
U VALIDATE+76, VALIDATE+77, VALIDATE+78, VALIDATE+79, VALIDATE+84, VALIDATE+88
VLDERRORS GETMISSIONELG+9~, GETMISSIONELG+13*, GETMISSIONELG+15, GETMISSIONELG+16
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