Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CareKit | HKSample] Reading samples doesn't pull metadata #635

Open
hypermobileshop99 opened this issue Dec 15, 2021 · 1 comment
Open

Comments

@hypermobileshop99
Copy link

Hello.

I am implementing blood pressure using CareKit.
I see the only 1 value is being pulled from store when we use CareKit.
So I put the systolic & diastolic values into sample.metadata. I confirmed that the meta data is saved into HealthKit Store correctly, I can see that in iOS HealthApp.

Now when I am pulling the samples, I don't get metadata at all.

Screen Shot 2021-12-14 at 11 51 46 PM

OCKHealthKitStore+Outcomes.swift > line 158 ---
All the samples don't have metadata.

Any idea why? Please help

@matchstick462
Copy link

Hi @hypermobileshop99,

What Data specifically are you missing? Kinda looks like you're missing the HKUnitString from the correlated value in your pic but not sure?

  • How are you pulling the samples?

  • Are you using one of the labelled tasks for displaying the BP Correlated Values task?

I'm by no means an expert but have been looking at this myself lately too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants