THE past decade has seen the smartphone become a portal for managing daily life. Consumers use their pocket computers to bank, buy and befriend. Now this array of activities is expanding into an even more vital sphere. Apple has spent three years preparing its devices and software to process medical data, offering products to researchers and clinical-care teams.