DSIV ONE LOC APPTS (3054)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV ONE LOC APPTS
TAG RQONELOC
ROUTINE DSIVIC5
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
WORD WRAP ON TRUE
DESCRIPTION
Request all appointments for one hospital location with insurance flag, 
check-in user, check-out user, and manual patient flag.
INPUT PARAMETER
  • 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.
    
  • 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 appointments by default) or 2=checked out
    
  • NUMS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   9
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Contains the number of records to return for each call.
    
  • 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.
    
RETURN PARAMETER DESCRIPTION
Global array.  Each node has 10-12 pieces.
    a.  Field #.3192 COVERED BY INSURANCE=NO or UNKNOWN
    b.  For ANY .312 field 3 entry
        If Last Verified > n DAYS before today 
        AND expiration date > today 
        OR  expiration date is NULL
Flag Value 0=Otherwise
 
The 8th and 9th ^-pieces have additional information if
insurance is verified as NO coverage.
 
On error, RESULT(1)=-1^Error message
The 10th piece is check-in user from the 7th piece of the
VEJDSD GET SCHEDULED APPTS return parameter description.
 
The 11th piece is check-out user from the 8th piece of the
VEJDSD GET SCHEDULED APPTS return parameter description.
 
The 12th piece is the manual patient verification flag 
(field .01 PATIENT) from file 19625.3 DSIV ICB MANUAL
PATIENT FLAG.
 
The first six pieces are the same as those described in the 
VEJDSD GET SCHEDULED APPTS remote procedure return parameter
description.
 
The 7th piece is an insurance flag:
Flag Value 1=Either of the following conditions are met: