LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects
https://linuxforhealth.github.io/FHIR
Apache License 2.0
328 stars 157 forks source link

Using public FHIR server LOINC e SNOMED-CT #4236

Open APicchio opened 1 year ago

APicchio commented 1 year ago

I’m trying to use public FHIR servers: LOINC FHIR server and SNOMED-CT FHIR server but I have an error when I use LOINC FHIR server.

I configurated these servers in the file "fhir-server-config.json" in the following way:

"term": { "remoteTermServiceProviders": [ { "comment": "Configuration for public LOINC endpoint", "enabled": true, "base": "https://fhir.loinc.org", "basicAuth": { "username": "XXXX", "password": "XXX" }, "supports": [{ "system": "http://loinc.org" }] }, { "comment": "Configuration for public SNOMED-CT endpoint", "enabled": true, "base": "https://snowstorm-fhir.snomedtools.org/fhir", "supports": [{ "system": "http://snomed.info/sct" }] }] },

The request is: https://192.168.99.99:9443/fhir-server/api/v4/CodeSystem/$lookup?code=718-7&system=http://loinc.org

The response is: "severity": "fatal", "code": "not-supported", "details": { "text": "CodeSystem with url 'http://loinc.org' is not available" }

I tried to call directly the public FHIR server using the same parameters and it’s work. https://fhir.loinc.org/CodeSystem/$lookup?code=718-7&system=http://loinc.org

Maybe I miss some steps or configurations? Thanks in advance, Alex