Study Definition module

 

Partial date handling with Arezzo

It is a common requirement to allow the entry of partial dates, when the data entry user does not know the exact date. For example, a question to record the date on which a patient last smoked may be set up to allow the entry of a year and month only, or even a year only.

There are several Arezzo functions which automatically handle partial dates:

Partial date formats

A partial date value may have its day missing, or it may have its day and month missing. For a date question, the partial date formats allowed are:

A time (hh:mm or hh:mm:ss) may not be included with a partial date.

 

Click here for further information on how to switch on partial date handling, and how to create partial date questions.

Partial date functions

The following Arezzo date functions are especially affected by partial dates:

isbefore and isafter

Equality

time_diff

date_diff

Date Additions/Subtractions

Explicit partial dates

is_partial_date

full_date

Age calculations

Max and min

 

 

Related Topics