From 91dc31d0398d9a97a213c40260bb1a99e63dd7b8 Mon Sep 17 00:00:00 2001
From: Pierre Delpy
Date: Mon, 8 Jul 2024 13:54:42 +0200
Subject: [PATCH] fix: use correct ID management flag for oBDS2FHIR
---
ccp/modules/obds2fhir-rest-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ccp/modules/obds2fhir-rest-setup.sh b/ccp/modules/obds2fhir-rest-setup.sh
index 504bc86..677ea63 100644
--- a/ccp/modules/obds2fhir-rest-setup.sh
+++ b/ccp/modules/obds2fhir-rest-setup.sh
@@ -3,7 +3,7 @@
function obds2fhirRestSetup() {
if [ -n "$ENABLE_OBDS2FHIR_REST" ]; then
log INFO "oBDS2FHIR-REST setup detected -- will start obds2fhir-rest module."
- if [ ! -n "$IDMANAGER_LOCAL_PATIENTLIST_APIKEY" ]; then
+ if [ ! -n "$IDMANAGER_UPLOAD_APIKEY" ]; then
log ERROR "Missing ID-Management Module! Fix this by setting up ID Management:"
PATIENTLIST_URL=" "
fi