Preventive medication use among persons with limited life expectancy