Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| payer_id | VARCHAR | 36 | null |
|
|
||||||
| health_plan_id | VARCHAR | 36 | √ | null |
|
|
|||||
| billing_code_id | VARCHAR | 36 | null |
|
|
||||||
| billing_code | VARCHAR | 50 | √ | null |
|
|
|||||
| approved_rate | DECIMAL | 10,2 | √ | null |
|
|
|||||
| submit_rate | DECIMAL | 10,2 | √ | null |
|
|
|||||
| unit_type | VARCHAR | 20 | √ | UNIT |
|
|
|||||
| currency | VARCHAR | 3 | √ | USD |
|
|
|||||
| effective_start_date | DATE | 10 | √ | null |
|
|
|||||
| effective_end_date | DATE | 10 | √ | null |
|
|
|||||
| is_active | BIT | 1 | √ | 1 |
|
|
|||||
| notes | TEXT | 65535 | √ | null |
|
|
|||||
| created_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| created_by | VARCHAR | 255 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_pcr_billing_code_id | Performance | Asc | billing_code_id |
| idx_pcr_health_plan_id | Performance | Asc | health_plan_id |
| idx_pcr_payer_billing_code | Performance | Asc/Asc | payer_id + billing_code_id |
| idx_pcr_payer_id | Performance | Asc | payer_id |
| uk_plan_billing_code | Must be unique | Asc/Asc | health_plan_id + billing_code_id |