WHO SMART Trust
1.1.4 - CI Build

WHO SMART Trust, published by WHO. This guide is not an authorized publication; it is the continuous build for version 1.1.4 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-trust/tree/release-candidate-1.1.4 and changes regularly. See the Directory of published versions

## Logical Model: Smart Health Link Payload (DRAFT)

Official URL: http://smart.who.int/trust/StructureDefinition/SmartHealthLinkPayload | Version: 1.1.4
Draft as of 2024-10-04 | Computable Name: SmartHealthLinkPayload

Smart Health Link Payload (DRAFT)

This logical model was taken from the SMART Health Link documentation https://docs.smarthealthit.org/smart-health-links/spec#construct-a-shlink-payload as if 30 November 2023.

A [[ SMART Health Link]] is generated from this payload according to the algorithm documented here https://docs.smarthealthit.org/smart-health-links/spec#example-shlink-generation to create a

It is generated

Usage:

- This Logical Model Profile is not used by any profiles in this Implementation Guide

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Differential Table
- Key Elements Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Base

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
SmartHealthLinkPayload |  | 0..* | Base | Smart Health Link Payload (DRAFT) Instances of this logical model are not marked to be the target of a Reference
url |  | 1..1 | string | url
key |  | 1..1 | string | Decryption key for processing files returned in the manifest. 43 characters, consisting of 32 random bytes base64urlencoded.
exp |  | 0..1 | string | Optional. Number representing expiration time in Epoch seconds, as a hint to help the SHL Receiving Application determine if this QR is stale. (Note: epoch times should be parsed into 64-bit numeric types.)
flag |  | 0..1 | string | Optional. String created by concatenating single-character flags in alphabetical order L Indicates the SHLink is intended for long-term use and manifest content can evolve over time P Indicates the SHLink requires a Passcode to resolves U Indicates the SHLink's url resolves to a single encrypted file accessible via GET, bypassing the manifest. SHALL NOT be used in combination with P.
label |  | 0..1 | string | Optional. String no longer than 80 characters that provides a short description of the data behind the SHLink.
v |  | 0..1 | string | Optional. Integer representing the SHLinks protocol version this SHLink conforms to. MAY be omitted when the default value (1) applies.
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
SmartHealthLinkPayload |  | 0..* | Base | Smart Health Link Payload (DRAFT) Instances of this logical model are not marked to be the target of a Reference
url |  | 1..1 | string | url
key |  | 1..1 | string | Decryption key for processing files returned in the manifest. 43 characters, consisting of 32 random bytes base64urlencoded.
exp |  | 0..1 | string | Optional. Number representing expiration time in Epoch seconds, as a hint to help the SHL Receiving Application determine if this QR is stale. (Note: epoch times should be parsed into 64-bit numeric types.)
flag |  | 0..1 | string | Optional. String created by concatenating single-character flags in alphabetical order L Indicates the SHLink is intended for long-term use and manifest content can evolve over time P Indicates the SHLink requires a Passcode to resolves U Indicates the SHLink's url resolves to a single encrypted file accessible via GET, bypassing the manifest. SHALL NOT be used in combination with P.
label |  | 0..1 | string | Optional. String no longer than 80 characters that provides a short description of the data behind the SHLink.
v |  | 0..1 | string | Optional. Integer representing the SHLinks protocol version this SHLink conforms to. MAY be omitted when the default value (1) applies.
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
SmartHealthLinkPayload |  | 0..* | Base | Smart Health Link Payload (DRAFT) Instances of this logical model are not marked to be the target of a Reference
url |  | 1..1 | string | url
key |  | 1..1 | string | Decryption key for processing files returned in the manifest. 43 characters, consisting of 32 random bytes base64urlencoded.
exp |  | 0..1 | string | Optional. Number representing expiration time in Epoch seconds, as a hint to help the SHL Receiving Application determine if this QR is stale. (Note: epoch times should be parsed into 64-bit numeric types.)
flag |  | 0..1 | string | Optional. String created by concatenating single-character flags in alphabetical order L Indicates the SHLink is intended for long-term use and manifest content can evolve over time P Indicates the SHLink requires a Passcode to resolves U Indicates the SHLink's url resolves to a single encrypted file accessible via GET, bypassing the manifest. SHALL NOT be used in combination with P.
label |  | 0..1 | string | Optional. String no longer than 80 characters that provides a short description of the data behind the SHLink.
v |  | 0..1 | string | Optional. Integer representing the SHLinks protocol version this SHLink conforms to. MAY be omitted when the default value (1) applies.
Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

