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

Heel (DQ): add % of missing data for each data domain (Dx, Proc, Meas, Obs) #48

Closed
vojtechhuser opened this issue May 8, 2015 · 3 comments

Comments

@vojtechhuser
Copy link
Contributor

A paper by Kahn http://repository.academyhealth.org/egems/vol3/iss1/7/
outlines very nice 20 item list.

For item 13 bullet 1 - Achilles should add

  • % of rows in drug exposure table mapped to concept 0 (not mapped) (perhaps even stratified by year)

and similarly for all other tables like Dx, Proc, Measurement and Observations

@vojtechhuser
Copy link
Contributor Author

This can be done by query on analysis 401, rule 6 currently gives a warning but not "depth of the problem"

select analysis_id,sum(count_value) as cnt,'all' as row_type from achilles_results where analysis_id in (400,401,601) group by analysis_id
union
select analysis_id,count_value as cnt,'concept_0' as row_type from achilles_results where analysis_id in (400,401,601) and stratum_1 = 0
order by 1;

Chris, can you help me rewrite this SQL in MS SQL flavor so that a percentage can be computed
@chrisknoll

another issue is also asking for this.

@vojtechhuser
Copy link
Contributor Author

Iris beta part is analyzing this

@vojtechhuser vojtechhuser changed the title add % of missing data for each data domain (Dx, Proc, Meas, Obs) Heel (DQ): add % of missing data for each data domain (Dx, Proc, Meas, Obs) Jun 2, 2016
@alondhe
Copy link
Collaborator

alondhe commented Jun 5, 2019

Added in recent commits

@alondhe alondhe closed this as completed Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants