Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Sources: Age at first occurrence plot is incorrect #702

Closed
alondhe opened this issue Sep 13, 2018 · 3 comments
Closed

Data Sources: Age at first occurrence plot is incorrect #702

alondhe opened this issue Sep 13, 2018 · 3 comments
Assignees
Labels

Comments

@alondhe
Copy link
Contributor

alondhe commented Sep 13, 2018

Expected behavior

The Age at first occurrence plot for drug era is incorrect plot should match what's in AchillesWeb

Actual behavior

It does not match.

In Atlas DS:
image

In AchillesWeb:
image

Steps to reproduce behavior

Process Achilles, view Drug Era report and go to Age at first occurrence plot.

@anthonysena
Copy link
Collaborator

Seems symptomatic of an error with the box-and-whisker in general as noted as also noted in #850

@chrisknoll
Copy link
Collaborator

It appears that it is attempting to draw a bunch of box and whisker plots on top of each other, if possible, could you get a look at the report json payload, and see if there's multiple entries for that distribution?

@fdefalco
Copy link
Contributor

This is an issue with WebAPI.

Concept Id is missing from the where clause in the following files:

https://github.com/OHDSI/WebAPI/blob/master/src/main/resources/resources/cdmresults/sql/report/drugera/drilldown/ageAtFirstOccurrence.sql
https://github.com/OHDSI/WebAPI/blob/master/src/main/resources/resources/cdmresults/sql/report/drugera/drilldown/lengthOfEra.sql

The following where clause is necessary to limit to the drill down concept identifier:
WHERE c1.concept_id = @conceptId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants