Table:
Psychiatric Comorbidities	Diagnostic codes (N = 196)	NLP (N = 486)	Reference group (N = 17,183)
n	%	n	%	n	%
Psychiatric Comorbidities
Depression	171	87.24	353	72.63	5150	29.97
Schizophrenia	10	5.10	10	2.06	95	0.55
Bipolar	45	22.96	40	8.23	489	2.85
PTSD	58	29.59	76	15.64	590	3.43
Substance abuse	102	52.04	173	35.60	2332	13.57
Anxiety	100	51.02	259	53.29	5184	30.17
Psychiatric comorbidities at encounters to Department Psychiatry/Mental Health/Behavioral Health (ever)
Depression	93	47.45	180	37.04	1536	8.94
Schizophrenia	7	3.57	4	0.82	43	0.25
Bipolar	18	9.18	26	5.35	234	1.36
PTSD	29	14.80	44	9.05	312	1.82
Substance abuse	43	21.94	36	7.41	177	1.03
Anxiety	30	15.31	113	23.25	1058	6.16
Psychiatric comorbidities at encounters to Emergency Department (Ever)
Depression	128	65.31	80	16.46	608	3.54
Schizophrenia	6	3.06	2	0.41	22	0.13
Bipolar	25	12.76	8	1.65	76	0.44
PTSD	28	14.29	9	1.85	54	0.31
Substance abuse	74	37.76	57	11.73	652	3.79
Anxiety	51	26.02	42	8.64	660	3.84

Transform the photo into Markdown format.

| <ROWSPAN=2> Psychiatric Comorbidities | <COLSPAN=2> Diagnostic codes (N = 196) | <COLSPAN=2> NLP (N = 486) | <COLSPAN=2> Reference group (N = 17,183) | 
 | n | % | n | % | n | % | 
 | --- | --- | --- | --- | --- | --- | --- | 
 | <COLSPAN=7> Psychiatric Comorbidities | 
 | Depression | 171 | 87.24 | 353 | 72.63 | 5150 | 29.97 | 
 | Schizophrenia | 10 | 5.10 | 10 | 2.06 | 95 | 0.55 | 
 | Bipolar | 45 | 22.96 | 40 | 8.23 | 489 | 2.85 | 
 | PTSD | 58 | 29.59 | 76 | 15.64 | 590 | 3.43 | 
 | Substance abuse | 102 | 52.04 | 173 | 35.60 | 2332 | 13.57 | 
 | Anxiety | 100 | 51.02 | 259 | 53.29 | 5184 | 30.17 | 
 | <COLSPAN=7> Psychiatric comorbidities at encounters to Department Psychiatry/Mental Health/Behavioral Health (ever) | 
 | Depression | 93 | 47.45 | 180 | 37.04 | 1536 | 8.94 | 
 | Schizophrenia | 7 | 3.57 | 4 | 0.82 | 43 | 0.25 | 
 | Bipolar | 18 | 9.18 | 26 | 5.35 | 234 | 1.36 | 
 | PTSD | 29 | 14.80 | 44 | 9.05 | 312 | 1.82 | 
 | Substance abuse | 43 | 21.94 | 36 | 7.41 | 177 | 1.03 | 
 | Anxiety | 30 | 15.31 | 113 | 23.25 | 1058 | 6.16 | 
 | <COLSPAN=7> Psychiatric comorbidities at encounters to Emergency Department (Ever) | 
 | Depression | 128 | 65.31 | 80 | 16.46 | 608 | 3.54 | 
 | Schizophrenia | 6 | 3.06 | 2 | 0.41 | 22 | 0.13 | 
 | Bipolar | 25 | 12.76 | 8 | 1.65 | 76 | 0.44 | 
 | PTSD | 28 | 14.29 | 9 | 1.85 | 54 | 0.31 | 
 | Substance abuse | 74 | 37.76 | 57 | 11.73 | 652 | 3.79 | 
 | Anxiety | 51 | 26.02 | 42 | 8.64 | 660 | 3.84 |