Eight hundred participants with acute mental illness will be recruited into the randomised controlled trial whilst inpatients at one of four psychiatric inpatient facilities in the state of New South Wales , Australia .