SDEC ARSET (3600)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC ARSET
TAG ARSET
ROUTINE SDEC
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
Appointment Request Set
INPUT PARAMETER
  • INP
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
      ;  INP(1)  = (integer)  Wait List IEN point to
      ;  INP(7)  = (text)     Originating User name  - NAME field in NEW 
    PERSON file 200
      ;  INP(8)  = (text)     Priority - 'ASAP' or 'FUTURE'
      ;  INP(9)  = (text)     Request By - 'PROVIDER' or 'PATIENT'
      ;  INP(10) = (text)     Provider name  - NAME field in NEW PERSON file 
      ;  INP(11) = (date)     Desired Date of appointment in external format.
      ;  INP(12) = (text)     comment - maximum of 24K characters.  Note: 
    lines are to separated by carriage return (ASCII 13).
      ;  INP(13) = (text)     ENROLLMENT PRIORITY - Valid Values are:
      ;                       SDEC APPT REQUEST file 409.85.
      ;                                             GROUP 1
      ;                                             GROUP 2
      ;                                             GROUP 3
      ;                                             GROUP 4
      ;                                             GROUP 5
      ;                                             GROUP 6
      ;                                             GROUP 7
      ;                                             GROUP 8
      ;  INP(14) = (text)     MULTIPLE APPOINTMENT RTC      NO; YES
      ;  INP(15) = (integer)  MULT APPT RTC INTERVAL integer between 1-365
      ;                       If null, a new entry will be added
      ;  INP(16) = (integer)  MULT APPT NUMBER integer between 1-100
      ;  INP(17) = Patient Contacts separated by ::
      ;            Each :: piece has the following ~~ pieces:
      ;            1) = (date)    DATE ENTERED external date/time
      ;            2) = (text)    PC ENTERED BY USER ID or NAME - Pointer to 
      ;                           NEW PERSON file or NAME
      ;            4) = (text)    ACTION - 'Called' or 'Message Left'
      ;            5) = (optional) PATIENT PHONE Free-Text 4-20 characters
      ;  INP(18) = (optional) SERVICE CONNECTED PRIORITY valid values are NO  
    YES
      ;  INP(2)  = (text)     DFN Pointer to the PATIENT file 2
      ;  INP(19) = (optional) SERVICE CONNECTED PERCENTAGE = numeric 0-100
      ;  INP(20) = (optional) MRTC calculated preferred dates separated by 
    pipe |:
      ;                       Each date can be in external format with no 
    time.
     ;  INP(21) = (optional) CLINIC STOP pointer to CLINIC STOP file 40.7
     ;                       used to populate the REQ SERVICE/SPECIALTY field 
    in 409.85
     ;  INP(22) = (optional) Appointment Type ID pointer to APPOINTMENT TYPE 
    file 409.1
      ;  INP(3)  = (date)     Originating Date/time in external date form
     ;  INP(23) = (optional) Patient Status
     ;                          N = NEW
     ;                          E = ESTABLISHED
     ;  INP(24) = (optional) MULT APPTS MADE
     ;                    list of child pointers to SDEC APPOINTMENT and/or 
    SDEC APPT REQUEST files separated by pipe
     ;                    each pipe piece contains the following ~ pieces:
     ;                1. Appointment Id pointer to SDEC APPOINTMENT file 
     ;                2. Request Id pointer to SDEC APPT REQUEST file 409.85
      ;  INP(4)  = (text)     Institution name NAME field from the 
     ;  INP(25) = (optional) PARENT REQUEST pointer to SDEC APPT REQUEST file 
     ;  INP(26) = (optional) NLT (No later than) [CPRS RTC REQUIREMENT]
     ;  INP(27) = (optional) PREREQ (Prerequisites) [CPRS RTC REQUIREMENT]
     ;  INP(28) = (optional) ORDER IEN [CPRS RTC REQUIREMENT]
     ;  INP(29) = (optional) VAOS GUID  <== wtc patch 686 3/21/18 added for 
    VAOS requests
     ;  INP(30) = (optional) source of the call.  See Scheduling Events 
    (#409.94), field 1 for list of values.  Default is "GUI".
     ; 
    INSTITUTION file
      ;  INP(5)  = (text)     Request Type
      ;  INP(6)  = (text)     REQ Specific Clinic name - NAME field in file 44
    
RETURN PARAMETER DESCRIPTION
Return a single entry in the Global Array with the fields ERRORID and 
ERRORTEXT.