---
id: condition-filter
title: _ConditionFilter
---

export const Tag = ({children, color}) => (
<span
style={{
      backgroundColor: color,
      borderRadius: '2px',
      color: '#fff',
      padding: '0.2rem',
    }}>
{children}
</span>
);

No description

```graphql
type _ConditionFilter {
  AND: [_ConditionFilter!]
  OR: [_ConditionFilter!]
  disease: String
  disease_not: String
  disease_in: [String!]
  disease_not_in: [String!]
  disease_contains: String
  disease_not_contains: String
  disease_starts_with: String
  disease_not_starts_with: String
  disease_ends_with: String
  disease_not_ends_with: String
  keywords: _KeywordFilter
  keywords_not: _KeywordFilter
  keywords_in: [_KeywordFilter!]
  keywords_not_in: [_KeywordFilter!]
  keywords_some: _KeywordFilter
  keywords_none: _KeywordFilter
  keywords_single: _KeywordFilter
  keywords_every: _KeywordFilter
  trials: _ClinicalTrialFilter
  trials_not: _ClinicalTrialFilter
  trials_in: [_ClinicalTrialFilter!]
  trials_not_in: [_ClinicalTrialFilter!]
  trials_some: _ClinicalTrialFilter
  trials_none: _ClinicalTrialFilter
  trials_single: _ClinicalTrialFilter
  trials_every: _ClinicalTrialFilter
}
```

### Fields

#### `AND` ([`[_ConditionFilter!]`](/docs/api/inputs/condition-filter))

#### `OR` ([`[_ConditionFilter!]`](/docs/api/inputs/condition-filter))

#### `disease` ([`String`](/docs/api/scalars/string))

#### `disease_not` ([`String`](/docs/api/scalars/string))

#### `disease_in` ([`[String!]`](/docs/api/scalars/string))

#### `disease_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `disease_contains` ([`String`](/docs/api/scalars/string))

#### `disease_not_contains` ([`String`](/docs/api/scalars/string))

#### `disease_starts_with` ([`String`](/docs/api/scalars/string))

#### `disease_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `disease_ends_with` ([`String`](/docs/api/scalars/string))

#### `disease_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `keywords` ([`_KeywordFilter`](/docs/api/inputs/keyword-filter))

#### `keywords_not` ([`_KeywordFilter`](/docs/api/inputs/keyword-filter))

#### `keywords_in` ([`[_KeywordFilter!]`](/docs/api/inputs/keyword-filter))

#### `keywords_not_in` ([`[_KeywordFilter!]`](/docs/api/inputs/keyword-filter))

#### `keywords_some` ([`_KeywordFilter`](/docs/api/inputs/keyword-filter))

#### `keywords_none` ([`_KeywordFilter`](/docs/api/inputs/keyword-filter))

#### `keywords_single` ([`_KeywordFilter`](/docs/api/inputs/keyword-filter))

#### `keywords_every` ([`_KeywordFilter`](/docs/api/inputs/keyword-filter))

#### `trials` ([`_ClinicalTrialFilter`](/docs/api/inputs/clinical-trial-filter))

#### `trials_not` ([`_ClinicalTrialFilter`](/docs/api/inputs/clinical-trial-filter))

#### `trials_in` ([`[_ClinicalTrialFilter!]`](/docs/api/inputs/clinical-trial-filter))

#### `trials_not_in` ([`[_ClinicalTrialFilter!]`](/docs/api/inputs/clinical-trial-filter))

#### `trials_some` ([`_ClinicalTrialFilter`](/docs/api/inputs/clinical-trial-filter))

#### `trials_none` ([`_ClinicalTrialFilter`](/docs/api/inputs/clinical-trial-filter))

#### `trials_single` ([`_ClinicalTrialFilter`](/docs/api/inputs/clinical-trial-filter))

#### `trials_every` ([`_ClinicalTrialFilter`](/docs/api/inputs/clinical-trial-filter))
