# Uniqueness of TEST/TESTCD rule

**URL:** <https://forum.certara.com/t/uniqueness-of-test-testcd-rule/354>\
**Category:** SDTM\
**Created:** [September 6, 2012, 6:56pm UTC](https://forum.certara.com/t/uniqueness-of-test-testcd-rule/354 "2012-09-06T18:56:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joan\_B](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Joan\_B](https://forum.certara.com/u/Joan_B)\
**Post date:** [September 6, 2012, 8:05pm UTC](https://forum.certara.com/t/uniqueness-of-test-testcd-rule/354/1 "2012-09-06T20:05:53Z")

</div>

Hi,

In my recent experience, OpenCDISC flagged it in a dataset I validated yesterday, but flagged it as a Warning, not as an Error. I was using the straight 3.1.2 sdtm validator version.

- Joan

---

<div class="post-metadata">

**Author:** ![Sergiy](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/sergiy/32/2553_2.png) [@Sergiy](https://forum.certara.com/u/Sergiy)\
**Post date:** [September 6, 2012, 8:22pm UTC](https://forum.certara.com/t/uniqueness-of-test-testcd-rule/354/2 "2012-09-06T20:22:33Z")

</div>

Hi Jim,

Your data issue is expected to be detected by a SD0040 check. I used your example for testing and it works well. Could you provide more details what is wrong?

Thanks,

Sergiy

SD0040 check

Message: “Inconsistent value for --TEST within --TESTCD”

Description: “All values of Name of Measurement, Test or Examination (–TEST) should be the same for a given value of Short Name of Measurement, Test or Examination (–TESTCD)”

---

<div class="post-metadata">

**Author:** ![jpmiller99](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jpmiller99](https://forum.certara.com/u/jpmiller99)\
**Post date:** [September 6, 2012, 6:56pm UTC](https://forum.certara.com/t/uniqueness-of-test-testcd-rule/354/3 "2012-09-06T18:56:41Z")

</div>

Hi all,

I thought that there was an error check for the uniqueness of TEST/TESTCD. (They had to match 1-1)

We had a study with the following error, and we I cannot figure out why we didn’t get an error with OpenCDISC Validator.

I understand in they example below that UNIT1/UNIT2 don’t belong as part of the TESTCD.

However, I don’t understand why we didn’t get this an error in the OpenCDISC Validator Report.

xxTEST xxTESTCD

RADACT Total Radioactivity Unit1

RADACT Total Radioactivity Unit2

Thanks,

Jim Miller
