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 } ]}; Copy
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 } ]};
Array of file descriptors.
Optional
Optional FHIR List resource providing metadata about the collection of files.
Optional status indicating whether files may change in the future.
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.
Example