====== TOP database cleanup ======

===== Definitions =====


==== Diagnosis ====

|**Diagnosis**|**Sub-diagnosis**|
| SCZ |schizophrenia |
| SCZ | schizophreniform |
| SCZ | schizoaffective |
| SCZ | paranoid_schizophrenia |
|BP | bipolar_I |
|BP | bipolar_II |
|BP | bipolar_III |
|BP | bipolar_IV |
|BP | bipolar_NOS |
|AFF | major_depressive_disorder, depression |
|PSY | other_psychosis |
| other | outside_diagnosis_spectrum, //[custom_string]// |
| CTRL | control |
| prodromal | prodromal |
| excluded | reason_for_exclusion: //[...]// |

//prodomal// has preference over //other// as main diagnosis. 

=== TOP CLEAN file ===

== Diagnosis from Diag_category and Pasient_Kontroll ==


SCZ <- Diag_category:
  * schizophreniform
  * schizoaffective
  * schizophrenia

BD <- Diag_category:
  * bipolar I
  * bipolar II
  * bipolarNOS

PSY <- Diag_category:
  * other psychosis

AFF <- Diag_category:
  * major depressive disorder
  * cyclothym
  * dystymi

other <- Diag_category:
  * substance addiction
  * schizotyp
  * anxiety disorder
  * OCD
  * phobia
  * PTSD
  * dissociative disorder

CTRL <- Pasient_Kontroll:
  * Control

prodromal <- Pasient_Kontroll: 
  * Prodromal

NA:
  * //everything else//
