OHDSI / OHDSI/WebAPI

Include cohort summary statistics in characterization

Open
#1,876 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

We should show an N for the cohort and sub-groups in the characterization reports.

Actual behavior

The cc_results table for characterization does not include summary statics for cohort counts and sub-group counts, and skeletonCC does not caputre those statistics anywhere.

Implementation Ideas

We should add a cc_summary_stats table which lets you record the cohort counts (and strata counts) for the cohorts and include it in the report output from the REST endpoint.

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 tracing characterization report generation through skeletonCC and the REST endpoint, then inspect how cc_results currently stores characterization data. Define how a cc_summary_stats table would represent cohort and strata counts, and verify that the report output includes those counts for cohorts and sub-groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.