Skip to content

Field Comparison Restrictions #300

@MitchellShiell

Description

@MitchellShiell

The ability to compare field values with other fields in the same record.

{
  "name": "age_at_death",
  "valueType": "integer",
  "restrictions": {
    "compare": {
      "fields": ["age_at_diagnosis"],
      "relation": "greaterThanOrEqual"
    }
  }
}

Available comparison relations can include:

  • equal / notEqual - Value equality comparison
  • greaterThan / greaterThanOrEqual - Numeric comparison
  • lessThan / lessThanOrEqual - Numeric comparison
  • contains / containedIn - String containment comparison

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions