SDES GET LETTERS BY TYPE

TITLEVALUE
NAMESDES GET LETTERS BY TYPE
DESCRIPTIONThis RPC will retrieve a list of letters from the LETTER file ($407.5),
given the letter type (required), and text to match (optional).

Can only be invoked by Acheron
TAGGETLETTERSBYTYPE
ROUTINESDES2
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERTYPE
DESCRIPTIONThis is the type of letter from the LETTER TYPE file (#407.6). Currently
the values are:
N - No show
A - Appointment Cancellation
P - Preappointment Cancellation
C - Clinic Cancellation
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERTEXT
DESCRIPTIONThis is the text used to match record entries. If 'CHY' is passed, only
records that begin with 'CHY' will be returned. This text match is in
addition to the type provided.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERBRIEF
DESCRIPTIONThis flag indiciates that the calling application wants a 'brief' list,
instead of the 'verbose' list. The verbose list contains the letter text,
resulting in a larger returned data set. It may be advantageous in some
cases to retrieve a brief list, and use SDES GET LETTER BY IEN to
retrieve the details.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETEREASTRCKNGNMBR
DESCRIPTIONEnterprise Appointment Scheduling (EAS) Tracking Number associated to an
appointment.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH40

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA list of letters (brief or verbose), following the below format.

The Brief version - will not include 'Initial Section' and 'Final
Section'.

{
"Letter": [
{
"FinalSection": [
"If you would like to reschedule your appointment please call us at ",
"(xxx)xxx-xxxx x1234 or toll free at 1-(xxx)xxx-xxxx x1234. We
apologize",
"for the inconvenience.",
" ",
" ",
"Thank you for your service,",
" ",
"Cheyenne VAMC Dental Clinic"
],
"ID": 192,
"InitialSection": [
"This letter is to inform you that the following appointment has been
",
"cancelled:"
],
"Name": "CHY DENTAL CC",
"PrintClinicLocation": "",
"PrintDefaultProvider": "",
"Type": "CLINIC CANCELLED "
}
]
}
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes