concept_is does not allow the narrowing down of an ECL query.
Current behaviour:
# check that bacterial pneumoniae (53084003) are excluded from the whole set of pneumoniae
# 10625071000119104 | Bronchopneumonia caused by bacteria (disorder) |
> concept_is("10625071000119104", target_ecl = "<<233604007 MINUS <<53084003")
[1] TRUE
Expected behaviour:
> concept_is("10625071000119104", target_ecl = "<<233604007 MINUS <<53084003")
[1] FALSE
This is caused by original flaw in #12 #21.
The revised function should no longer use the "<<" operator and expect the user to instead specify it in their query.
concept_is does not allow the narrowing down of an ECL query.
Current behaviour:
Expected behaviour:
This is caused by original flaw in #12 #21. The revised function should no longer use the "<<" operator and expect the user to instead specify it in their query.