Differential View

This structure is derived from Base

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
SmartHealthLinkPayload |  | 0..* | Base | Smart Health Link Payload (DRAFT) Instances of this logical model are not marked to be the target of a Reference
url |  | 1..1 | string | url
key |  | 1..1 | string | Decryption key for processing files returned in the manifest. 43 characters, consisting of 32 random bytes base64urlencoded.
exp |  | 0..1 | string | Optional. Number representing expiration time in Epoch seconds, as a hint to help the SHL Receiving Application determine if this QR is stale. (Note: epoch times should be parsed into 64-bit numeric types.)
flag |  | 0..1 | string | Optional. String created by concatenating single-character flags in alphabetical order L Indicates the SHLink is intended for long-term use and manifest content can evolve over time P Indicates the SHLink requires a Passcode to resolves U Indicates the SHLink's url resolves to a single encrypted file accessible via GET, bypassing the manifest. SHALL NOT be used in combination with P.
label |  | 0..1 | string | Optional. String no longer than 80 characters that provides a short description of the data behind the SHLink.
v |  | 0..1 | string | Optional. Integer representing the SHLinks protocol version this SHLink conforms to. MAY be omitted when the default value (1) applies.
Documentation for this format

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
SmartHealthLinkPayload |  | 0..* | Base | Smart Health Link Payload (DRAFT) Instances of this logical model are not marked to be the target of a Reference
url |  | 1..1 | string | url
key |  | 1..1 | string | Decryption key for processing files returned in the manifest. 43 characters, consisting of 32 random bytes base64urlencoded.
exp |  | 0..1 | string | Optional. Number representing expiration time in Epoch seconds, as a hint to help the SHL Receiving Application determine if this QR is stale. (Note: epoch times should be parsed into 64-bit numeric types.)
flag |  | 0..1 | string | Optional. String created by concatenating single-character flags in alphabetical order L Indicates the SHLink is intended for long-term use and manifest content can evolve over time P Indicates the SHLink requires a Passcode to resolves U Indicates the SHLink's url resolves to a single encrypted file accessible via GET, bypassing the manifest. SHALL NOT be used in combination with P.
label |  | 0..1 | string | Optional. String no longer than 80 characters that provides a short description of the data behind the SHLink.
v |  | 0..1 | string | Optional. Integer representing the SHLinks protocol version this SHLink conforms to. MAY be omitted when the default value (1) applies.
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
SmartHealthLinkPayload |  | 0..* | Base | Smart Health Link Payload (DRAFT) Instances of this logical model are not marked to be the target of a Reference
url |  | 1..1 | string | url
key |  | 1..1 | string | Decryption key for processing files returned in the manifest. 43 characters, consisting of 32 random bytes base64urlencoded.
exp |  | 0..1 | string | Optional. Number representing expiration time in Epoch seconds, as a hint to help the SHL Receiving Application determine if this QR is stale. (Note: epoch times should be parsed into 64-bit numeric types.)
flag |  | 0..1 | string | Optional. String created by concatenating single-character flags in alphabetical order L Indicates the SHLink is intended for long-term use and manifest content can evolve over time P Indicates the SHLink requires a Passcode to resolves U Indicates the SHLink's url resolves to a single encrypted file accessible via GET, bypassing the manifest. SHALL NOT be used in combination with P.
label |  | 0..1 | string | Optional. String no longer than 80 characters that provides a short description of the data behind the SHLink.
v |  | 0..1 | string | Optional. Integer representing the SHLinks protocol version this SHLink conforms to. MAY be omitted when the default value (1) applies.
Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

Other representations of profile: CSV, Excel