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
LOINC basophils in blood descendant of Urinalysis #517
Comments
Concept Relationship row that is the culprit: |
For me it looks pretty nice:
Such a record does exist. But what is really weird is that I can't follow a path of valid hierarchical relationships between them. |
To be more specific:
This query tells me that they're hierarchically connected (1 level of ancestry). While this one returns no valid relationships between them:
|
@Alexdavv thanks for your help. |
about levels see https://github.com/OHDSI/Vocabulary-v5.0/blob/master/working/packages/vocabulary_pack/pConceptAncestor.sql#L31 |
UA and blood basophils are linked via 3704222. The relationship between the two should not exist unless I'm missing something. |
That actually means that non-Standard concepts still support the hieararhy, but don't consider to be a level. And simply get dropped from the ancestor table at the end.
The problem is that long chain from Urinalysis to Basophils | Blood | Hematology and Cell counts through the Cells, Leukocytes, Granulocytes, Basophils. We need to investigate this. Probably we should not put Components and other parts into the same hierarchy. But if concept_ancestor works his way, I'm wondering why these issues have happened: #508, #438, #301 |
Ah, I see. You can't pick a non-Standard LOINC part guy (because it's simply dropped from the ancestor table), while other parts are Classifications that are linked to tests through the non-Standard LOINC Components also. It's really tricky. |
@Alexdavv I'm wondering if similar issues exist that have not been found. |
Probably yes - the whole LOINC is done in such a way. We need to investigate how they support/allow to use LOINC grouper concepts. It would be interesting to check what other vocabularies have the hierarchical branches supported only by non-Standard concepts. |
select * from concept_ancestor
where ancestor_concept_id = 37072338 and descendant_concept_id = 3006315.
3006315 relates to a blood specimen, but falls under a UA concept.
The text was updated successfully, but these errors were encountered: