Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null |
|
|
||
| pid | BIGINT | 19 | null |
|
|
|||
| user_id | BIGINT | 19 | null |
|
|
The Id of the user who approves or denies |
||
| approval_status | TINYINT | 3 | null |
|
|
1-Pending,2-Approved,3-Denied,4-Appointment directly updated to calendar table,5-Cancelled appointment |
||
| comments | TEXT | 65535 | √ | NULL |
|
|
||
| created_time | TIMESTAMP | 19 | current_timestamp() |
|
|
|||
| modified_time | DATETIME | 19 | null |
|
|
|||
| ip_address | VARCHAR | 100 | null |
|
|
|||
| type | TINYINT | 3 | null |
|
|
1-new patient,2-existing patient,3-change is only in the document,4-Patient upload,5-random key,10-Appointment |
||
| is_qrda_document | BOOLEAN | 3 | √ | 0 |
|
|
||
| is_unstructured_document | BOOLEAN | 3 | √ | 0 |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |