Dear all,
We recently noticed that rule AD1012 doesn’t fire as expected.
For example, no issue is reported when only the numeric (secondary) variable of following variable pairs is present in a BDS dataset:
BMIGR1(N), REGION1(N), TSEQPG1(N), and RACEGR1(N).
Strange enough, the error fired for RACEGR1(N) in ADSL but not for the others.
Looking into the ADaM1.0.xml config file, I don’t see why this is not detected.
<val:Find ID=“AD1012” PublisherID=“+” Target=“Metadata” oce:IgnoreContext=“Yes” Message=“Secondary variable is present but its primary variable is not present” Description=“In a pair of corresponding character and numeric variables, the primary or most commonly used variable must be present if its secondary version describing it (*N or *C) is present. This is the generic rule to capture all instances. Specific rules 64,66,70,75,97,201 exist for other variables. PARAM and TRTP are required regardless of the presence of their N variable. Exceptions: [AVAL,AVALC] (refer to AD0198) and [BASE,BASEC]. This rule is expected to be added to CDISC ADaM Validation checks in v1.3. ADaM IG v1.0 p.10.” Category=“Presence” Type=“Error” Variable=“VARIABLE” Terms=“%Variable.1%” If=“VARIABLE == ‘%Variables[*N,*C;!DTC;!DOSEAEON;!AEACN;!ADURN;!AESOC;!FN;!AVALC;!BASEC;!EVNTDESC;!CNSDTDSC;!TRTPN;!PARAMN;!TRT##PN;!TRT##AN;!TRTPG#N;!TRTAG#N;!TR##PG#N;!TR##AG#N;!SMQSC;!SMQSCN]%’ @and VARIABLE @re ‘[A-Za-z_][A-Za-z0-9_]{0,7}’” MatchExact=“No”/>
Do you have any idea howcome it doesn’t work for these variables?
For other variable pairs like APERIOD(C), AVISIT(N), TRTA(N), and TRTSEQP(N), the error popped up as expected when only including the secondary variable in the ADaM dataset.
A similar issue is seen for rule AD1011 (Secondary variable APERIODC is populated but its primary variable APERIOD is not populated) for population, eg, detected for AVISIT(N) but not for TRTSEQP(N) when only secondary variable is populated.
Thanks for looking into this,
Jeroen (SGS Life Sciences)