Skip to content

Commit

Permalink
BAH-4065 | Fix. Get Concept by FSN should return only unretired conce…
Browse files Browse the repository at this point in the history
…pts (#274)
  • Loading branch information
mohan-13 committed Aug 8, 2024
1 parent a698974 commit 53fccf7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public List<Concept> getConceptsByFullySpecifiedName(List<String> conceptNames)
.createQuery("select concept " +
"from ConceptName as conceptName " +
"where conceptName.conceptNameType ='FULLY_SPECIFIED' and conceptName.voided = false" +
" and conceptName.concept.retired = false" +
" and lower(conceptName.name) in (:conceptNames)").setParameterList("conceptNames", lowerCaseConceptNames).list();
return concepts;
}
Expand Down

0 comments on commit 53fccf7

Please sign in to comment.