I’ve been working on the Cohort Builder and I’m currently going through the Cohort Builder to check if everything is working as it should be. But, I really can’t tell if the “Boolean Search” on the Composition tab works as it is supposed to as I don’t know how it’s supposed to work. Can someone help with this? How does the “Boolean Search” work?
@joelakwes those are the cohort searches you are using in a composition - take a look at the screenshot below from the old cohort builder. I can create more complex cohorts below
Female patients who have the specified encounter my composition would be 1 AND 3
Male patients who have the encounter - 3 NOT 1
Female adults who have the encounter - (1 AND 2) AND 3
Thanks for your response. I tried running this query on the old Cohort Builder but I get this error Error building composition filter. Do you have any idea why this is happening?
I guess that was happening because there was no saved cohort search. I tried again after doing some search and it works fine. I now understand how it works. On the New Cohort Builder, a description field was added so the user can add a descriptive name for the search.
Also, Any idea how the Search Saved Definitions and Search Saved Cohorts queries work on the Saved Tab in the new Cohort Builder? I noticed this tab isn’t on the Old Cohort Builder.
I want to get clarification on something. Let’s say I make a Search for “Female Patients” and that is 1, and I make another search for “Patients who have Weight(Kg) < 200” which is 2. In this case, which of the results below is a boolean search of 1 AND 2 supposed to return:
A combination of the results of search 1 and search 2
A new query result of all Female Patients whose weight is less than 200
@joelakwes I am not sure of the backend implementation - of how the patient lists are merged would need to go deeper into the code to understand that. As an end user all I see is the output of the action