SDEC CLINLETW (3542)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC CLINLETW
TAG CLINLETW
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
Return recordset of patient walk-in appointments
between dates SDECBEG and SDECEND for each clinic in SDECCLST.
Used in listing a patient's walk-in appointments and generating patient 
letters.
SDECCLST is a |-delimited list of SDEC RESOURCE iens.  (The last |-piece 
is null, so discard it.)
SDECBEG and SDECEND are in external date form.
INPUT PARAMETER
  • SDECCLST
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Pipe | delimited list of SDEC RESOURCE ids.
    (The last | piece is null, so discard it.)
    
  • SDECBEG
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Begin date in external format.
    
  • SDECEND
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    End date in external format.
    
RETURN PARAMETER DESCRIPTION
Global Array in which each array entry contains the following Clinic 
  8. RESOURCEID
  9. APPT_MADE_BY
 10. DATE_APPT_MADE
 11. NOTE
 12. STREET
 13. CITY
 14. STATE
 15. ZIP
 16. HOMEPHONE
Letter data separated by ^:
  1. Name
  2. DOB
  3. Sex
  4. HRN
  5. ApptDate
  6. Clinic
  7. TypeStatus