Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
pid | BIGINT | 19 | null |
|
|
The internal patient identifier |
|||||
encounter | BIGINT | 19 | null |
|
|
0 if patient attribute, else this is an encounter attribute and references the form_encounter.encounter property |
|||||
field_id | VARCHAR | 31 | null |
|
|
references layout_options.field_id and is the unique property name of this shared attribute |
|||||
last_update | DATETIME | 19 | null |
|
|
time of last update |
|||||
user_id | BIGINT | 19 | null |
|
|
User who last updated this shared attribute |
|||||
field_value | MEDIUMTEXT | 16777215 | √ | NULL |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc/Asc/Asc | pid + encounter + field_id |