The primary outcome was a composite endpoint of a first visit to the emergency department ( 24 h ) , a hospital readmission ( > 24 h ) , or all-cause death , assessed during the first 6 months of follow-up .