Last Updated: 7/22/2025 8:42:49 PM

Intergy Version: 22.00.00.00

ApptStaff

Table Definition  Parent Tables  Child Tables

Table Definition

Description: The table is used to define the staff members associated with an appointment.

Field Datatype Default Null Option Comment
ApptSID INTEGER ?   MANDATORY FK
PracticeID INTEGER ?   MANDATORY FK
ServiceCenterID INTEGER ?   MANDATORY FK
StaffID INTEGER ?   MANDATORY FK
ReasonClass CHARACTER(3)   MANDATORY User entered class of reason codes.
ReasonCode CHARACTER(6)   MANDATORY FK
ApptDate DATE   MANDATORY User entered date of appointment.
ApptTime INTEGER 0   MANDATORY User entered appointment time.
ApptNumber INTEGER 0   MANDATORY System set number indicating the appointment iteration for the given date and time. This indicates the conflict level. Valid values are 1 to 5.
Duration INTEGER 0   OPTIONAL User entered appointment length in minutes. Min Value 5.
TimeStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was last written.
LastUser INTEGER ?   OPTIONAL User ID of user that last wrote the record.
CreateStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was created.
CreateUser INTEGER ?   OPTIONAL User ID of user that created the record.

Parent Tables
Parent TableJoin PhraseWhen deleting parent record...
Staff ApptStaff.PracticeID = Staff.PracticeID and
ApptStaff.StaffID = Staff.StaffID
RESTRICT if ApptStaff exists
Appointment ApptStaff.ApptSID = Appointment.ApptSID and
ApptStaff.PracticeID = Appointment.PracticeID and
ApptStaff.ServiceCenterID = Appointment.ServiceCenterID
CASCADE if ApptStaff exists

Child Tables
Child TableJoin PhraseWhen deleting ApptStaff record...