DSIRLTRS UPDATE

TITLEVALUE
NAMEDSIRLTRS UPDATE
DESCRIPTIONThis RPC will add/update letters in file 19620.16 (DSIR LOCAL LETTERS).
TAGUPDATE
ROUTINEDSIRLTRS
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERIEN
DESCRIPTIONInternal Entry Number of the Letter or Null if new.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH99

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDATA
DESCRIPTIONArray that contains the Letter Data
Main Record => M ^ Name ^ National Letter Pointer ^ Signature
Block (C,F,S) ^ ID Clerk by Name (0 = No, 1 = Yes) ^ Address to Patient (0
= No, 1 = Yes)

Paragraph Header => PH ^ Name ^ Read Only (0 = No, 1 = Yes) [This
node occurs multiple times for each M entry]

Paragraph Text => Text [This node occurs multiple times for each
PH entry]
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH245

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONIEN = New IEN created or IEN passed when successfully updated

Or one of the following error messages:

-1 ^ No Data to Store!
-1 ^ A letter named (NAME) already exists cannot create a duplicate!
-1 ^ (NAME) already exists, cannot rename a letter to an existing
letter!
-1 ^ Unable to change the name of a National Letter! (EXISTING LETTER
NAME)
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED