kvs-coder / HealthKitReporter

HealthKitReporter. A wrapper for HealthKit framework. Helps to write or read data from Apple Health via HealthKit framework.
https://cocoapods.org/pods/HealthKitReporter
MIT License
71 stars 21 forks source link

`HKClinicalRecord` exposure #23

Open AliakseiT opened 2 years ago

AliakseiT commented 2 years ago

Is your feature request related to a problem? Please describe. As a developer working with Apple Health Kit, I shall be able to access clinical records (e.g. medication records) via HKClinicalRecord

Describe the solution you'd like Expose HKClinicalRecord and fhirResource in HealthKitReporter (and later on health_kit_reporter wrapper in Flutter)

Additional context Apple requires a specific addition in the profile for the Clinical Record type

quentinleguennec commented 3 months ago

@AliakseiT I created a PR that gives access to Clinical Records, it's still early in the testing process but you can have a look and let me know if you encounter any issue with this new version: https://github.com/kvs-coder/HealthKitReporter/pull/25

AliakseiT commented 3 months ago

Thanks @quentinleguennec. We, however, moved to a thiner wrapper https://pub.dev/packages/flutter_health_kit, which has solved the underlying thread issues like https://github.com/kvs-coder/health_kit_reporter/issues/68 or https://github.com/kvs-coder/health_kit_reporter/issues/58

It does not have the support for Clinical Records yet.