SDES2 SEARCH LETTER (5122)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 SEARCH LETTER
TAG SEARCHLETTER
ROUTINE SDES2ENTERLETTER
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
CLIENT MANAGER YES
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will search for and return Letter Names and IENs from the LETTER 
 (#407.5) file for records that match the search criteria.
 
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
    
  • SEARCH
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
     SEARCH("LETTER TYPE")=""        REQ  ('A', 'C', 'N', 'P' are valid)
     SEARCH("SEARCH STRING")=""      OPT  (3 to 35 characters)
    
RETURN PARAMETER DESCRIPTION
   {
          }
       ]
   }
       "Search": [
          {
               "LetterIEN": 123,
               "LetterName": "LETTER ONE"
          },
          {
               "LetterIEN": 456,
               "LetterName": "LETTER TWO"