Pinned topicBIRT Reporting for UML Data Set

In the Row mapping query for Stereotype Elements, the expression
getElementsWithStereotype(//*, $stereoname) gives all the elements within the model which has Stereotype as stereoname value.

My requirement is to further narrow it so that the query retrieves
all the elements within the model which has Stereotype as stereoname value and with stereotype property x value as some given string. Example Stereotype property of Status as 'Current'