Primary care contact, clinical management and suicide risk following discharge from inpatient mental health care