Hospital admissions for self harm after discharge from psychiatric inpatient care: cohort study