HealthSave Get HealthSave for iPhone

HealthSave for studies

Research teams and clinics can ask participants to export selected Apple Health data as CSV or JSON on their own iPhone. Participants send the files directly to the study’s upload portal or server. HealthSave has no cloud for health data and never receives the files.

HealthSave is available on iPhone. The Android version is in internal testing.

How participants share an export

  1. Open HealthSave on your iPhone and grant access to the Apple Health metrics the study requests.
  2. Open Export. Choose the date range, metrics, time zone and CSV or JSON format specified by the study. Export the file and save it to Files using the iPhone share sheet.
  3. Open the study’s upload link, choose the file you saved and submit it to the study’s own server. Use the participant code and file naming instructions your study provides.

Pin and cite the app version

Before enrolment, choose an app version and check a sample export against your import script. On study-managed iPhones, keep the tested version installed during collection. Ask participants to record the version shown in HealthSave Settings with each export so you can flag any changes.

In your methods, cite HealthSave for iPhone, the version used, the export format, the date range, the selected metrics and the time zone setting.

CSV and JSON data dictionary

This describes the standard iPhone app export. CSV uses one row per exported record. JSON contains an array of record objects. Both can include metrics such as steps, heart rate and sleep, depending on what the participant selects and authorizes. The app also exports PDF reports.

CSV columnJSON keyMeaning
DatedateRecord date and time in ISO 8601, with a UTC offset or Z.
MetricmetricName of the exported metric.
ValuevalueNumeric value. For a medication event, 1 means taken and 0 means another recorded status.
UnitunitUnit of the value. For medication events this is dose.
SourcesourceName of the data source reported by Apple Health. HealthSave writes three values itself: the combined daily total of a metric that adds up over the day, such as steps, says Total (deduplicated); each night’s sleep_total row says HealthKit (deduplicated); workout rows add the workout type in brackets after the source, for example (Running).
Date (YYYY-MM-DD)—Calendar day from the timestamp.
Time (HH:MM:SS)—Time of day from the timestamp.
Time Zone—UTC offset for the displayed day and time.

Medication fields

The medication columns are blank for other records. JSON includes medication keys only when their values are available.

CSV columnJSON keyMeaning
Medication Namemedication_nameMedication name.
Medication Statusmedication_statusStatus of the logged event.
Dose Quantitydose_quantityAmount logged for the event, when available.
Scheduled Dose Quantityscheduled_dose_quantityAmount scheduled for the event, when available.
Medication Unitmedication_unitUnit for the logged or scheduled amount.
Scheduled Datescheduled_dateScheduled date and time, when available.
Medication Concept IDmedication_concept_idMedication concept identifier, when available.
—medication_metricMetric identifier for the medication series.

Contact

Tell us which metrics and date ranges your study needs. Please send questions to the support address and send participant files through your study’s own upload portal.

support@healthsave.app