ORQQVS VISITS/APPTS (194)    REMOTE PROCEDURE (8994)

Name Value
NAME ORQQVS VISITS/APPTS
TAG VSITAPPT
ROUTINE ORQQVS
RETURN VALUE TYPE ARRAY
AVAILABILITY SUBSCRIPTION
DESCRIPTION
Returns a list of patient appointments and visits for a date/time range.
location.
INPUT PARAMETER
  • PATIENT ID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   YES
    DESCRIPTION:   
    Patient ID (DFN) from Patient File [#2].
    
  • START DATE/TIME
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    DESCRIPTION:   
    Start date/time to return visits and appointments.  In internal FileMan format.
    
  • STOP DATE/TIME
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    DESCRIPTION:   
    Stop date/time to return visits and appointments. In internal FileMan format.
    
  • DUMMY
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    DESCRIPTION:   
    This is a dummy parameter so the Broker won't crash.
    appointments for this location only will be returned.
    
RETURN PARAMETER DESCRIPTION
List of patient appointments and visits in the following format:
visit/appt id (inpatient admissions include an "a" suffix, visits suffix is 
"v")^visit/appt location^header of "admitted:" or "visited:"^date/time of
visit or appt^inverse date/time of visit or appt
all dates in the system will be returned.  If no input location is
indicated, visits and appointments across all locations will be returned.