mwaseem75 / iris-fhir-client

InterSystems FHIR Client
MIT License
1 stars 4 forks source link

Doesn't work with localhost FHIR server #6

Open evshvarov opened 7 months ago

evshvarov commented 7 months ago

I'm running the FHIR server from Guillaume's Rongier repository

It sets up FHIR server on http://localhost:32783/api/fhir/

I register server in the client but the ListResources() call throws the following error: HEALTHTOOLKIT>do ##class(dc.FhirClient).ListResources()

do irisfhirclient.ListResources(obj.Endpoint,obj.ApiKey,opt) ^ } //Active Server data is not defined

ListResources+8^dc.FhirClient.1 *%Exception.PythonException 230 ListResources+8^dc.FhirClient.1^3^ do irisfhirclient.ListResources(obj.Endpoint,obj.ApiKey,opt) : HTTPConnectionPool(host='localhost', port=32783): Max retries exceeded with url: /api/fhir/metadata (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) - Any ideas what am I doing wrong?
mwaseem75 commented 7 months ago

Will check it as it requires to check in detail.