You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a list of 82 concepts for which Athena produces almost an empty detail page (example link):
Concept_details are missing.
Dates are wrong, just the current_date is retrieved.
But relationships are shown.
At the same time, the information in the download package from Athena seems to be correct.
With the following query it looks like the pattern is a deprecated concept that has a "Concept replaced by" link to the "Precise Ingredient" concept_class.
SELECT*FROM concept c1
JOIN concept_relationship cr1 ONc1.concept_id=cr1.concept_id_1ANDcr1.invalid_reason IS NULLANDcr1.relationship_id='Concept replaced by'JOINdevv5.concept_relationship cr2 --maybe it's not a necessary conditionONcr2.concept_id_1=c1.concept_idANDcr2.invalid_reason IS NULLANDcr2.relationship_id='Maps to'ANDcr2.concept_id_2!=cr1.concept_id_2--can't be checked since alternative case doesn't existJOINdevv5.concept c2 ONcr1.concept_id_2=c2.concept_idANDc2.concept_class_idIN ('Precise Ingredient')
WHERE TRUE
;
The text was updated successfully, but these errors were encountered:
I am not well versed in Java, but it looks like processor of this query result is not equipped to handle multiple 'Maps to' replacements. Of course, it is not valid for the concept 40317576 to have multiple mapping targets, but other concepts might have multiple valid mappings; this needs to be handled.
There's a list of 82 concepts for which Athena produces almost an empty detail page (example link):
At the same time, the information in the download package from Athena seems to be correct.
With the following query it looks like the pattern is a deprecated concept that has a "Concept replaced by" link to the "Precise Ingredient" concept_class.
The text was updated successfully, but these errors were encountered: