HKVerifiableClinicalRecord
A sample that represents the contents of a SMART Health Card or EU Digital COVID Certificate.
Declaration
class HKVerifiableClinicalRecordOverview
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
issvalue, 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
Identifying the Issuer
Reading Metadata
issuedDaterelevantDateexpirationDaterecordTypessourceTypeHKVerifiableClinicalRecordSourceTypeitemNames