SDES2 DELETE LETTER (5121)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 DELETE LETTER
TAG DELETELETTER
ROUTINE SDES2ENTERLETTER
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
CLIENT MANAGER YES
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will allow for the deletion of an existing letter in the LETTER 
(#407.5) file.
 
Can only be invoked by Acheron
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
    
  • LETTER
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
     LETTER("LETTER IEN")=""                 REQ 
    
RETURN PARAMETER DESCRIPTION
A deletion message including the IEN of the deleted LETTER (#407.5) record
  }
or an error message:
 
 
  {
      "Letter": "",
      {
              "IEN": "LETTER IEN 123 has successfully been deleted."
      }