-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loinc Codes Not found After uploading FHIR Terminology package #609
Comments
I'm not aware of a way to upload bundles to Snowstorm. It is possible to upload FHIR Packages, is this what you mean? |
@kaicode Thanks for response!
|
I've reproduced this issue. The HL7 package contains an empty version of the LOINC codesystem with the correct URL and version "3.0.0". The original LOINC version, loaded from the loinc package, also exists within Snowstorm but no version is set because the loinc package data does not contain the version number. Both codesystems listed here: http://localhost:8080/fhir/CodeSystem?name=LOINC All codes are tied to a specific version of the code system. Snowstorm doesn't know which version of LOINC to use. It seems to be automatically selecting the empty "3.0.0" version of LOINC when attempting to complete the lookup and other operations. It's not possible to delete codesystems via the Snowstorm FHIR API.
I have tested the second solution and that fixes lookups. |
@kaicode, thank you for the swift resolution! I've tested the second workaround, and it's functioning well for other APIs with LOINC as well. This addresses the issue for now. I'm curious to know if there are any definitive solutions anticipated in upcoming Snowstorm releases to manage multiple versions of the same CodeSystem and to delete an uploaded CodeSystem. |
I think it would be sensible for Snowstorm to ignore CodeSystem that don't contain codes if a CodeSystem with the same URL already exists. This way importing the HL7 terminology package would not hide the real LOINC import. |
Hello @kaicode ,
We are using Snowstorm 10.2.1 as a FHIR terminology server.After uploading FHIR CodeSystem & ValueSet Bundle , We get Loinc Code Not found Error which were working before FHIR Bundle upload.
We have been facing this issue from snowstorm 9 as reported earlier here .
Components Used:
Steps To recreate issue :
{{server}}/fhir/CodeSystem/$lookup?system=http://loinc.org&code=21176-3
"resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "not-found", "diagnostics": "Code '21176-3' not found for system 'http://loinc.org'." } ] }
This example is given for Lookup API but along with lookup , all other APIs return same NOT FOUND status when it comes to LOINC.
Please, guide us to resolve this issue.
Thanks & Regards!
The text was updated successfully, but these errors were encountered: