Return the FHIR Bundle from the health card.
OptionaloptimizeForQR?: booleanWhether to optimize the FHIR Bundle for QR code optimization
OptionalstrictReferences?: booleanWhether to enforce strict reference validation during QR optimization
Promise resolving to FHIR Bundle
InvalidBundleReferenceError If optimizeForQR is true and a reference target is missing when strictReferences is true
Return downloadable Blob with correct MIME type.
Promise resolving to Blob with application/smart-health-card MIME type
Return JSON file content for .smart-health-card files.
Promise resolving to JSON string with verifiableCredential array
Returns the raw JWS string.
The JWS string
Generate QR code data URLs from the health card.
Optional QR code configuration parameters. See QRCodeConfigParams.
Promise resolving to array of QR code data URLs
QRCodeError When JWS contains invalid characters or chunking is required but disabled
Generate QR numeric strings from the health card.
Optional QR code configuration parameters. See QRCodeConfigParams.
Array of QR numeric strings in SMART Health Cards format (shc:/...)
QRCodeError When JWS contains invalid characters
Return the issuer metadata associated with this health card.
Array of issuer objects (may be empty)
Represents an issued SMART Health Card with various output formats. This is the main user-facing object that provides different ways to export the health card.