TITLE | VALUE | |
---|---|---|
NAME | SDES2 PRINT APPT LETTER | |
DESCRIPTION | Print single appointment letter. | |
TAG | PRINTLETTER | |
ROUTINE | SDES2APTLETTER | |
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 on the calling application. SDCONTEXT("USER SECID") = The SECID of the user taking action in the calling application. SDCONTEXT("PATIENT DFN")= The name of the patient taking action on the calling application. SDCONTEXT("PATIENT ICN")= The ICN of the patient taking action on the calling application. | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 32000 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | SDINPUT | |
DESCRIPTION | SDINPUT("Appointment IEN")=IEN of the Appointment from file 409.84 SDINPUT("Letter Type")=Letter type - "N"=No Show; "P"=Pre-Appointment; "A"=Cancelled by Patient; "C"=Cancelled by Clinic | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 32000 | |
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | { "letters": [ { "addressPatient": [ " TESTAPPT SQA", " 968 SALTWATER CIR", " SAINT AUGUSTINE FL 32080-6305" ], "appointmentID": 300647, "initialParagraph": [ "This is a reminder of your appointment at the CHY BOYDA TEST on:" ], "salutation": [ "Dear Testappt Sqa," ], "scheduledAppointments": [ " Date/Time: FRIDAY NOV 8, 2024 9:00 AM EASTERN", " Clinic: CHY BOYDA TEST", " Location: ROOM AC-1234", " Telephone: 222-333-9876 Telephone Ext.: 887", " Provider: CHINWEZE,KARINA M" ], "textClosing": [ " ", "You should plan to arrive at the CHEYENNE VAMC 15 minutes prior to your", "scheduled appointment. If for any reason you are unable to keep your", "appointment, please call (307) 778-7550 or toll free 1-888-483-9127", "outside of Laramie County, Wyoming to cancel and/or reschedule. We will", "do our best to see that you are promptly rescheduled.", " ", "If lab work, ultrasound or CT scan has been ordered for you, please ", "remember that this may require a 12 hour fast. If you have any questions ", "on whether you should fast, or whether you are scheduled for any lab ", "work, please call either of the above numbers for instructions.", " ", " ", "Sincerely,", " ", " ", "Cheyenne VA Business Office (136)" ], "topSection": [ " 11/08/2024", " 4853" ] } ] } Example Error output: { "Error": [ "Invalid Letter Type: B.", "Invalid Appointment ID: 300667." ], "letters": [ "" ] } | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED | Yes |