SDES2APPTYPES ;ALB/TJB - VISTA SCHEDULING SDES2 GET APPOINTMENT TYPES RPC in APPOINTMENT TYPES FILE 409.1 ;October 11, 2023
Source file <SDES2APPTYPES.m>
| 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
 | 
| 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 |