SDES2 PRINT APPT LETTERS (5077)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 PRINT APPT LETTERS
TAG PRINTLETTERS
ROUTINE SDES2APTLETTER
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
A list of appointment IENs for which letters are to be printed. This RPC 
is intended to be used to print a list of letters for actions such as 
cancelling clinic availability, where multiple letters need to be printed 
at one time.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number.
                              calling application.
                              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
    
  • SDINPUT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDINPUT("Appointment IEN",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
     
    There can be multiple SDINPUT("Appointment IEN",IEN)="" to be able to 
    print out a batch letters.
    
RETURN PARAMETER DESCRIPTION
{
                        "appointmentID": 300647,
                                "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,",
                                " ",
                                " ",
                        "initialParagraph": [
                                "Cheyenne VA Business Office (136)"
                        ],
                        "topSection": [
                                
"                                                                
11/08/2024",
                                
"                                                                3266"
                        ]
                }
                                "This is a reminder of your appointment 
        ]
}
at the CHY BOYDA TEST on:"
                        ],
                        "salutation": [
                                "Dear Testappt Sqa,"
                        ],
                        "scheduledAppointments": [
                                "     Date/Time: FRIDAY   NOV 8, 2024  
        "letters": [
9:00 AM EASTERN",
                                "        Clinic:  CHY SOME TEST",
                                "     Location:  ROOM AC-1234",
                                "    Telephone:  222-333-9876   Telephone 
Ext.:  887",
                                "     Provider:  PROV_LAST,PROV_FIRST"
                        ],
                        "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.",
                                " ",
                        "addressPatient": [
                                "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.",
                                " ",
                                " ",
                                "           TESTAPPT SQA",
                                "Sincerely,",
                                " ",
                                " ",
                                "Cheyenne VA Business Office (136)"
                        ],
                        "topSection": [
                                
"                                                                
11/08/2024",
                                
                                "           968 SALTWATER CIR",
"                                                                4853"
                        ]
                },
                {
                        "addressPatient": [
                                "           ONE DEMO",
                                "           1714 ZUNI ST, UNIT B",
                                "           CHEYENNE WY  82001"
                        ],
                        "appointmentID": 300655,
                                "           SAINT AUGUSTINE FL  
                        "initialParagraph": [
                                "This is a reminder of your 
appointment(s) at the CHEYENNE VA MEDICAL CENTER",
                                "located at 2360 East Pershing Boulevard:"
                        ],
                        "salutation": [
                                "Dear One Demo,"
                        ],
                        "scheduledAppointments": [
                                "     Date/Time: FRIDAY   NOV 8, 2024  
32080-6305"
9:30 AM EASTERN",
                                "        Clinic:  SQA CLINIC",
                                "    Telephone:  5425425452   Telephone 
Ext.:  542"
                        ],
                        "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",