Function that creates a start date attribute
startDate(op, type = "occurrence")
an opAttribute object must be a date that defines the logical operation used to determine eligible start dates
specify the type of date to use either occurrence or era. default as occurrence
An attribute that can be used in a cohort definition