Columns
| Column | Description | API Field Name |
|---|---|---|
appointment_id | Primary key and appointment unique identifier. | id |
created | The timestamp when the appointment record was created. | |
modified | The timestamp when the appointment record was last modified. | |
is_deleted | Indicates whether the appointment record is deleted. | |
calendar_id | Foreign key to the calendar table. The identifier of the calendar associated with the appointment. | calendar_id |
clinic_id | Foreign key to the clinic & clinic_enriched table. The identifier of the clinic associated with the appointment. | clinic_id |
calendar_name | The name of the calendar associated with the appointment. | |
resource_id | Foreign key to the calendar_resource table. The identifier of the calendar resource associated with the appointment. | resource_id |
resource_name | The name of the calendar resource / provider assigned to the appointment. | resource_name |
kind_id | Foreign key to the appointment_kind table. The identifier of the appointment kind. | |
kind | The display name of the appointment kind. Uses the custom name if set, otherwise falls back to the slug (from appointment_kind table). | kind |
clinic_patient_id | Foreign key to the patient & client_enriched table. The identifier of the patient associated with the appointment. | clinic_patient_id |
clinic_client_id | Foreign key to the client & client_enriched table. The identifier of the client associated with the appointment. | clinic_client_id |
medical_record_id | Foreign key to the medical_record & medical_record_enriched table. The identifier of the medical record associated with this appointment, if any. | medical_record_id |
start_datetime | The start date and time of the appointment. | start_datetime |
end_datetime | The end date and time of the appointment. | end_datetime |
status | The current status of the appointment (e.g., IS_NEW_CLIENT, IS_NEW_PATIENT, IS_CARE_PLAN, IS_LAST_NO_SHOW, IS_LAST_CANCELLED, IS_DEPOSIT_PAID, IS_INTAKE_COMPLETE, IS_ON_INSURANCE). | status |
clinic_notes | Raw JSON clinic notes for the appointment. | clinic_notes |
reason | The reason for the appointment. | reason |
dropoff_start_datetime | The start date and time the patient for this appointment will be dropped off, if applicable. | dropoff_start_datetime |
pickup_start_datetime | The start date and time the patient for this appointment will be picked up, if applicable. | pickup_start_datetime |
alert_tags | A list of alert tags associated with the appointment. | alert_tags |
cancelation_reason | The reason for the appointment’s cancellation or no-show. | cancelation_reason |
followup_appointment_ids | Array of appointment IDs that are followups to this appointment (appointments whose followup_for_medical_record points to this appointment’s medical record). Empty array when none. | followup_appointment_ids |
last_updated | The timestamp when the appointment record was last updated in the source table. This is the most recent timestamp from all related tables (appointment, calendar, appointment_kind, calendar_resource, medical_record). Note: followup_appointment_ids are derived from the appointment table already included above. | |
vetcove_corporate_id | The unique identifier of the corporate group associated with this record. |
Relationships
- Clinic via
clinic_id - Client via
clinic_patient_id - Medical Record via
medical_record_id
SQL Definition
View SQL
View SQL