DSIV ONE LOC APPOINTMENTS (2547)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV ONE LOC APPOINTMENTS
TAG REQONE
ROUTINE DSIVIC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
WORD WRAP ON TRUE
DESCRIPTION
Request all appointments for one hospital location, with insurance
flag.
INPUT PARAMETER
  • LOCIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Hospital Location IEN.
    
  • SDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    FileMan start date.time (optional).
    
  • EDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    FileMan end date.time (optional).
    
  • DAYS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Number of days prior to today for last verified check (default=182).
    
  • SCREEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Contains the type of appointment to screen out.  1=checked in (which also
     screens checked out appts by default) or 2=checked out.
    
  • BUF
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    This field can be set to 1 to screen out (not return) appointments if 
    there's an existing buffer entry for that patient.
    
  • NUMS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   9
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Contains the number of records to return for each call.
    
  • MORE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Contains a 1 if this is a second call to the rpc to get more records.  
    Used with the NUMS field to get sets of data and not overwhelm the broker 
    or timeout.
    
RETURN PARAMETER DESCRIPTION
 Global array.  Each node has 7 to 9 ^-pieces.  First 6 are described in
                      expiration date is NULL
 Flag value 0=Otherwise
 Optionally, 8th and 9th ^-pieces have additional information
 if insurance is verified as NO coverage.
 the VEJDSD GET SCHEDULED APPTS remote procedure return parameter
 description.  The 7th ^-piece is a flag -
 
 Flag value 1=Either of the following conditions are met
              A. Field #.3192 COVERED BY INSURANCE=NO or UNKNOWN
              B. For ANY .312 field 3 entry
                 IF Last verified more than n DAYS days before today
                 AND  expiration date is > today OR