---
title: Setting Minimum and Maximum Dates (Bounds) for Event Variables
description: What are Event Bounds? Event Bounds allow users to set minimum and maximum limits for the dates of Event variables in their Electronic Case Report Forms…
---

[Skip to content](https://help.easymedstat.com/support/solutions/articles/77000564506-setting-minimum-and-maximum-dates-bounds-for-event-variables#main-content)

English

Show submenu for translations

![](https://help.easymedstat.com/hs-fs/hubfs/Logo%20EMS%20HQ%20Noir-1.png?width=366&height=70&name=Logo%20EMS%20HQ%20Noir-1.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Open a ticket](https://t3jiy.share-eu1.hsforms.com/2pRawwxfuSS6Scx4Qn4KSPA)

[Open a ticket](https://t3jiy.share-eu1.hsforms.com/2pRawwxfuSS6Scx4Qn4KSPA)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [EasyMedStat Knowledge Base](https://help.easymedstat.com/?hsLang=en)
2. [Variables](https://help.easymedstat.com/variables?hsLang=en)
3. [Manage variables](https://help.easymedstat.com/variables?hsLang=en#manage-variables)

# Setting Minimum and Maximum Dates (Bounds) for Event Variables

# What are Event Bounds?

Event Bounds allow users to set minimum and maximum limits for the dates of Event variables in their Electronic Case Report Forms (eCRFs). Unlike Numeric variables, which have static bounds, Event variables can have both static bounds (fixed dates) and dynamic bounds (patient-specific dates). Dynamic bounds depend on the value of another Event variable, offering unparalleled flexibility and control over data entry.

The use of Event Bounds is aimed at:

\- Enhancing the quality control over data during entry, ensuring that the dates fall within the specified range.

\- Decreasing the time needed for data monitoring by automatically validating the dates as they are entered.

![](https://help.easymedstat.com/hubfs/Base%20de%20connaissances/rzqrIKynaTuTN_yi0e9OJLiOnYO9HjJgaw.png)

# Applicability

Event Bounds are available for:

\- Users with "Manage variables" permission.

\- All series and all custom Event variables.

\- Note: Identity Event variables do not have programmable bounds yet

# Implementing Event Bounds

## Setting Bounds

1. **Activation**: A new checkbox titled “Minimum and maximum bounds” is now present for every Event variable. By default, this box is unchecked for both new and existing variables.
2. **Configuration**: Upon checking the box, new input fields appear, allowing the definition of minimum and maximum dates. Unchecking the box will hide these inputs.
3. **Date Selection**: Users can choose the min/max dates using a Vue variable picker that displays options in this order: a specific date (e.g., today’s date), “Today”, any Identity Event variables, and all other custom Event variables except the currently edited one.
4. **Specific Dates**: For “A specific date” option, a date picker enables users to select any present or future date without restrictions.
5. **Variable-Based Dates**: Choosing an Identity Event variable, a custom Event variable, or the “Today” option allows users to optionally define a time range around the selected date by adding a ± period.

## Example of Dynamic Bounds

For a 3-month visit event, you could set:

\- A minimum (AFTER) bound as Inclusion date + 85 days.

\- A maximum (BEFORE) bound as Inclusion date + 95 days.

# Error Handling

\- While entering data for a patient, if an entry falls outside the set bounds, it won’t be saved, aligning with the error handling for numeric variables.

\- Error messages guide users on the correct entry based on the bounds set.

# Special Considerations

\- **Patient-specific bounds** require the associated date to be known. If the related date is not specified, the system allows the entry without bounds validation.

\- **ePRO Support**: Just like numeric variables, questionnaires must support the defined bounds for Event variables.

\- **API and Duplication**: The API reflects similar error handling for out-of-bound entries, and when duplicating categories, the bounds of Event variables are not duplicated.

- [Account](https://help.easymedstat.com/account?hsLang=en#main-content)

    - [Account](https://help.easymedstat.com/account?hsLang=en#account)
- [Collect data](https://help.easymedstat.com/collect-data?hsLang=en#main-content)

    - [Questionnaires (ePRO)](https://help.easymedstat.com/collect-data?hsLang=en#questionnaires-epro)
    - [Add and edit patients](https://help.easymedstat.com/collect-data?hsLang=en#add-and-edit-patients)
    - [Randomization](https://help.easymedstat.com/collect-data?hsLang=en#randomization)
    - [Export](https://help.easymedstat.com/collect-data?hsLang=en#export)
    - [Create a series / eCRF](https://help.easymedstat.com/collect-data?hsLang=en#create-a-series-ecrf)
    - [Multilingual studies](https://help.easymedstat.com/collect-data?hsLang=en#multilingual-studies)
- [Variables](https://help.easymedstat.com/variables?hsLang=en#main-content)

    - [Organize in categories](https://help.easymedstat.com/variables?hsLang=en#organize-in-categories)
    - [Dynamic Variables](https://help.easymedstat.com/variables?hsLang=en#dynamic-variables)
    - [Manage variables](https://help.easymedstat.com/variables?hsLang=en#manage-variables)
- [Statistical analyses](https://help.easymedstat.com/statistical-analyses?hsLang=en#main-content)

    - [Statistical tests](https://help.easymedstat.com/statistical-analyses?hsLang=en#statistical-tests)
    - [Compare groups](https://help.easymedstat.com/statistical-analyses?hsLang=en#compare-groups)
    - [Multivariate analysis](https://help.easymedstat.com/statistical-analyses?hsLang=en#multivariate-analysis)
    - [Filter patients](https://help.easymedstat.com/statistical-analyses?hsLang=en#filter-patients)
    - [Descriptive Statistics](https://help.easymedstat.com/statistical-analyses?hsLang=en#descriptive-statistics)
- [Collaborate](https://help.easymedstat.com/collaborate?hsLang=en#main-content)

    - [Share your series](https://help.easymedstat.com/collaborate?hsLang=en#share-your-series)
    - [Manage your organization](https://help.easymedstat.com/collaborate?hsLang=en#manage-your-organization)
- [Monitoring](https://help.easymedstat.com/monitoring?hsLang=en#main-content)

    - [Automations](https://help.easymedstat.com/monitoring?hsLang=en#automations)
    - [Electronic Signatures](https://help.easymedstat.com/monitoring?hsLang=en#electronic-signatures)
    - [Queries](https://help.easymedstat.com/monitoring?hsLang=en#queries)
    - [Clean data](https://help.easymedstat.com/monitoring?hsLang=en#clean-data)

[![](https://help.easymedstat.com/hs-fs/hubfs/Logo%20EMS%20HQ%20Noir-1.png?width=366&height=70&name=Logo%20EMS%20HQ%20Noir-1.png)](http://www.easymedstat.com)

<https://www.linkedin.com/company/easymedstat/> <https://www.youtube.com/@easymedstat9719> [mailto:support@easymedstat.com](mailto:support@easymedstat.com)

Copyright © 2026, EasyMedStat