This study is a randomized, open, parallel group intervention study where patients are eligible when they are hospitalized due to worsening CHF and/or COPD. They will be asked before discharge about participation.