From d5c2d2ca64911d1fb7823abbdd834334161ce05c Mon Sep 17 00:00:00 2001 From: Tom Gebhardt Date: Mon, 12 May 2025 12:42:53 +0200 Subject: [PATCH] link fix for large DB imports --- fhirImport.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fhirImport.py b/fhirImport.py index bb862d3..180f25c 100644 --- a/fhirImport.py +++ b/fhirImport.py @@ -32,7 +32,10 @@ def getBundle(url: str, search: str): if url is not None: - link = url + '?_format=json' + if '?' in url: + link = url + '&_format=json' + else: + link = url + '?_format=json' else: link = fhir_server + search + '&_format=json'