Using filters to generate a list of attributes

Hello,

I have a question regarding filtering the attributes and generating a list during an interview. I am creating a list that requires some attributes to use “all rules” while some of them require “any rules”. Is there any way to generate a list that applies both “all rules” and “any rules”?

Best,
Anya

Hi Anya!

Welcome to the community :slight_smile:

Unfortunately there isn’t a way to combine those two rule types. Can you say more about what you are looking to do? Maybe I can think up a way around it.

Hi Joshua!

So sorry for the very late response. We started working on another study, so we are just getting back to this one.

These are all individuals who were previously named in other name generator questions. Now we want to filter those networks to create a list of eligible network members that fit the following criteria:

  • Q1 How often do you interact with this person?
    • Everyday
    • Once a week or more
    • few times a month
    • About once a month
    • A few times a year
    • Less than once a year
    • Refused
    • Include if interact every day OR once a week or more
  • Q2 How far do you live from this person?
    • Same household
    • Same building or block
    • Within my neighborhood (within five blocks)
    • different neighborhood
    • Outside of the state
    • Outside of the country
    • Person listed is homeless and is not living anywhere regularly
    • Don’t know/Unsure
    • Refused
    • Exclude if out of state AND out of country
  • Q3 willing to train?
    • No
    • Yes
    • Unsure/don’t know
    • Refused
    • Include if yes
  • Q4 know that they use?
    • No
    • Yes
    • Unsure/don’t know
    • Refused
    • Include if yes
  • Q5 Use drug 1?
    • No
    • Yes
    • Unsure/don’t know
    • Refused
  • Q6 Use drug 2?
    • No
    • Yes
    • Unsure/don’t know
    • Refused
  • Q7 Use drug 3?
    • No
    • Yes
    • Unsure/don’t know
    • Refused
  • Q8 Use drug 4?
    • No
    • Yes
    • Unsure/don’t know
    • Refused
    • Include if drug 1 OR 2 OR 3 OR 4 are yes

Right now, we have the following settings:

Side panel filter: Match all rules (AND)

  • Q1 How often do you interact with this person?
    • Exclude few times a month
    • Exclude About once a month
    • Exclude A few times a year
    • Exclude Less than once a year
    • Exclude Refused
  • Q2 How far do you live from this person?
    • Exclude Outside of the state
    • Exclude Outside of the country
    • Exclude Don’t know/Unsure
    • Exclude Refused
  • Q3 willing to train?
    • Is exactly equal to Yes
  • Q4 know that they use?
    • Is exactly equal to Yes

Skip logic- show this stage if-must match any rule (OR)

  • Q5 Use drug 1?
    • Is exactly equal to Yes
  • Q6 Use drug 2?
    • Is exactly equal to Yes
  • Q7 Use drug 3?
    • Is exactly equal to Yes
  • Q8 Use drug 4?
    • Is exactly equal to Yes

I know this is a lot, so please let me know if there’s anything I can clarify.

I apologize again for the delay. Thanks so much for any help!

Best,
Anya

Hi Anya

This seems like a very complicated set of requirements.

Do you mind emailing me your protocol file so I can take a look? [email protected]

The general answer to your question is still that it isn’t possible to combine AND and OR rules. In some circumstances we have been able to work around this, but I think your use-case is too complex for that.

We do have the concept of “rule groups” planned, but it is not yet implemented. I just want to look in greater detail at your protocol before I give a definitive answer. At the very least I will make sure this sort of use-case is supported in the new feature.