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

CONCEPT_ID (to NULL or not to NULL) #11

Closed
ericaVoss opened this issue Apr 24, 2018 · 0 comments
Closed

CONCEPT_ID (to NULL or not to NULL) #11

ericaVoss opened this issue Apr 24, 2018 · 0 comments
Labels
Incorporated! Action has been taken on ratified task. Ratified! This issue has been ratified by Themis

Comments

@ericaVoss
Copy link
Collaborator

TYPE NOTES
ITEM When should CONCEPT_ID be NULL and when should it be 0?
FORUM POST http://forums.ohdsi.org/t/concept-id-to-null-or-not-to-null-themis-wg3/3965/46
SOLUTION Foreign key into the Standardized Vocabularies (i.e. the standard_concept attribute for the corresponding term is true), which serves as the primary basis for all standardized analytics. For example, condition_concept_id = 31967 contains reference value for SNOMED concept of 'Nausea'. Set the value to 0 'No matching concept' when a mapping to a standard concept cannot be found (except for MEASUREMENT/OBSERVATION.VALUE_AS_CONCEPT_ID, MEASUREMENT/OBSERVATION.UNIT_CONCEPT_ID, MEASUREMENT.OPERATOR_CONCEPT_ID which can be NULL if data does not contain a value).
NEXT STEPS 1) Submit recommendation to the CDM WG to make all CONCEPT_IDs NOT NULL columns (except for MEASUREMENT/OBSERVATION.VALUE_AS_CONCEPT_ID, MEASUREMENT/OBSERVATION.UNIT_CONCEPT_ID, MEASUREMENT.OPERATOR_CONCEPT_ID which can be NULL if data does not contain a value).

2) Update language in the WIKI under CONCEPT_ID
https://github.com/OHDSI/CommonDataModel/wiki/Data-Model-Conventions
@ericaVoss ericaVoss added the WG#3 label Apr 24, 2018
@ericaVoss ericaVoss added this to the 201803 F2F milestone Apr 24, 2018
@ericaVoss ericaVoss added the Under 60 Day Review Items currently out to the OHDSI community for final review. label Jun 6, 2018
@ericaVoss ericaVoss added Ratified! This issue has been ratified by Themis and removed Under 60 Day Review Items currently out to the OHDSI community for final review. labels Jul 9, 2018
@ericaVoss ericaVoss modified the milestones: 201803 F2F, Release V1.0.0 Jul 9, 2018
@clairblacketer clairblacketer added the Incorporated! Action has been taken on ratified task. label Oct 3, 2018
clairblacketer added a commit to OHDSI/CommonDataModel that referenced this issue Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Incorporated! Action has been taken on ratified task. Ratified! This issue has been ratified by Themis
Projects
None yet
Development

No branches or pull requests

2 participants