01Relates to the patient
REFERRAL_ID matches EMR_REFERRALS_IN.REFERRAL_ID on a row of EMR_REFERRALS_IN that relates to the patient
Single-patient export: the patient's rows.
02References
REFERRAL_ID→EMR_REFERRALS_IN.REFERRAL_ID
03Columns
| # | Column | Type | Source type | Null | Notes |
|---|---|---|---|---|---|
| 1 | REFERRAL_ID PK | integer | int | no | |
| 2 | SEQUENCE_NO PK | integer | int | no | |
| 3 | ATTACHMENT_NAME | string | varchar(280) | no | |
| 4 | ATTACHMENT_PATH | string | varchar(280) | no | |
| 5 | ATTACHMENT | file | image | yes | Stored file; the value is the path of the file under documents/. |
| 6 | IMAGE_TYPE | string | varchar(15) | yes |