SDES2 PRINT APT LETTERS VISTA (5148)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 PRINT APT LETTERS VISTA
TAG PRINTAPPTS
ROUTINE SDES2APTLETTERSV
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
APP PROXY ALLOWED Yes
DESCRIPTION
 Print list of appointment letters to a VistA device.
  
 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
    
  • SDPARAM
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDPARAM("APPT IEN ARRAY",Appt IEN 1) = ""
    SDPARAM("DEVICE") = The device IEN from the DEVICE file (#3.5).  This
                        can be retrieved by using the SDES2 GET VISTA
                        DEVICES RPC.
    SDPARAM("LETTER TYPE") = The letter type to be printed:
                             P - Pre-Appointment
                             C - Cancellation
                             N - No-show
    
RETURN PARAMETER DESCRIPTION
{
  }
 ]
}
 "PrintResults": [
  {
   "AppointmentID": 292884,
   "Status": "Print Queued."
  },
  {
    "AppointmentID": 292956,
    "Status": "Print Queued."