Contents

identifier

The unique identifier for the specific medication concept.

Declaration

@NSCopying var identifier: HKHealthConceptIdentifier { get }

Discussion

Each concept has one stable identifier that stays the same across devices. You can use this identifier to directly compare medications, for example, to check whether two objects represent the same medication.