Contents

HKVerifiableClinicalRecord

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

Declaration

class HKVerifiableClinicalRecord

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:

  1. Access the card’s raw payload using the clinical record’s dataRepresentation property.

  2. Unzip the payload and parse out the iss value, which contains a URL that identifies the organization that issued the card.

  3. Get the public key from the issuer.

  4. 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

Identifying the Issuer

Reading Metadata

Accessing the Raw Payload

See Also

Medical records