Kill the Clipboard - SMART Health Cards Library - v0.0.1
    Preparing search index...

    Interface SmartHealthCardJWT

    JWT payload structure for SMART Health Cards.

    interface SmartHealthCardJWT {
        exp?: number;
        iss: string;
        nbf: number;
        vc: {
            credentialSubject: { fhirBundle: FHIRBundle; fhirVersion: string };
            type: string[];
        };
    }
    Index

    Properties

    Properties

    exp?: number

    Optional expiration timestamp (Unix timestamp).

    iss: string

    Issuer URL identifying the organization.

    nbf: number

    Not before timestamp (Unix timestamp).

    vc: {
        credentialSubject: { fhirBundle: FHIRBundle; fhirVersion: string };
        type: string[];
    }

    The verifiable credential content.

    Type declaration

    • credentialSubject: { fhirBundle: FHIRBundle; fhirVersion: string }

      The credential subject containing FHIR data.

      • fhirBundle: FHIRBundle

        The FHIR Bundle containing medical data.

      • fhirVersion: string

        FHIR version in semantic version format (e.g., '4.0.1').

    • type: string[]

      Array of credential types, must include 'https://smarthealth.cards#health-card'.