01Relates to the patient
ENCOUNTER_ID matches EMR_ENCOUNTERS.ENCOUNTER_ID on a row of EMR_ENCOUNTERS that relates to the patient
Single-patient export: the patient's rows.
02References
ENCOUNTER_ID→EMR_ENCOUNTERS.ENCOUNTER_ID
03Columns
| # | Column | Type | Source type | Null | Notes |
|---|---|---|---|---|---|
| 1 | ENCOUNTER_ID PK | integer | int | no | |
| 2 | INCARCERATION | boolean | bit | yes | |
| 3 | PAROLE | boolean | bit | yes | |
| 4 | LAST_DISCHARGED | datetime | datetime | yes | |
| 5 | NUMBER_OF_TIMES | integer | int | yes | |
| 6 | LEGAL_LENGTH | string | varchar(32) | yes | |
| 7 | PROBATION | boolean | bit | yes | |
| 8 | PSYCHIATRIC_PROBLEM | string | varchar(max) | yes |