Print Page as PDF
AMBCARE DATE CALLS ICR (1575)

AMBCARE DATE CALLS    ICR (1575)

Name Value
NUMBER 1575
IA # 1575
DATE CREATED 1996/08/07
CUSTODIAL PACKAGE SCHEDULING
CUSTODIAL ISC Albany
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE SCDXUTL
NAME AMBCARE DATE CALLS
GENERAL DESCRIPTION
The calls in this agreement are to be used in
conjunction with the installation and running of the Ambulatory Care Report
Project Patch SD*53*44.
STATUS Active
ID SCDXUTL
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$DATE()
This function call accepts a date and will return
whether the new or old Scheduling visit file limitations are to be used.
Based upon a date input returns whether this date is older than the date in
the corresponding parameter.
VARIABLES TYPE VARIABLES DESCRIPTION
date Input
This is a date that is to be compared to the 10/1
date.

If the input date is before the 10/1 date than a zero will be returned.  This
indicates that the old limitation structure should be used.

If the input date is after the 10/1 date than a one will be returned.  This
indicates that the new limitation structure should be used.
$$FMDATE()
This function returns the date at which the new
limitation structure is to take place.
VARIABLES TYPE VARIABLES DESCRIPTION
DATE Output
This function call accepts no inputs.  It will return
the date the new limitation structure is to take place in a FM format.
$$CLOSEFM()
This entry point accepts no inputs.  It will return
what the close out date is in FM format.
$$CLOSED()
CLOSED(DATE) This entry point accepts a date in FM
format to compare to the close out date.  It will return a 1 if the close out
period is over or a zero if close out can still occur.
VARIABLES TYPE VARIABLES DESCRIPTION
DATE Input
This is a date to be compared to the close out date.
It is in FM formatt.
$$INPATENC(PTR,PTR2)
This function call will determine whether an
outpatient encounter is for an inpatient appointment.
VARIABLES TYPE VARIABLES DESCRIPTION
PTR Input
This is a pointer (internal entry number) from one of
the following files:-
- TRANSMITTED OUTPATIENT ENCOUNTER file (#409.73)
- OUTPATIENT ENCOUNTER file (#409.68)
- DELETED OUTPATIENT ENCOUNTER file (#409.74)
PTR2 Input
This value denotes the file being pointed to -
0 - TRANSMITTED OUTPATIENT ENCOUNTER file (Default)
1 - OUTPATIENT ENCOUNTER file
2 - DELETED OUTPATIENT ENCOUNTER file
$$INPATENC Output

1 - Encounter is an inpatient appointment.
0 - Encounter is not an inpatient appointment
A value of 0 is returned if a valid pointer is not passed or the entry in the
TRANSMITTED OUTPATIENT ENCOUNTER file does not point to a valid entry in the
OUTPATIENT ENCOUNTER file or DELETED OUTPATIENT ENCOUNTER file.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
PCE PATIENT CARE ENCOUNTER Salt Lake City
LAB SERVICE Dallas
REGISTRATION