Skip to content

Commit

Permalink
Kavitha|add FSN check for observations (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
kavitha-sundararajan authored Oct 14, 2024
1 parent 8bad6cb commit 8e6cbd4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ angular.module('bahmni.common.displaycontrol.observation')
if ($scope.config.conceptNames) {
observations = _.filter(observations, function (observation) {
return _.some($scope.config.conceptNames, function (conceptName) {
return _.toLower(conceptName) === _.toLower(_.get(observation, 'concept.name'));
return (_.toLower(conceptName) === _.toLower(_.get(observation, 'concept.name'))
|| _.toLower(conceptName) === _.toLower(_.get(observation, 'conceptFSN')));
});
});
if ($scope.config.customSortNeeded && $scope.config.conceptNames) {
Expand Down

0 comments on commit 8e6cbd4

Please sign in to comment.