An app is being launched to help patients with long term conditions manage their health via care plans accessed on their phone.