Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||
| location_business_line_id | VARCHAR | 36 | null |
|
|
|||
| VARCHAR | 36 | null |
|
|
||||
| cpt_code_id | VARCHAR | 36 | null |
|
|
|||
| approved_units | INT | 10 | 0 |
|
|
|||
| used_units | INT | 10 | 0 |
|
|
|||
| is_active | BIT | 1 | √ | 1 |
|
|
||
| created_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
||
| updated_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
||
| created_by | VARCHAR | 255 | √ | system |
|
|
||
| updated_by | VARCHAR | 255 | √ | system |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_auth_cpt_auth | Performance | Asc | prior_authorization_id |
| idx_auth_cpt_code | Performance | Asc | cpt_code_id |
| idx_auth_cpt_location | Performance | Asc | location_business_line_id |
| uk_auth_cpt | Must be unique | Asc/Asc | prior_authorization_id + cpt_code_id |