The described randomized controlled trial aims primarily to compare two structured multicomponent inpatient rehabilitation programs , differing in length and content , with a comparative cognitive intervention .