Psychiatric disorder in hospital and general practice