| TITLE | VALUE | |
|---|---|---|
| NAME | SDES2 GET APPT TYPES BY DFN | |
| DESCRIPTION | This RPC will return the active appointment types for a patient specified by the DFN. Can only be invoked by Acheron | |
| TAG | GETAPTYDFN | |
| ROUTINE | SDES2APPTYPES | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | SDCONTEXT | |
| DESCRIPTION | SDCONTEXT("ACHERON AUDIT ID") - Up to 40 Character unique ID number. - Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37 SDCONTEXT("USER DUZ") - The DUZ of the user taking action in the calling application. SDCONTEXT("USER SECID") - The SECID of the user taking action in the calling application. SDCONTEXT("PATIENT DFN") - The DFN/IEN of the target patient from the calling application. SDCONTEXT("PATIENT ICN") - The ICN of the target patient from the calling application. | |
| PARAMETER TYPE | LIST | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 32000 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | SDPARAM | |
| DESCRIPTION | SDPARAM("DFN")= Patient (File #2) DFN used to show Appointment Types for this Patient (required) | |
| PARAMETER TYPE | LIST | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 32000 | |
| RETURN VALUE TYPE | ARRAY | |
| RETURN PARAMETER DESCRIPTION | {"AppointmentTypes":[ {"AppTypeIEN":1, "AppTypeName":"COMPENSATION & PENSION" }, |TAB| {"AppTypeIEN":3, |TAB| "AppTypeName":"ORGAN DONORS" }, {"AppTypeIEN":6, "AppTypeName":"RESEARCH" }, {"AppTypeIEN":9, "AppTypeName":"REGULAR" } ] } | |
| AVAILABILITY | RESTRICTED | |
| INACTIVE | ACTIVE | |
| CLIENT MANAGER | ||
| WORD WRAP ON | FALSE | |
| VERSION | 1 | |
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | Yes | |