What is the right way to store health data on device

How do icloud back ups work in regards to storing encrypted health information on device, and then later restoring that data from an icloud back up. Am I allowed to save health information using core data, and then can I back that data up to iCloud and restore the app data from a back up?