SDEC CRSCHED (3532)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC CRSCHED
TAG CRSCHED
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
Create Resource Appointment Schedule
INPUT PARAMETER
  • SDECRES
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Pipe | delimited list of resource names from the SDEC RESOURCE file
    
  • SDECSTART
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Start date/time in external form
    
  • SDECEND
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    End date/time in external format.
    
  • SDECWKIN
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Walk-in Flag
    0=do not include walk-ins
    1=include walk-ins
    
RETURN PARAMETER DESCRIPTION
Global Array in which each array entry contains data for the Resource 
  8. RESOURCENAME
  9. NOSHOW
 10. HRN
 11. ACCESSTYPEID
 12. WALKIN
 13. CHECKOUT
 14. VPROVIDER
 15. CANCELLED
 16. NOTE
 17. DAPTDT
Appointment Schedule separated by ^:
 18. APPTREQTYPE
 19. DIEDON
 20. EESTAT - Patient Status  N=NEW  E=ESTABLISHED
 21. MULT   - data from MULT APPTS MADE field of SDEC APPT REQUEST 
              separated by pipe
              each pipe piece contains the following ~ pieces:
              1. MULT APPTS MADE - pointer to SDEC APPOINTMENT
              2. PARENT REQUEST  - pointer to SDEC APPT REQUEST
 22. SDPARENT - PARENT REQUEST from SDEC APPT REQUEST. Pointer to SDEC 
                APPT REQUEST.
  1. APPOINTMENTID
 23. RESOURCEID | STARTTIME | APPTID
 24. SSN
 25. DOB
 26. patient sensitive & record access checks
 27. APPTTYPE - APPOINTMENT TYPE (#.06)
  2. START_TIME
  3. END_TIME
  4. CHECKIN
  5. AUXTIME
  6. PATIENTID
  7. PATIENTNAME