Just to follow up on this, I've had a look in the config for this rule in v1.2 and I think:
Test="%Domain%STDTC != '' @or %Domain%STRF != ''"
should perhaps be:
Test="%Domain%STDTC != '' @or %Domain%STRF != '' @or %Domain%STRTPT !=''"
It looks like this test does not support the use of --STRTPT/--STTPT
Hi,
I am getting this warning for the CM domain:
"Start date expected when end date provided
SD0031: Identifies records that violate the condition [Start Date/Time of Observation or Start Relative to Reference Period is not null], limited to records where [End Date/Time of Observation or End Relative to Reference Period is not null]"
The rows that are provoking it look typically like:
cmstdtc
cmendtc 2004-10-11/2005-04-12
cmstrtpt BEFORE
cmenrtpt
cmsttpt 2003-10-23 10:15:33
cmentpt
So basically we have an definite end date/time (as an interval) but the start is relative to a time point. If the end date/time is also relative to a time point, e.g.
cmstdtc
cmendtc
cmstrtpt BEFORE
cmenrtpt ONGOING
cmsttpt 2003-10-29 10:48:47
cmentpt 2005-10-04 14:46:27
then the warning is not triggered.
This looks wrong to me - am I missing something?
Thanks for any help,
Martin