appointments


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 36 null
client_id VARCHAR 36 null
provider_id VARCHAR 36 null
event_type VARCHAR 50 null
start_time DATETIME 19 null
end_time DATETIME 19 null
status VARCHAR 20 SCHEDULED
location VARCHAR 255 √ null
notes TEXT 65535 √ null
color VARCHAR 20 √ null
hours DECIMAL 10,2 √ null
units INT 10 √ null
billing_codes VARCHAR 255 √ null
prior_authorization_id VARCHAR 36 √ null
has_signature BIT 1 √ 0
documents_locked BIT 1 √ 0
billing_status VARCHAR 50 √ null
cpt_code VARCHAR 50 √ null
created_at TIMESTAMP 19 CURRENT_TIMESTAMP
updated_at TIMESTAMP 19 √ null
created_by VARCHAR 255 √ system
updated_by VARCHAR 255 √ system
location_business_line_id VARCHAR 36 √ null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_appointment_billing_status Performance Asc billing_status
idx_appointment_client_id Performance Asc client_id
idx_appointment_prior_auth Performance Asc prior_authorization_id
idx_appointment_provider_id Performance Asc provider_id
idx_appointment_start_time Performance Asc start_time
idx_appointment_status Performance Asc status

Relationships