---
title: HKVerifiableClinicalRecord
framework: healthkit
role: symbol
role_heading: Class
path: healthkit/hkverifiableclinicalrecord
---

# HKVerifiableClinicalRecord

A sample that represents the contents of a SMART Health Card or EU Digital COVID Certificate.

## Declaration

```swift
class HKVerifiableClinicalRecord
```

## Overview

Overview HKVerifiableClinicalRecord samples contain data from a SMART Health Card or EU Digital COVID Certificate. Verifiable clinical records combine information about the user’s identity with clinical data, like an immunization record or a lab test result. The organization that produced the data cryptographically signs the bundle. Apps that use verifiable clinical records can use the cryptographic signature to verify the authenticity of the contents. To verify the card: Access the card’s raw payload using the clinical record’s dataRepresentation property. Unzip the payload and parse out the iss value, which contains a URL that identifies the organization that issued the card. Get the public key from the issuer. Verify the payload’s signature. For more information, see SMART Health Cards Framework and Electronic Health Certificates. You can download example SMART cards for testing and development from Examples.

## Topics

### Identifying the Subject

- [subject](healthkit/hkverifiableclinicalrecord/subject.md)

### Identifying the Issuer

- [issuerIdentifier](healthkit/hkverifiableclinicalrecord/issueridentifier.md)

### Reading Metadata

- [issuedDate](healthkit/hkverifiableclinicalrecord/issueddate.md)
- [relevantDate](healthkit/hkverifiableclinicalrecord/relevantdate.md)
- [expirationDate](healthkit/hkverifiableclinicalrecord/expirationdate.md)
- [recordTypes](healthkit/hkverifiableclinicalrecord/recordtypes.md)
- [sourceType](healthkit/hkverifiableclinicalrecord/sourcetype.md)
- [HKVerifiableClinicalRecordSourceType](healthkit/hkverifiableclinicalrecordsourcetype.md)
- [itemNames](healthkit/hkverifiableclinicalrecord/itemnames.md)

### Accessing the Raw Payload

- [dataRepresentation](healthkit/hkverifiableclinicalrecord/datarepresentation.md)
- [jwsRepresentation](healthkit/hkverifiableclinicalrecord/jwsrepresentation.md)

## Relationships

### Inherits From

- [HKSample](healthkit/hksample.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)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Medical records

- [Accessing Health Records](healthkit/accessing-health-records.md)
- [Accessing Sample Data in the Simulator](healthkit/accessing-sample-data-in-the-simulator.md)
- [Accessing a User’s Clinical Records](healthkit/accessing-a-user-s-clinical-records.md)
- [Accessing Data from a SMART Health Card](healthkit/accessing-data-from-a-smart-health-card.md)
- [HKClinicalRecord](healthkit/hkclinicalrecord.md)
- [HKFHIRResource](healthkit/hkfhirresource.md)
- [HKVerifiableClinicalRecordSubject](healthkit/hkverifiableclinicalrecordsubject.md)
- [HKCDADocumentSample](healthkit/hkcdadocumentsample.md)
- [HKDocumentSample](healthkit/hkdocumentsample.md)
- [CDA](healthkit/hkdocumenttypeidentifier/cda.md)
- [HKDocumentType](healthkit/hkdocumenttype.md)
