01Relates to the patient
MSG_ID matches SECURE_MESSAGES.MSG_ID on a row of SECURE_MESSAGES that relates to the patient
Single-patient export: the patient's rows.
02References
MSG_ID→SECURE_MESSAGES.MSG_ID
03Columns
| # | Column | Type | Source type | Null | Notes |
|---|---|---|---|---|---|
| 1 | ATTACHMENT_ID PK | integer | bigint | no | |
| 2 | MSG_ID PK | integer | int | no | |
| 3 | NAME | string | varchar(280) | yes | |
| 4 | ALIAS | string | varchar(280) | yes | |
| 5 | ATTACHMENT | file | image | yes | Stored file; the value is the path of the file under documents/. |
| 6 | MIME_TYPE | string | varchar(255) | yes | |
| 7 | ATTACHMENT_LEN | integer | int | yes | |
| 8 | BODY | string | varchar(max) | yes |