physicians


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 36 null
location_business_line_id VARCHAR 36
first_name VARCHAR 255 null
shedlock.name Implied Constraint R
last_name VARCHAR 255 null
shedlock.name Implied Constraint R
specialty VARCHAR 255 √ null
npi VARCHAR 20 √ null
mpi VARCHAR 50 √ null
phone VARCHAR 50 √ null
fax VARCHAR 50 √ null
is_active BIT 1 √ 1
notes TEXT 65535 √ null
email VARCHAR 255 √ null
address TEXT 65535 √ null
city VARCHAR 100 √ null
state VARCHAR 50 √ null
zip_code VARCHAR 20 √ null
created_at TIMESTAMP 19 CURRENT_TIMESTAMP
updated_at TIMESTAMP 19 √ null
physician_type VARCHAR 50 √ null

Type: referring, ordering, treating, consulting

created_by VARCHAR 255 √ system
updated_by VARCHAR 255 √ system

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_physician_npi Performance Asc npi
idx_physician_type Performance Asc physician_type
idx_physicians_npi_location Must be unique Asc/Asc npi + location_business_line_id

Relationships