Apple is giving medical researchers and app developers new ways to prevent diseases.

Apple said on Monday that its new health records service, which lets patients store personal medical data on their phone, will soon be open to app developers and researchers.

Consumers who choose to make their encrypted data available to third-party apps, will share that information with developers working on tools like medication tracking, disease management, nutrition planning and medical research. Any data that’s shared will require a user’s permission and does not flow through Apple’s servers, the company said.

Read on at CNBC