From bc72093be9c42db534d12a4d418106cf7e21409d Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 15 Dec 2022 16:39:23 +0100 Subject: [PATCH] docs: Added Documentation for the IDM Module --- ccp/modules/id-management.md | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 ccp/modules/id-management.md diff --git a/ccp/modules/id-management.md b/ccp/modules/id-management.md new file mode 100644 index 0000000..8de2f5a --- /dev/null +++ b/ccp/modules/id-management.md @@ -0,0 +1,58 @@ +# Module: Id-Management +This module provides integration with the CCP-Pseudonymiziation Service. To learn more on the backgrounds of this service, you can refer to the [CCP-DSK](https://dktk.dkfz.de/application/files/5016/2030/2474/20_11_23_Datenschutzkonzept_CCP-IT_inkl_Anlagen.pdf). + +## Getting Started +You must add following configuration variables to your sites-configuration repository: + +``` +IDMANAGER_CENTRAXX_APIKEY="" +IDMANAGER_CONNECTOR_APIKEY="" +IDMANAGER_CENTRAL_PATIENTLIST_APIKEY="" +IDMANAGER_CONTROLNUMBERGENERATOR_APIKEY="" +IDMANAGER_AUTH_CLIENT_ID="" +IDMANAGER_AUTH_CLIENT_SECRET="" +``` + +Additionally, the ccp-it needs to add a new file "patientlist-id-generators.env" to your site configuration. This file will hold the seeds for the different id-generators used in all projects. + +After adding the configuration, you simply need to update your bridgehead and 3 new services will run on your server: + +- `bridgehead-id-manager`, accessible by "https:///id-manager". This component adds a common interface for creating pseudonymes in the bridgehead. +- `bridgehead-patientlist`, accessible by "https:// NOTE: Please create the postgres dump with the options "--no-owner" and "--no-privileges". Additionally ensure the dump is created in the plain format (SQL). + +After this, you can restart your bridgehead and the dump will be imported: +``` +systemctl start bridgehead@ccp +``` + +### How to connect your local data-management +Typically, the sites connect their local data-management for the pseudonym creation with the id-management in the bridgehead. In the following two sections, you can read where you can change the configuration: +#### Sites using CentraXX +On your CentraXX Server, you need to change following settings in the "centraxx-dev.properties" file. +``` +dktk.idmanagement.url=https:///id-manager/translator/getId +dktk.idmanagement.apiKey= +``` +They typically already exist, but need to be changed to the new values! +#### Sites using ADT2FHIR +@Pierre + + +### How to connect the legacy windows bridgehead +You need to change the configuration file "..." of your Windows Bridgehead. TODO...