---
title: HKClinicalCoding
framework: healthkit
role: symbol
role_heading: Class
path: healthkit/hkclinicalcoding
---

# HKClinicalCoding

A clinical coding that represents a medical concept using a standardized coding system.

## Declaration

```swift
class HKClinicalCoding
```

## Overview

Overview A clinical coding pairs a system, an optional version, and a code which identify a medical concept. This model is closely related to the FHIR Coding model.

## Topics

### Initializers

- [init(coder:)](healthkit/hkclinicalcoding/init(coder:).md)
- [init(system:version:code:)](healthkit/hkclinicalcoding/init(system:version:code:).md)

### Instance Properties

- [code](healthkit/hkclinicalcoding/code.md)
- [system](healthkit/hkclinicalcoding/system.md)
- [version](healthkit/hkclinicalcoding/version.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Medication queries

- [HKHealthConceptIdentifier](healthkit/hkhealthconceptidentifier.md)
- [HKMedicationConcept](healthkit/hkmedicationconcept.md)
- [HKMedicationDoseEvent](healthkit/hkmedicationdoseevent.md)
- [HKMedicationDoseEventType](healthkit/hkmedicationdoseeventtype.md)
- [HKUserAnnotatedMedication](healthkit/hkuserannotatedmedication.md)
- [HKUserAnnotatedMedicationQuery](healthkit/hkuserannotatedmedicationquery.md)
- [HKUserAnnotatedMedicationType](healthkit/hkuserannotatedmedicationtype.md)
- [HKHealthConceptDomain](healthkit/hkhealthconceptdomain.md)
- [HKMedicationGeneralForm](healthkit/hkmedicationgeneralform.md)
- [HKUserAnnotatedMedicationQueryDescriptor](healthkit/hkuserannotatedmedicationquerydescriptor.md)
