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'