Forums: Validation Rule Suggestions
Hi Amelia,
In v1.4.1 the algorithm of CTxxxx checks were changed to report values which are not standard terms even if they are included in define.xml as a user's custom codelist.
For "extensible" codelists like (UNIT) you receive not a Warning, but a Notice message. It does not mean, that something is definitely wrong. The checks identify values outside of standard CT for further analysis if new user's terms are good and correct extensions.
In your example a "kg / day" value is probably not the best new term, because it does not follow a parten of existing similar standard terms in CT (UNIT) codelist. E.g., "mg/day", g/day", "g/kg/day", etc. I would remove extra space characters from your term like "kg/day" to make a new extensible term format consistent with standard terms.
Kind Regards,
Sergiy
Hi Sergiy,
You are right :) I didn't noticed that the message's level is "Notice" and not "Warning". I will follow your recommendation related to the unit. Thank you!
One other question: for a MISEV cell with value "Grade 0" I get the following 2 errors:
CT1023 Value for MISEV not found in (SEV) CT codelist Error
SD0037 Value for MISEV not found in (Severity) user-defined codelist Error
My define.xml contains only "MILD" and "MODERATE" under the "CL.C90000.SEV" CodeList; "Grade 0" is not present under "CL.C90000.SEV", because the CodeList is not extensible.
In the situation of a NOT extensible CodeList, it is normal not to add the user-defined term in define.xml. And I would expect to get CT1023, but not SD0037... Or am I missing something?
Best regards,
Amelia
Hi,
I'm getitng some validation warnings I don't really understand, like:
CT0050 - Value for BGORRESU not found in (UNIT) CT codelist - for value "kg / day".
But my define.xml contains the entry for all 3 units used in BG.xpt (however just for kg / day CT0050 is trigerred).
And "CL.C71620.UNIT" is Extensible, so theoretically I have the right to add user-defined values to the CodeList.
<CodeList OID="CL.C71620.UNIT" Name="Unit" DataType="text">
<CodeListItem CodedValue="%">
<Decode>
<TranslatedText>%</TranslatedText>
</Decode>
</CodeListItem>
<CodeListItem CodedValue="g">
<Decode>
<TranslatedText>g</TranslatedText>
</Decode>
</CodeListItem>
<CodeListItem CodedValue="kg">
<Decode>
<TranslatedText>kg</TranslatedText>
</Decode>
</CodeListItem>
<CodeListItem CodedValue="kg / day">
<Decode>
<TranslatedText>kg / day</TranslatedText>
</Decode>
</CodeListItem>
Any idea why is this happening?
Best regards,
Amelia