OHDSI / OHDSI/WebAPI

Cohort generation status 'ERROR' never returned

Open
#1,474 2 comments 0 reactions 1 assignee View on GitHub

@chrisknoll is already working on this.

Since Apr 18, 2023.

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

Description

Upon failure of the cohort generation, one would expect the status 'ERROR' returned from the /cohortdefinition/{cohortId}/info endpoint. This is a valid generation status, but it seems like this is never actually returned.

Instead, upon failure, the endpoint returns the status 'COMPLETE' with isValid = false. In the Atlas UI this is interpreted as failed or canceled.

Is it by design that a failed generation is considered complete? (which is technically true).
Adding a 'SUCCESS' status would make the distinction easier to understand.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.