SDES2 PRINT APT LETTER VISTA (5147)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 PRINT APT LETTER VISTA
TAG PRINTAPPT
ROUTINE SDES2APTLETTERSV
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Print single appointment letter.
 Pre-appointment
 Cancellation
 No-show
 
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") = Appointment IEN for which a letter is to be printed.
    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
Successful Return:
 {
         "PrintResults": [
                 {
                         "AppointmentID": 292884,
                         "Status": "Print Queued."
                 }
         ]
 }