Kill the Clipboard - SMART Health Cards Library - v1.0.0
    Preparing search index...

    Interface SHLManifestV1

    SHL Manifest structure (v1).

    The manifest is the JSON response returned by SHL manifest URLs. It contains an array of file descriptors that reference the encrypted files associated with the SHL. Each file can be either embedded directly or referenced by a location URL.

    const manifest: SHLManifestV1 = {
    status: 'finalized',
    list: {
    resourceType: 'List',
    id: 'patient-summary',
    status: 'current',
    mode: 'snapshot',
    title: 'Patient Health Summary',
    entry: [
    { item: { reference: 'Patient/123' } },
    { item: { reference: 'Observation/456' } }
    ]
    },
    files: [
    {
    contentType: 'application/smart-health-card',
    embedded: 'eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIi4uLg==', // Small file
    lastUpdated: '2024-01-15T10:30:00Z'
    },
    {
    contentType: 'application/fhir+json',
    location: 'https://files.example.org/temp/abc123?expires=...' // Large file
    }
    ]
    };
    interface SHLManifestV1 {
        files: SHLManifestFileDescriptor[];
        list?: List;
        status?: "finalized" | "can-change" | "no-longer-valid";
    }
    Index

    Properties

    Properties

    Array of file descriptors.

    list?: List

    Optional FHIR List resource providing metadata about the collection of files.

    status?: "finalized" | "can-change" | "no-longer-valid"

    Optional status indicating whether files may change in the future.