Jump to content
Toggle menu
  • 131 articles
  • 373 files
  • 34 users
  • 7K edits
Voror_Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Data Sharing Manager/API calls through DSM: Difference between revisions

From Voror_Wiki
No edit summary
No edit summary
 
Line 3: Line 3:
This diagram shows, at a high level, the way the API calls, and the associated projects, are given access to the correct patient details:
This diagram shows, at a high level, the way the API calls, and the associated projects, are given access to the correct patient details:
# When an API call is made, Keycloak checks the user ID.
# When an API call is made, Keycloak checks the user ID.
#DSM then uses the user ID to determine which project that user ID has access to.
#Data Sharing Manager then uses the user ID to determine which project that user ID has access to.
# The project information in DSM determines which organisation’s (publishers) data is made available, and the associated config entry.
# The project information in Data Sharing Manager determines which organisation’s (publishers) data is made available, and the associated config entry.
# The DDS UI config entry is used to access the configuration information in the config database; this determines which internal Compass database can be accessed.
# The Data Service Manager config entry is used to access the configuration information in the config database; this determines which internal Compass database can be accessed.
The following examples show how access differs depending on the project information and publisher lists. We will assume that the Internal Compass Database holds data for 100 organisations.
The following examples show how access differs depending on the project information and publisher lists. We will assume that the Internal Compass Database holds data for 100 organisations.


{{Note|These examples use the same config entry and the same Internal Compass Database, however the project information in the DSM is unique to each project.}}
{{Note|These examples use the same config entry and the same Internal Compass Database, however the project information in the Data Sharing Manager is unique to each project.}}


===Example 1: The project only has access to 10 of the 100 organisations===
===Example 1: The project only has access to 10 of the 100 organisations===

Latest revision as of 11:29, 30 April 2025

API call overview

This diagram shows, at a high level, the way the API calls, and the associated projects, are given access to the correct patient details:

  1. When an API call is made, Keycloak checks the user ID.
  2. Data Sharing Manager then uses the user ID to determine which project that user ID has access to.
  3. The project information in Data Sharing Manager determines which organisation’s (publishers) data is made available, and the associated config entry.
  4. The Data Service Manager config entry is used to access the configuration information in the config database; this determines which internal Compass database can be accessed.

The following examples show how access differs depending on the project information and publisher lists. We will assume that the Internal Compass Database holds data for 100 organisations.

These examples use the same config entry and the same Internal Compass Database, however the project information in the Data Sharing Manager is unique to each project.

Example 1: The project only has access to 10 of the 100 organisations

Project 1

Example 2: The project only has access to 50 of the 100 organisations

Project 2

Example 3: The project has access to all 100 organisations

Project 3