Filter observation forms based on location

Tags: #<Tag:0x00007f0a282573b0> #<Tag:0x00007f0a282572e8>

I want to filter forms built with the Forms 2.0 of Bahmni interface. I want to filter based on the location of the user. I already added a concept attribute type which will hold the value of the location to be matched with the actual location value of the user logged in. I saw that the function filterTemplates in the clinical.min.33ecfd22.js returns the concept-sets to show. I don’t know how I can compare those two values. Can you help me with that? Or am I doing it wrong?

there is no such capability as of now. Only way to do so, if programmatically. You can create a “filter” to the api (either a typical sevlet filter to the API url) or write a custom interceptor to the service method.