Scenario:  Patient-facing application (Mobile App, Patient Portal, or proprietary Patient Viewer Application) requests access to a shareable copy of their Patient Summary in SHLink format.

Assumption:  The Patient Summary either exists or is generated on demand. This step occurs prior and is transparent to the SHLink generation.

Implementation Option:  This sequence diagram provides the option of using the CA:SHL Interoperability Specifications that provide support for requesting generation of a Shareable Health Link to their Patient Summary from a Clinical Data Repository. This profile includes an SHLink Requester and an SHLink Creator actor. Additionally, this sequence diagram uses the 'Generate SHLink' CA:SHL-1 transaction.

The server-side generates the SHLink and upon receival, the SHLink is typically converted in a QR code format, that can be downloaded by the patient and saved onto their phone or other media. The SHLink optionally contains a viewer URL that is recognizable by a browser and can display information related to the SHLink. 

Sequence Diagram Overview: 

Below provides guidance on how to read the sequence diagram: