IBD GET PAST APPT LIST (114)    REMOTE PROCEDURE (8994)

Name Value
NAME IBD GET PAST APPT LIST
TAG APPTLST
ROUTINE IBDFRPC5
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
INACTIVE INACTIVE
DESCRIPTION
This RPC can be used to return a list of appointments for a patient.  It
defaults to returning the past 1 year's kept appointments.
INPUT PARAMETER
  • IBDF
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    DESCRIPTION:   
    Requires the variable IBDF("DFN") be set to the patient internal entry number.
    IBDF("F") is the from date (defaults to t-1year)
    IBDF("T") is the to date (defaults to t@midnight)
    IBDF("W") is the types of appointments to return, see SDA^VAPDT
    
RETURN PARAMETER DESCRIPTION
Returns the list of appointments in reverse chronological order,
     p1 := appointment date (external)
     p2 := clinic (external)
     p3 := status (external)
     p4 := appt type (external)
     p5 := appointment date (internal)
     p6 := clinic (internal)
     p7 := status (internal)
     p8 := appt type (internal)