Assessing the outcomes of implantable cardioverter defibrillator treatment in a real world setting: results from hospital record data