Print Page as PDF
Check out appointment ICR (7068)

Check out appointment    ICR (7068)

Name Value
NUMBER 7068
IA # 7068
DATE CREATED 2019/05/08
CUSTODIAL PACKAGE SCHEDULING
USAGE Controlled Subscription
TYPE Routine
ROUTINE SDEC25
NAME Check out appointment
GENERAL DESCRIPTION
Checking a patient out for an appointment impacts
several files - Location, SDEC Appointment. This ICR describes the scheduling
API that can be used by non-scheduling applications to check out appointments.

Note:  Subscribing applications that want to invoke this API using the SDEC
CHECKOUT RPC can subscribe to the appropriate controlled ICR (#7069).
STATUS Withdrawn
DURATION Till Otherwise Agreed
ID SDEC25
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CHECKOUT
CHECKOUT is the entry point in SDEC25 that is called
to check out an appointment and have the data updated in all required files.
VARIABLES TYPE VARIABLES DESCRIPTION
SDECY Output
SDECY contains the name of the global array which
stores the results of results of the check in appointment operation.  It is in
the form of

^TMP("SDEC07",$J,i).  For i=0, the header string "T00020ERRORID" is returned.

If the API call is successful, the next line will contain a zero.

If the API call is unsuccessful, the next line will contain an error reason.
DFN Input
Patient file pointer (#2).  REQUIRED
SDT Input
Appointment date/time in external format.  REQUIRED.
SDCODT Input
Check-out date/time in external format.  REQUIRED.
SDECAPTID Input
Appointment file (#409.84) pointer.  REQUIRED.
VPRV Input
Provider (#9000010.06) pointer.  OPTIONAL.
SOURCE Input
Application source.  See the set of codes associated
with field #1 of the Application Events file (#409.94).  If blank, "Other" is
applied.  OPTIONAL.

Note:  This field first appears in patch SD*5.3*715.