Skip to main content

Advertisement

Table 2 Classification of principal diagnoses for mental illness

From: Data preparation techniques for a perinatal psychiatric study based on linked data

Category ICD-10-AM Diagnosis SPSS syntax
Prin1: Schizophrenia and schizophrenia-like disorder F20 Schizophrenia COMPUTE Prin1 = 0.if ( icd10d1 GE 'F20' AND icd10d1 LE 'F22.9' ) Prin1 = 1.if ( icd10d1 GE 'F24' AND icd10d1 LE 'F29' ) Prin1 = 1.EXECUTE.VARIABLE LABELS Prin1' principal diagnoses of Schizophrenia and schizophrenia-like disorder F20-22, F24-29'.
  F21 Schizotypal disorder  
  F22 Persistent delusional disorders  
  F24 Induced delusional disorder  
  F25 Schizoaffective disorders  
  F28 Other nonorganic psychotic disorders  
  F29 Unspecified nonorganic psychosis  
Prin2: Unipolar depressions F32 Depressive episode except F32.3 see below (psychotic). COMPUTE Prin2 = 0.if ( icd10d1 GE 'F32' AND icd10d1 LE 'F32.21' ) Prin2 = 1.if ( icd10d1 GE 'F32.8' AND icd10d1 LE 'F32.91' ) Prin2 = 1.if ( icd10d1 EQ 'F53.0' ) Prin2 = 1.if ( icd10d1 EQ 'F34.1' ) Prin2 = 1.if ( icd10d1 EQ 'F38.1' ) Prin2 = 1.if ( icd10d1 EQ 'F38.8' ) Prin2 = 1.EXECUTE.VARIABLE LABELS Prin2 ' principal diagnoses of unipolar depressions F32 (exclude 32.3), F53.0, F34.1, F38 (exclude 38.0)'.
  F53.0 Mild disorders associated with the puerperium, not elsewhere classified  
  F34.1 Persistent mood [affective] disorders: Dysthymia  
  F38 Other mood [affective] disorders except F38.0 see below (bipolar affective episode)  
Prin3: Acute Psychotic episodes : reactive, brief, affective F23 Acute and transient psychotic disorders COMPUTE Prin3 = 0.if ( icd10d1 GE 'F23' AND icd10d1 LE 'F23.91' ) Prin3 = 1.if ( icd10d1 GE 'F32.3' AND icd10d1 LE 'F32.31' ) Prin3 = 1.if ( icd10d1 EQ 'F30.2' ) Prin3 = 1.if ( icd10d1 EQ 'F33.3' ) Prin3 = 1.if ( icd10d1 EQ 'F39' ) Prin3 = 1.if ( icd10d1 EQ 'F53.1' ) Prin3 = 1.EXECUTE.VARIABLE LABELS Prin3' principal diagnoses of acute psychotic episodes: reactive, brief, affective F23, 30.2,32.3, 33.3, 39, 53.1'.
  F30.2 Mania with psychotic features  
  F32.3 Severe depressive episode with psychotic symptoms  
  F33.3 Recurrent depressive disorder, current severe with psychotic symptoms  
  F39 Unspecified mood [affective] disorder  
  F53.1 Severe MH disorders associated with the puerperium, not elsewhere classified  
Prin4: Bipolar affective disorders F30.0 Hypomania COMPUTE Prin4 = 0.if ( icd10d1 GE 'F30.8' AND icd10d1 LE 'F30.9' )Prin4 = 1.if ( icd10d1 GE 'F31' AND icd10d1 LE 'F31.6' ) Prin4 = 1.if ( icd10d1 GE 'F31.8' AND icd10d1 LE 'F31.9' ) Prin4 = 1.if ( icd10d1 EQ 'F30.0' ) Prin4 = 1.if ( icd10d1 EQ 'F34.0' ) Prin4 = 1.if ( icd10d1 EQ 'F38.0' ) Prin4 = 1.EXECUTE.VARIABLE LABELS Prin4' principal diagnoses of bipolar affective disorders F30 (exclude 30.2), 31(exclude 31.7),34.0,38.0 '.
  F30.8 Other manic episodes  
  F30.9 Manic episode, unspecified  
  F31 Bipolar affective disorder F31.0-31.9 excluding F31.7 (remission).  
  F34.0 Persistent mood [affective] disorders: Cyclothymia  
  F38.0 Other single mood [affective] disorders  
Prin5: Adjustment disorders F43 Reaction to severe stress and adjustment disorders COMPUTE Prin5 = 0.if ( icd10d1 GE 'F43' AND icd10d1 LE 'F43.9' ) Prin5 = 1.EXECUTE.VARIABLE LABELS Prin5' principal diagnoses of adjustment disorders F43 '.
Prin6: Anxiety disorders F40 Phobic anxiety disorders COMPUTE Prin6 = 0.if ( icd10d1 GE 'F40' AND icd10d1 LE 'F42.9' ) Prin6 = 1.EXECUTE.VARIABLE LABELS Prin6' principal diagnosis of anxiety disorders F40-42'.
  F41 Other anxiety disorders  
  F42 Obsessive-compulsive disorder  
Prin7: Personality disorders F60-69 Personality disorders COMPUTE Prin7 = 0.if ( icd10d1 GE 'F60' AND icd10d1 LE 'F69' ) Prin7 = 1.EXECUTE.VARIABLE LABELS Prin7' principal diagnoses of personality disorders F60-69'.
Prin8: Mental illness due to substance use F10-F19 Mental illness due to substance use COMPUTE Prin8 = 0.if ( icd10d1 GE 'F10' AND icd10d1 LE 'F19.8' ) Prin8 = 1.EXECUTE.VARIABLE LABELS Prin8 ' principal diagnoses of mental illness due to substance use F10-19. '.
Prin9: Remaining diagnoses F00-99 Exclude the diagnoses above Remaining diagnoses COMPUTE Prin9 = 0.if ( icd10d1 GE 'F00' AND icd10d1 LE 'F09' ) Prin9 = 1.if ( icd10d1 EQ 'F30.1' ) Prin9 = 1.if ( icd10d1 EQ 'F31.7' ) Prin9 = 1.if ( icd10d1 GE 'F33.1' AND icd10d1 LE 'F33.2' ) Prin9 = 1.if ( icd10d1 GE 'F33.8' AND icd10d1 LE 'F33.9' ) Prin9 = 1.if ( icd10d1 EQ 'F34.9' ) Prin9 = 1.if ( icd10d1 GE 'F44.5' AND icd10d1 LE 'F52.9' ) Prin9 = 1.if ( icd10d1 GE 'F53.8' AND icd10d1 LE 'F59' ) Prin9 = 1.if ( icd10d1 GE 'F70.1' AND icd10d1 LE 'F99' ) Prin9 = 1.EXECUTE.VARIABLE LABELS Prin9 ' remaining principal diagnoses F00-99 exclude diagnosis above'.
Prin10: Overall diagnoses of mental illness F00-99 Overall diagnoses of mental illness COMPUTE Prin10 = 0.if ( icd10d1 GE 'F00' AND icd10d1 LE 'F99' ) Prin10 = 1EXECUTE.VARIABLE LABELS Prin10 ' principal diagnoses of mental illness F00-99.’.
  Prin1-10 Value labels VALUE LABELS Prin1 Prin2 Prin3 Prin4 Prin5 Prin6 Prin7 Prin8 Prin9 Prin10 0'no' 1'yes'.