CH EPR mHealth (R4)
3.0.0-ballot - ballot Switzerland flag

This page is part of the CH EPR mHealth (R4) (v3.0.0-ballot: Draft Ballot 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Sequence Diagrams

Sample sequence diagrams to illustrate the usage of the generic mhealth option / SMART on FHIR options for reading documents as a patient / health professional:

patient get document – generic mHealth option

mHealth AppCommunity ComponentsIdPPatientPatientApp GUIApp GUIDocument Consumer (MHD)Document Consumer (MHD)Patient Identifier Cross-reference ConsumerPatient Identifier Cross-reference ConsumerAuthorization Client (IUA)Authorization Client (IUA)Patient IdentifierCross-referenceMangerPatient IdentifierCross-referenceMangerAuthorization Server (IUA)Authorization Server (IUA)Document Responder (MHD)Document Responder (MHD)UserAuthenticationProviderUserAuthenticationProvider[01]read doc[02]GET /metadata[03]Conformance statement incl. OAuth 2.1 endpoints[04]Get Access Token[05][ITI-71] Get Access Token Request[06]Authenticate User[07] [08]Authorize App Access[09][ITI-71] Get Access Token Response[10] [11]query MPI_A-PID from MPIusing local ID and access token[12][ITI-83] Mobile Patient Identifier Cross-reference Query [local ID] together with access token[13][ITI-83] ] Mobile Patient Identifier Cross-reference Query Response [MPI-PID, EPR-SPID][14] [15]Get Access Token[16][ITI-71] Get Access Token [Extended access token][17][ITI-71] Get Access Token Response [Extended access token][18] [19]query documents[20]query documents [ITI-67][21] [22] [23]retrieve documents[24]retrieve document [ITI-68][25] [26] [27] 

patient get document – SMART on FHIR option

mHealth embedded AppCommunity ComponentsIdPPatientPatientApp GUIIUA Authorization ClientApp GUIIUA Authorization ClientDocument Consumer (MHD)Document Consumer (MHD)Authorization Server (IUA)Authorization Server (IUA)Document Responder (MHD)Document Responder (MHD)UserAuthenticationProviderUserAuthenticationProvider[01]read doc[02]GET /metadata[03]Conformance statement incl. OAuth 2.1 endpoints[04]IUA Get Access Token[05]Authenticate User[06] [07]Authorize App Access[08]On Approval redirect to app with code[09]query documents[10]query documents [ITI-67][11] [12] [13]retrieve documents[14]retrieve document [ITI-68][15] [16] [17] 

health professional: get document – SMART on FHIR option

mHealth AppmHealth embedded AppCommunity ComponentsIdPHealth ProfessionalHealth ProfessionalApp GUIIUA Authorization ClientApp GUIIUA Authorization ClientPatient Identifier Cross-reference ConsumerPatient Identifier Cross-reference ConsumerApp GUIIUA Authorization ClientApp GUIIUA Authorization ClientDocument Consumer (MHD)Document Consumer (MHD)Authorization Server (IUA)Authorization Server (IUA)Patient IdentifierCross-referenceMangePatient IdentifierCross-referenceMangeDocument Responder (MHD)Document Responder (MHD)UserAuthenticationProviderUserAuthenticationProvider[01]read doc[02]GET /metadata[03]Conformance statement incl. OAuth 2.1 endpoints[04]Redirect to Authorization Server (SMART standalone launch sequence)with OpenID Connect[05]Authenticate User[06] [07]Authorize App Access[08]On Approval redirect to app with code[09]Exchange code for access token[10]access token for response[11]query MPI_A-PID from MPIusing local ID and access token[12][ITI-83] Mobile Patient Identifier Cross-reference Query [local ID] together with access token[13][ITI-83] ] Mobile Patient Identifier Cross-reference Query Response [MPI-PID, EPR-SPID][14] [15]launch app[16]IUA Get Access Token[17]Authenticate User[18] [19]Authorize App Access[20]On Approval redirect to app with code[21]query documents[22]query documents [ITI-67][23] [24] [25]query documents[26]retrieve document [ITI-68][27] [28] [29] [30]