The impact of technological advancements on health spending