GithubHelp home page GithubHelp logo

Comments (6)

kaicode avatar kaicode commented on September 14, 2024

Hi @ulsa123,
I responded on the Jira ticket but will post again here for community visibility:

Unfortunately it is not possible for a FHIR interface to return specific fields from reference set members using ECL. It just doesn't fit in with the permitted response format.

Please remove the specific field section from the ECL to make it work:

^ 447562003 |ICD-10 complex map reference set|  {{ M mapTarget = wild:"J45*" }}

https://dailybuild-qa.northeurope.cloudapp.azure.com/snowstorm/snomed-ct/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/%5E%20447562003%20%7CICD-10%20complex%20map%20reference%20set%7C%20%20%7B%7B%20M%20mapTarget%20%3D%20wild%3A%22J45*%22%20%7D%7D&system-version=http://snomed.info/xsct/51000202101

This is consistent with other FHIR servers including Ontoserver. I do think that the ECL specification could mention this to help communicate this fact and the Snowstorm error message could be improved.

Thanks for raising this.

from snowstorm.

kaicode avatar kaicode commented on September 14, 2024

@ulsa123 you can fetch refset member fields using the native Snowstorm API:
https://snowstorm.ihtsdotools.org/snowstorm/snomed-ct/MAIN/SNOMEDCT-NO/concepts?ecl=%5E%20%20%5BmapAdvice%5D%20447562003%20%7CICD-10%20complex%20map%20reference%20set%7C%20%20%7B%7B%20M%20mapTarget%20%3D%20wild%3A%22J45*%22%20%7D%7D
.. it's just not supported in FHIR APIs.

from snowstorm.

ulsa123 avatar ulsa123 commented on September 14, 2024

Yes, and that is usefull.
We considered The FHIR api to dynamically populate and expand a FHIR valueset with expressions.

from snowstorm.

kaicode avatar kaicode commented on September 14, 2024

It's a good idea to use the FHIR interface wherever you can. It's a shame the refset member fields sit outside of this.

Expanding ValueSets with expressions should work in FHIR once that is implemented. A workflow for this is in discussion with the SNOMED on FHIR working group.

from snowstorm.

kaicode avatar kaicode commented on September 14, 2024

I'm not sure if this helps but the latest implementation of the FHIR API in the Snowstorm X project returns the ICD-10 map advice when translating SNOMED CT codes to ICD-10.
e.g. https://dev-is-browser.ihtsdotools.org/fhir/ConceptMap/$translate?code=254153009&system=http://snomed.info/sct&targetsystem=http://hl7.org/fhir/sid/icd-10

This version of Snowstorm is available here: https://github.com/IHTSDO/snowstorm-x/releases

from snowstorm.

kaicode avatar kaicode commented on September 14, 2024

@ulsa123 I think your issue has already been resolved but just to let you know..

Snowstorm version 8.1.0 has just been published https://github.com/IHTSDO/snowstorm/releases
The new version of the FHIR API includes the ICD-10 complex map advice in the response message field when using $translate.
Unfortunately there is still no standard way to do this in FHIR R4. I heard that it might get introduced in the FHIR R5 specification.

from snowstorm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.