SDES2 PRINT APPT LETTERS

TITLEVALUE
NAMESDES2 PRINT APPT LETTERS
DESCRIPTIONA 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.

Can only be invoked by Acheron
TAGPRINTLETTERS
ROUTINESDES2APTLETTER
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDCONTEXT
DESCRIPTIONSDCONTEXT("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 TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDINPUT
DESCRIPTIONSDINPUT("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.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
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 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.",
" ",
"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"
]
},
{
"addressPatient": [
" ONE DEMO",
" 1714 ZUNI ST, UNIT B",
" CHEYENNE WY 82001"
],
"appointmentID": 300655,
"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
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",
"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",

" 3266"
]
}
]
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes