@Vojtech_Huser or @Chris_Knoll,
I’m trying to replicate this notification from ACHILLES HEEL:
- “NOTIFICATION: Count of unmapped source values exceeds threshold in: condition_occurrence”
- RULE_ID = 34
It gives me a record count but I could not duplicate the record count. I couldn’t figure out in the repository how this notification is being set off.
Here is how I tried to replicate what this is saying but again my count doesn’t match the one given.
SELECT COUNT(DISTINCT CONDITION_SOURCE_VALUE)
FROM CONDITION_OCCURRENCE
WHERE CONDITION_SOURCE_CONCEPT_ID IN (0, NULL)
Could someone help me understand how the count is generated.