mwaseem75 / iris-fhir-client

InterSystems FHIR Client
MIT License
1 stars 5 forks source link

Wasn't able to use via IPM #9

Closed evshvarov closed 3 weeks ago

evshvarov commented 1 month ago

I set up a local FHIR server via FHIR tempate.

Having my FHIR server in FHIRSERVER namespace with URL: http://localhost:32783/fhir/r4/ installed a server as: do ##class(dc.FhirClient).RegisterServer("Local FHIR Server","http://localhost:32783/fhir/r4/"," "," ")

But UI is not working:

Screenshot 2024-11-03 at 3 08 40 PM
evshvarov commented 1 month ago

CLI is not working either:

FHIRSERVER>do ##class(dc.FhirClient).RegisterServer("Local FHIR Server","http://localhost:32783do ##class(dc.FhirClient).RegisterServer("Local FHIR Server","http://localhost:32783/fhir/r4/",do ##class(dc.FhirClient).ListResources()

   do irisfhirclient.ListResources(obj.Endpoint,obj.ApiKey,opt) 
   ^
 }
 //Active Server data is not defined
<THROW>ListResources+8^dc.FhirClient.1 *%Exception.PythonException <PYTHON EXCEPTION> 246 <class 'requests.exceptions.InvalidHeader'>: Invalid leading whitespace, reserved character(s), or return character(s) in header value: ' '
FHIRSERVER 2d1>
mwaseem75 commented 3 weeks ago

The issue is resolved. The new release is updated. Please reinstall the application and try. Thanks