SDES2APPTCLNLST ;ALB/TJB - SDES2 GET APPTS CLINIEN LIST ;DEC 1,2023
Source file <SDES2APPTCLNLST.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 6 | ($$FMTISO,$$ISOTFM)^SDAMUTDT (BUILDJSON,ERRLOG)^SDES2JSON PATIENTADDON^SDES2PATDATA VALCLINIEN^SDES2VAL44 VALCONTEXT^SDES2VALCONTEXT GETAPPOINTMENTS^SDESGETAPPTWRAP4 |
Kernel | 1 | ($$FMADD,$$NOW)^XLFDT |
VA FileMan | 1 | $$GET1^DIQ |
Name | Comments | DBIA/ICR reference |
---|---|---|
APPTBYCLNLIST(RETNJSON,SDCONTEXT,SDPARAM) | ;
|
|
VALPARAM(ERRORS,SDPARAM) | ; Validate the clinics in the INPUTARRAY
|
|
BUILDCLINAPPT(RETNJSON,SDCONTEXT,SDPARAM,ERRORS) | ; Build the list of appointments for clinics specified
|
|
APPTBYCLINIC2EXT(SDAPPT,SDCLINICIEN,SDBEG,SDEND,SDDUZ,SDEAS) | ;
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | BUILDCLINAPPT+14, BUILDCLINAPPT+15, BUILDCLINAPPT+16, APPTBYCLINIC2EXT+21, APPTBYCLINIC2EXT+22, APPTBYCLINIC2EXT+23 |
$$FMTISO^SDAMUTDT | BUILDCLINAPPT+3 |
$$ISOTFM^SDAMUTDT | BUILDCLINAPPT+9 |
BUILDJSON^SDES2JSON | APPTBYCLNLIST+4, BUILDCLINAPPT+20 |
ERRLOG^SDES2JSON | VALPARAM+2 |
PATIENTADDON^SDES2PATDATA | APPTBYCLINIC2EXT+30 |
VALCLINIEN^SDES2VAL44 | VALPARAM+4 |
VALCONTEXT^SDES2VALCONTEXT | APPTBYCLNLIST+2 |
GETAPPOINTMENTS^SDESGETAPPTWRAP4 | APPTBYCLINIC2EXT+24 |
$$FMADD^XLFDT | BUILDCLINAPPT+10, BUILDCLINAPPT+11 |
$$NOW^XLFDT | BUILDCLINAPPT+2, BUILDCLINAPPT+3 |
RPC Name | Call Tags |
---|---|
SDES2 GET APPTS CLINIEN LIST | APPTBYCLNLIST |
FileNo | Call Tags |
---|---|
^DIC(4 - [#4] | GET1^DIQ |
^DG(40.8 - [#40.8] | GET1^DIQ |
^SDEC(409.84 - [#409.84] | GET1^DIQ |
^SC - [#44] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SDEC(409.831 - [#409.831] | APPTBYCLINIC2EXT+10, APPTBYCLINIC2EXT+11 |
^SDEC(409.84 - [#409.84] | APPTBYCLINIC2EXT+15, APPTBYCLINIC2EXT+18 |
Name | Line Occurrences |
---|---|
APPTBYCLINIC2EXT | BUILDCLINAPPT+12 |
BUILDCLINAPPT | APPTBYCLNLIST+6 |
VALPARAM | APPTBYCLNLIST+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTDATA | APPTBYCLINIC2EXT+1~ |
APPTDT | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+13*, APPTBYCLINIC2EXT+15*, APPTBYCLINIC2EXT+16, APPTBYCLINIC2EXT+18 |
APPTIEN | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+3*, APPTBYCLINIC2EXT+17*, APPTBYCLINIC2EXT+18*, APPTBYCLINIC2EXT+20 |
APPTLIST | APPTBYCLNLIST+1~, BUILDCLINAPPT+1~, BUILDCLINAPPT+20 |
APPTLIST("Clinics" | BUILDCLINAPPT+17*, BUILDCLINAPPT+18*, BUILDCLINAPPT+19* |
CLINTODAY | BUILDCLINAPPT+1~, BUILDCLINAPPT+9*, BUILDCLINAPPT+10, BUILDCLINAPPT+11 |
CLNIEN | VALPARAM+1~, VALPARAM+4* |
COUNTER | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+3*, APPTBYCLINIC2EXT+25*, APPTBYCLINIC2EXT+26, APPTBYCLINIC2EXT+31 |
DFN | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+21*, APPTBYCLINIC2EXT+24, APPTBYCLINIC2EXT+30 |
DIVISION | BUILDCLINAPPT+13~, BUILDCLINAPPT+14*, BUILDCLINAPPT+15 |
DUZ | APPTBYCLINIC2EXT+30 |
ERRORS | APPTBYCLNLIST+1~, APPTBYCLNLIST+2, APPTBYCLNLIST+3, APPTBYCLNLIST+4, APPTBYCLNLIST+6, VALPARAM~, VALPARAM+2, VALPARAM+4, BUILDCLINAPPT~ |
ERRORS("Clinics" | APPTBYCLNLIST+4* |
IENCOUNT | APPTBYCLNLIST+1~, BUILDCLINAPPT+1~, BUILDCLINAPPT+5*, BUILDCLINAPPT+6*, BUILDCLINAPPT+17, BUILDCLINAPPT+18, BUILDCLINAPPT+19 |
INDEX | VALPARAM+1~*, VALPARAM+4*, BUILDCLINAPPT+1~, BUILDCLINAPPT+5*, BUILDCLINAPPT+6* |
INSTITUT | BUILDCLINAPPT+13~, BUILDCLINAPPT+15*, BUILDCLINAPPT+16 |
JSONERR | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+3* |
PATIENT | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+29*, APPTBYCLINIC2EXT+30, APPTBYCLINIC2EXT+31 |
POP | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+3*, APPTBYCLINIC2EXT+15, APPTBYCLINIC2EXT+16* |
RESTYPE | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+11*, APPTBYCLINIC2EXT+12 |
RETNJSON | APPTBYCLNLIST~, APPTBYCLNLIST+4, APPTBYCLNLIST+6, BUILDCLINAPPT~, BUILDCLINAPPT+20 |
SDALLAPPTARY | APPTBYCLINIC2EXT+2~, APPTBYCLINIC2EXT+24 |
SDALLAPPTARY("Appointment" | APPTBYCLINIC2EXT+26 |
SDAPPT | APPTBYCLINIC2EXT~ |
SDAPPT("Appt" | APPTBYCLINIC2EXT+26*, APPTBYCLINIC2EXT+31*, APPTBYCLINIC2EXT+32* |
SDAPPTIEN | APPTBYCLINIC2EXT+2~, APPTBYCLINIC2EXT+20*, APPTBYCLINIC2EXT+21, APPTBYCLINIC2EXT+22, APPTBYCLINIC2EXT+23, APPTBYCLINIC2EXT+24 |
SDBEG | APPTBYCLINIC2EXT~, APPTBYCLINIC2EXT+6*, APPTBYCLINIC2EXT+13 |
SDBEGDATE | APPTBYCLINIC2EXT+2~, APPTBYCLINIC2EXT+22*, APPTBYCLINIC2EXT+24 |
SDCLINIC | BUILDCLINAPPT+1~, BUILDCLINAPPT+6*, BUILDCLINAPPT+9, BUILDCLINAPPT+12, BUILDCLINAPPT+14, BUILDCLINAPPT+18 |
SDCLINICIEN | APPTBYCLINIC2EXT~, APPTBYCLINIC2EXT+10 |
SDCONTEXT | APPTBYCLNLIST~, APPTBYCLNLIST+2, APPTBYCLNLIST+6, BUILDCLINAPPT~ |
SDCONTEXT("US | ER DUZ" , BUILDCLINAPPT+12 |
SDDUZ | APPTBYCLINIC2EXT~, APPTBYCLINIC2EXT+30 |
SDEAS | APPTBYCLINIC2EXT~ |
SDECY | APPTBYCLINIC2EXT+4! |
SDEND | APPTBYCLINIC2EXT~, APPTBYCLINIC2EXT+7*, APPTBYCLINIC2EXT+14*, APPTBYCLINIC2EXT+16 |
SDENDDATE | APPTBYCLINIC2EXT+2~, APPTBYCLINIC2EXT+23*, APPTBYCLINIC2EXT+24 |
SDPARAM | APPTBYCLNLIST~, APPTBYCLNLIST+3, APPTBYCLNLIST+6, VALPARAM~, BUILDCLINAPPT~ |
SDPARAM("CLIN | IC IEN" , VALPARAM+2, VALPARAM+4, BUILDCLINAPPT+6 |
SDRESIEN | APPTBYCLINIC2EXT+1~, APPTBYCLINIC2EXT+9*, APPTBYCLINIC2EXT+10*, APPTBYCLINIC2EXT+11, APPTBYCLINIC2EXT+15, APPTBYCLINIC2EXT+18 |
SDVIEWAPPTBY | APPTBYCLINIC2EXT+2~, APPTBYCLINIC2EXT+19*, APPTBYCLINIC2EXT+24 |
STATION | BUILDCLINAPPT+13~, BUILDCLINAPPT+16*, BUILDCLINAPPT+17 |
TEMPLIST | BUILDCLINAPPT+7~, BUILDCLINAPPT+12, BUILDCLINAPPT+19 |
TODAYEOD | BUILDCLINAPPT+1~, BUILDCLINAPPT+11*, BUILDCLINAPPT+12 |
TODAYEXTERNAL | APPTBYCLNLIST+1~ |
TODAYFM | BUILDCLINAPPT+1~, BUILDCLINAPPT+2* |
TODAYISO | BUILDCLINAPPT+1~, BUILDCLINAPPT+3*, BUILDCLINAPPT+9 |
VALDT | BUILDCLINAPPT+7~ |
YESTERDAYEXTERNL | APPTBYCLNLIST+1~ |
YESTERDAYFM | BUILDCLINAPPT+1~, BUILDCLINAPPT+10*, BUILDCLINAPPT+12 |