Lab and clinical records

Condition Record

conditionRecord in Apple HealthKit. Check what the API exposes and what to look for when this data is missing or differs between apps.

API contract

Identifier
conditionRecord
Type family
clinical
Identifier introduced
iOS 12.0

Apple Developer reference for conditionRecord

Look up the type in Swift

Use the identifier with an SDK and OS supporting this type. Check that HealthKit is available and configure authorization in your app before requesting access.

import HealthKit

let type = HKObjectType.clinicalType(forIdentifier: .conditionRecord)

Set up HealthKit authorization

What to check when the value is missing

Check that Clinical Health Records access is configured and that a supported record exists in the user’s Health app. Keep source provenance when exporting a record.

An empty query can mean your read access is limited, the writer used another type or the selected time window contains no matching data. Start with an entry of a known date and check the corresponding type in the Health app.

Use supported devices and authorized data for verification. The API contract alone does not establish which third-party apps write this type.

API documentation checked . Examples are developer starting points based on the published API.