SDES2 GET LETTER TYPES (5125)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET LETTER TYPES
TAG GETLETTERTYPES
ROUTINE SDES2GETLETRTYPE
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns all active letter types associated with letters 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")
     SDCONTEXT("PATIENT ICN")
     
      - The ICN of the target patient from the calling application.
      - Up to 40 Character unique ID number. 
      - Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
     SDCONTEXT("USER DUZ")
      - The DUZ of the user taking action in the calling application.
     SDCONTEXT("USER SECID")
      - The SECID of the user taking action in the calling application.
     SDCONTEXT("PATIENT DFN")
      - The DFN/IEN of the target patient from the calling application.
    
RETURN PARAMETER DESCRIPTION
{
          "type":  "C"
        },
        {
          "type":  "N"
        },
        {
          "type":  "P"
        }
        ]
}
  "letterTypes":  [
        {
          "type":  "A"
        },
        {
          "type":  "B"
        },
        {