Coder Social home page Coder Social logo

cql-on-omop's People

Contributors

dependabot[bot] avatar lrasmus avatar psbrandt avatar rkiefer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cql-on-omop's Issues

JSON being generated is being truncated

Using Strings in java causes truncation of large JSON cohort definitions. Currently a hard coded json statement is used in the application. Switch to using the generated once the truncation is fixed.

Accept URLs for FHIR bundles

From @psbrandt

Another idea is to accept the URL of a Composition resource as input, and then download the full Composition document using the $document operation. That can be a stretch goal though, and either way, we need to be able to evaluate one of these bundles.

Support More Generic Correlated Queries

Right now the correlated queries we support are pretty much hardcoded. For the Phenotype Workbench demo, we need to support a slightly more generic correlated queries.

Attribute constraints

Translate from FHIR attribute constraints to appropriate OHDSI representation. For example, "BMI > 20", "LDL > 100". Multiple attribute types beyond values should be investigated.

Pull codes from spreadsheet

Rather then using oid from within the elm file, read the codes from a spreadsheet. The authoring application is outputting the algorithm in a zip file. Look at examples from PhAT output

Translate FHIR to OHDSI type

Currently the demo is hard-coded for Condition types. We need to expand this to other types we expect to get from the FHIR data model.

Improved Terminology Support

In addition to valueset references, we could consider adding support for individual codes. That would allow us to support this COVID phenotype.

Use FHIR (R4) not QUICK

When using the QUICK data model with the reference implementation, only resources that are explicitly associated with the QUICK profile are retrieved.

I think it would be better to use the base FHIR data model instead, since this would put fewer restrictions on implementations, as they wouldn't be required to associate the QUICK profile with all their FHIR resources.

Fix failing builds in Travis

Local builds are fine but fail in Travis. It appears to be an issue where one of the dependencies via the WebAPI JAR is trying to access an http:// address, but that address has permanently moved to require https://

Upgrade To Latest OHDSI WebAPI

We are currently on something like version 2.6.x of the WebAPI, which includes Circe 1.7.x. We should update to the latest version.

Revert Count Distinct

I misunderstood what counting distinct meant when I pushed d15218c. I thought it meant that duplicate conditions/procedures/etc wouldn't be double-counted. It actually means that only conditions/procedures with different concepts will be counted.

Progress logging

Ensure logging of execution progress provides sufficient detail for user to see progress, and to troubleshoot when/if errors occur.

Age in calculations

Account for patient age within CQL functions, and how that translates to OHDSI age representation in a query.

Package within OHDSI WebAPI

Embed this within the OHDSI WebAPI as an extension and invoke from translator

(Suggested by Guoqian Jiang)

Improve Correlated Query Implementation

Right now our correlated query implementation is pretty limited. We only support a single relationship, and we match on specific resource/attribute pairs.

I think the more correct way to do this is to push aliases onto a stack in the context, and then process the where clause as a normal expression. This would eliminate the need for special resource/attribute pair matching and would re-use all the code we already have for expression translation.

When processing the where expression, when we encounter an alias reference, we would able to resolve this by peeking into the stack in the context. Basically, aliases are noted and resolved like any other reference.

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.