Apple Health exports data with irregular time frames. Sampling data during import them from XML into ElasticSearch, might improve analytics accuracy.