SDES2APPTYPES ;ALB/TJB - VISTA SCHEDULING SDES2 GET APPOINTMENT TYPES RPC in APPOINTMENT TYPES FILE 409.1 ;October 11, 2023
Source file <SDES2APPTYPES.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 3 | (BUILDJSON,ERRLOG)^SDES2JSON VALCONTEXT^SDES2VALCONTEXT VALFILEIEN^SDES2VALUTIL |
Registration | 1 | ELIG^VADPT |
VA FileMan | 1 | $$GET1^DIQ |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETAPPTYPES(RETURNJSON,SDCONTEXT,SDPARAM) | ;Entry point
|
|
INITVAR(PARAM,STATUS) | ;
|
|
VALINPUTPARAM(ERRORS,APPTSTATUS) | ;
|
|
GETAPTYDFN(RETURNJSON,SDCONTEXT,SDPARAM) | ;Entry point
; SDCONTEXT is the same as above ; SDPARAM("DFN")=DFN Patient (File #2) DFN used to show Appointment Types for this Patient (required) |
|
APPTYPES(RET,APPTSTAT) | ; EP for SDEC APPTYPES
|
|
DFNAPPTYPS(RET,DFN) | ; Return all the eligible active APPTYPES for a specific Patient DFN
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | APPTYPES+6, APPTYPES+11, DFNAPPTYPS+3, DFNAPPTYPS+6, DFNAPPTYPS+7, DFNAPPTYPS+8, DFNAPPTYPS+12 |
BUILDJSON^SDES2JSON | GETAPPTYPES+25, GETAPPTYPES+28, GETAPPTYPES+31, GETAPTYDFN+13, GETAPTYDFN+15 |
ERRLOG^SDES2JSON | VALINPUTPARAM+2, VALINPUTPARAM+4 |
VALCONTEXT^SDES2VALCONTEXT | GETAPPTYPES+24, GETAPTYDFN+11 |
VALFILEIEN^SDES2VALUTIL | GETAPTYDFN+12 |
ELIG^VADPT | DFNAPPTYPS+2 |
RPC Name | Call Tags |
---|---|
SDES2 GET APPT TYPES BY DFN | GETAPTYDFN |
FileNo | Call Tags |
---|---|
^SD(409.1 - [#409.1] | GET1^DIQ |
^DIC(8 - [#8] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SD(409.1 - [#409.1] | APPTYPES+5, DFNAPPTYPS+5 |
Name | Line Occurrences |
---|---|
APPTYPES | GETAPPTYPES+30 |
DFNAPPTYPS | GETAPTYDFN+14 |
INITVAR | GETAPPTYPES+26 |
VALINPUTPARAM | GETAPPTYPES+27 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTSTAT | APPTYPES~, APPTYPES+7, APPTYPES+8 |
APPTSTATUS | VALINPUTPARAM~, VALINPUTPARAM+2, VALINPUTPARAM+3 |
APTINACT | APPTYPES+3~, APPTYPES+6*, APPTYPES+7, APPTYPES+8 |
APTYDATA | DFNAPPTYPS+1~ |
APTYIEN | APPTYPES+3~, APPTYPES+5*, APPTYPES+6, APPTYPES+10, APPTYPES+11, DFNAPPTYPS+1~, DFNAPPTYPS+5*, DFNAPPTYPS+6, DFNAPPTYPS+7, DFNAPPTYPS+8 , DFNAPPTYPS+11, DFNAPPTYPS+12 |
APTYNAME | APPTYPES+3~ |
COUNT | APPTYPES+3~, APPTYPES+4*, APPTYPES+9*, APPTYPES+10, APPTYPES+11, DFNAPPTYPS+1~, DFNAPPTYPS+4*, DFNAPPTYPS+10*, DFNAPPTYPS+11, DFNAPPTYPS+12 |
DEFAULTELIG | DFNAPPTYPS+1~, DFNAPPTYPS+8*, DFNAPPTYPS+9 |
DFN | DFNAPPTYPS~ |
DUALELIG | DFNAPPTYPS+1~, DFNAPPTYPS+7*, DFNAPPTYPS+9 |
ERRORS | GETAPPTYPES+19~, GETAPPTYPES+24, GETAPPTYPES+25, GETAPPTYPES+27, GETAPPTYPES+28, VALINPUTPARAM~, VALINPUTPARAM+2, VALINPUTPARAM+4, GETAPTYDFN+10~, GETAPTYDFN+11 , GETAPTYDFN+12, GETAPTYDFN+13 |
ERRORS("AppointmentTypes" | GETAPPTYPES+25*, GETAPPTYPES+28*, GETAPTYDFN+13* |
PARAM | INITVAR~ |
PARAM("APP TY | PE STATUS" , INITVAR+1 |
RET | APPTYPES~, DFNAPPTYPS~ |
RET("AppointmentTypes" | APPTYPES+10*, APPTYPES+11*, DFNAPPTYPS+11*, DFNAPPTYPS+12* |
RETURN | GETAPPTYPES+19~, GETAPPTYPES+30, GETAPPTYPES+31, GETAPTYDFN+10~, GETAPTYDFN+14, GETAPTYDFN+15 |
RETURNJSON | GETAPPTYPES~, GETAPPTYPES+22!, GETAPPTYPES+25, GETAPPTYPES+28, GETAPPTYPES+31, GETAPTYDFN~, GETAPTYDFN+13, GETAPTYDFN+15 |
SDAPPTSTATUS | GETAPPTYPES+20~, GETAPPTYPES+26, GETAPPTYPES+27, GETAPPTYPES+30 |
SDCONTEXT | GETAPPTYPES~, GETAPPTYPES+24, GETAPTYDFN~, GETAPTYDFN+11 |
SDEC | DFNAPPTYPS+1~, DFNAPPTYPS+3*, DFNAPPTYPS+9 |
SDPARAM | GETAPPTYPES~, GETAPPTYPES+26, GETAPTYDFN~ |
SDPARAM("DFN" | GETAPTYDFN+12, GETAPTYDFN+14 |
STATUS | INITVAR~, INITVAR+1* |
T1 | VALINPUTPARAM+1~, VALINPUTPARAM+3*, VALINPUTPARAM+4 |
VAEL | DFNAPPTYPS+2~ |
VAEL(1 | DFNAPPTYPS+3, DFNAPPTYPS+9 |
VRETURN | GETAPTYDFN+10~, GETAPTYDFN+12 |