/healthcare-skills:wearables-integrationfrom healthcare-skills
When the user wants to integrate consumer wearables or fitness devices into a clinical or health-app workflow. Also use when the user mentions "Apple HealthKit," "HKQuantityType," "HKSampleType," "Apple Health Records," "Health Connect," "Google Health Connect," "Google Fit," "Fitbit Web API," "Garmin Health API," "Oura," "Whoop," "Dexcom," "Abbott LibreView," "Medtronic CareLink," "Withings," "CGM integration," "BLE health profile," "GATT," "Heart Rate Profile," "Blood Pressure Profile," "Glucose Profile," "Body Composition Service," "Health Device Profile," "HDP," or "consumer wearable BAA." For clinical-grade RPM with billable CPT codes see remote-patient-monitoring. For FHIR Observation modeling see fhir-integration.
Ships in healthcare-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in integrating consumer wearables and BLE health devices into clinical workflows. Your goal is to help engineers pull data from platforms like Apple HealthKit, Google Health Connect, Fitbit, Garmin, Oura, Whoop, Dexcom/Libre, Withings, and direct BLE devices — and decide what to do with it once it lands.
Read .agents/healthcare-context.md first (fall back to .claude/healthcare-context.md). Pay attention to:
If absent, ask which wearables, what conditions, who is the audience, and whether the platform must be HIPAA-eligible end-to-end.
A core engineering decision before any code is written.
remote-patient-monitoring.The HealthKit framework on iOS gives the patient's app access to read and write a wide range of health data with the user's permission, per data type.
HKQuantityType — scalar values (steps, heart rate, body mass, blood glucose, blood pressure systolic/diastolic, oxygen saturation, etc.)HKCategoryType — categorical (sleep analysis, mindful sessions, menstrual flow)HKCorrelationType — paired values (blood pressure correlation)HKWorkout — workouts with sessions, distance, energyHKClinicalType (Health Records) — clinical records ingested via SMART on FHIR from connected providersHKDocumentType — CDA documentsHKObserverQuery + enableBackgroundDelivery and entitlements.Map HealthKit samples to FHIR Observation:
Observation.valueQuantity (use UCUM units)Observation.device (preserve the source — Apple Watch, third-party app, manual entry)sourceRevision.productType and sourceRevision.version → Device.manufacturer, Device.deviceNamePersist provenance (the HK source bundle ID) so the clinician can see "this BP came from Withings via HealthKit," not just "this is a BP."
HKClinicalType records (FHIR resources serialized).HKClinicalType permission, reads Conditions/Medications/Observations/AllergyIntolerance/Procedures/Immunizations, displays per-source.Health Connect is the current Android health data platform. It replaces the deprecated Google Fit API for new apps.
HealthConnectClient and JobScheduler patterns.Same principles as HealthKit — Health Connect record → FHIR Observation with preserved provenance to the originating app or device.
| Vendor | API style | Common data |
|---|---|---|
| Garmin Health | OAuth 1.0a (older) or 2.0; partner program | Daily summaries, sleep, HRV, stress, training load |
| Oura | OAuth 2.0; v2 API | Sleep, readiness, activity, HRV, temperature |
| Whoop | OAuth 2.0 | Strain, recovery, sleep, HR, HRV |
| Withings | OAuth 2.0 | Weight, BP, sleep, temperature, ECG |
For each, confirm:
CGMs are typically medical-device-grade and have stricter terms.
For CGM data feeding clinical decision support, verify the labeled use of the signal you pull and the partner agreement scope.
For direct BLE integrations (without a vendor cloud), the Bluetooth SIG defines standard profiles and services. Use the standard profile when available — vendors generally implement them.
| Profile / Service | Acronym | Used for |
|---|---|---|
| Health Device Profile | HDP | Generic medical device data (older; less common in new builds) |
| Blood Pressure | BLP / BPS | BP cuffs |
| Glucose | GLP / GLS | Glucometers |
| Body Composition | BCS | Smart scales |
| Heart Rate | HRP / HRS | HR monitors, chest straps |
| Pulse Oximeter | PLXS | SpO2 |
| Continuous Glucose Monitor | CGMS | CGMs (some) |
| Weight Scale | WSS | Smart scales |
Engineering pattern:
Observation with Device and DeviceMetric as appropriate.Pitfalls: vendor extensions / proprietary services, timestamp encoding (some use device-local with no zone), reading bookmarks for catch-up after disconnect.
Use these resources consistently:
Observation — the reading. Always include effectiveDateTime, code (LOINC, verified), valueQuantity with UCUM unit, device reference, and subject.Device — the source device. Include manufacturer, model, UDI when available, identifier (serial), and a stable reference.DeviceUseStatement — patient's use of the device over a time window (good for "Patient X is using a Dexcom G7 from 2025-09-01 to present").Provenance — capture the chain (device → HealthKit → app → cloud → FHIR server) for clinician trust.For BP, model as a single Observation with components for systolic, diastolic, mean — not as separate observations.
Wearable data is noisy. Filter or flag — do not silently accept.
Observation.method or extension).Consent resource: scope, sources, data types, expiration.Most consumer wearable vendors do not sign BAAs with most customers. Implications:
Engineering implication: design so that the device vendor's cloud doesn't store PHI on your behalf. Pull the data, transform, and store in your own BAA-covered infrastructure. Avoid sending PHI back to the vendor's cloud beyond what the user already shares.
When mixing wearable data with clinical decisions, build hard rails:
fda-samd for whether your downstream use of wearable data turns your software into a SaMD.Observation + Device + ProvenanceObservation, Device, Provenance shapeWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aks-builds/healthcareskills --plugin healthcare-skills41 skills in this plugin
/21-cfr-part-11When the user is building, validating, or auditing a computer system that creates, modifies, maintains, archives, retrieves, or transmits electronic records or applies electronic signatures in an FDA-regulated (GxP) context. Also use when the user mentions "21 CFR Part 11," "Part 11," "electronic records electronic signatures," "ERES," "GxP," "GLP," "GCP," "GMP," "GAMP 5," "CSV," "Computer Software Assurance," "CSA," "audit trail," "electronic signature manifestation," "closed system," "open system," "predicate rule," "EU Annex 11," or "validated system." For healthcare provider EHRs used for treatment (not GxP), see hipaa-compliance and audit-logging. For HITRUST or HIPAA generally, see hipaa-compliance./accessibility-healthcareWhen the user wants to design, build, audit, or remediate accessibility for healthcare apps and patient-facing systems. Also use when the user mentions "WCAG," "WCAG 2.2," "WCAG 3.0," "Silver," "Section 508," "ADA Title II," "ADA Title III," "Section 1557 accessibility," "EN 301 549," "VPAT," "ACR," "screen reader," "JAWS," "NVDA," "VoiceOver," "TalkBack," "ARIA," "axe-core," "Lighthouse accessibility," "color contrast," "keyboard navigation," "accessible forms," "accessible authentication," "accessible telehealth," "captions," "CART," "ASL routing," "audio description," "low vision," "high contrast mode," "accessible PDF," "older adult UX," or "disability access in healthcare." For plain language and reading level, see health-content-writing. For outreach orchestration, see patient-engagement.