OHDSI / OHDSI/WebAPI

Accessing Cohort elements programmatically

Open
#2,332 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Java
Stars
151
Forks
183
Avg merge
14m
Merged PRs (30d)
2

Description

Business Requirements

Some of the temporary tables which are created in the result schema when Cohort statistics are calculated already contain information which may be interesting for its further usage by the other applications

Design Ideas and Functional Requirements

When a Cohort is generated there should be a way to specify that any sub-products of the Cohort statistics calculation should be available for its further usage. In addition there should be an endpoint which will respond if a particular Cohort has such sub-products available

For each domain (Drug Exposure, Condition Occurrence, etc.) there should be a way to define (on the application level, not on the Cohort level!) which attributes are of interest to use not to have all stored (whether in temporary tables or in a specific summary table to be exclusively created - https://github.com/OHDSI/Atlas/issues/2891)

Open Questions
  • should there be a way to delete data being left / exclusively created for this feature?

@mrechkem @Sathyaraos

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping how Cohort generation creates temporary tables in the result schema and where Cohort-related endpoints are defined. Review the Drug Exposure and Condition Occurrence domains and determine how application-level attribute selection and sub-product availability would be represented. Done should include a defined way to request, query, and potentially delete the retained data.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.