“…Pre-sentence history MHS contacts in the 1-year and 5-year pre-sentence periods were identified through psychiatric diagnoses (ICD-9-CM codes 290-319) during each period, and the latest psychiatric diagnosis established (18,(27)(28)(29). For 1-year pre-sentence MHS use, seven diagnostic categories were created in order of severity (16,18,29,30 (19,29). Both 1-year and 5-year history of attempted self-harm was identified from the hospital external cause of injury codes (E950.0-E959.9, E980.0-E980.6).…”