---
title: identifier
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkmedicationconcept/identifier
---

# identifier

The unique identifier for the specific medication concept.

## Declaration

```swift
@NSCopying var identifier: HKHealthConceptIdentifier { get }
```

## Discussion

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.
