set magicpl instead of patientlist

This commit is contained in:
p.delpy@dkfz-heidelberg.de 2022-12-16 15:01:04 +01:00
parent e0c9a5ced3
commit e7b238de9d
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@ services:
environment:
BLAZE_STORE_URL: http://bridgehead-ccp-blaze:8080/fhir
# NOTE: Aktuell Berechtigungen wie MagicPL!!!
# TODO: Add separate ApiKey to Patientlist only for MTBA!
ID_MANAGER_API_KEY: ${IDMANAGER_LOCAL_PATIENTLIST_APIKEY}
# TODO: Add separate ApiKey to MagicPL only for MTBA!
ID_MANAGER_API_KEY: ${IDMANAGER_UPLOAD_APIKEY}
ID_MANAGER_PSEUDONYM_ID_TYPE: BK_${IDMANAGEMENT_FRIENDLY_ID}_L-ID
ID_MANAGER_URL: http://bridgehead-id-manager:8080
PATIENT_CSV_FIRST_NAME_HEADER: ${PATIENT_CSV_FIRST_NAME_HEADER:-"FIRST_NAME"}

View File

@ -12,7 +12,7 @@ function mtbaSetup() {
# TODO: Check if ID-Management Module is activated!
if [ -n "$ENABLE_MTBA" ];then
log INFO "MTBA setup detected -- will start MTBA Service and CBioPortal."
if [ -n "$IDMANAGER_UPLOAD_APIKEY" ]; then
if [ ! -n "$IDMANAGER_UPLOAD_APIKEY" ]; then
log ERROR "Detected MTBA Module configuration but ID-Management Module seems not to be configured!"
exit 1;
fi