Git Product home page Git Product logo

Comments (3)

kaicode avatar kaicode commented on September 14, 2024 1

This format is quite basic and does not allow version or active flags on properties. Snowstorm is primarily for SNOMED CT which is much more complex but even that does not expose a version or active flag for concept attributes when using the FHIR API. In fact I'm not sure that the FHIR spec for the Terminology module supports this? There is a mention of property.subproperty in the CodeSystem lookup spec but Snowstorm does not support this.
Snowstorm does have another API that does expose the attributes version and active flags but that is only for SNOMED CT, it does not support other codesystem types.

from snowstorm.

kaicode avatar kaicode commented on September 14, 2024

The custom code system FHIR import format (docs here) allows for attributes to be defined using the properties.csv file. In this file you should be able to use any key or value you like. Snowstorm should persist the properties and output them against the concept/code during a CodeSystem $lookup operation.

Once you have modified the custom code system files just create a zip file and upload the zip like this:

hapi-fhir-cli upload-terminology -d custom_code_system.zip -v r4 -t http://localhost:8080/fhir -u http://example.com/lab-codes

Where custom_code_system.zip is the zip of your files. You can change "http://example.com/lab-codes" to whatever value you like. This is the code system URI that can be used in lookup or expand operations.

Does that answer your question?

from snowstorm.

rayssamesquita avatar rayssamesquita commented on September 14, 2024

The problem is that I want to include new columns into the properties.csv. For example, I want to include the attritubutes version and active to each of my propeties. This is possible?

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.