edits.seer.internal.rules.IFN2838.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IFN2838" name="CS Items, DX Post 2017 (CS)" tag="N2838" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear <= '2017') return true if (line.csTumorSize != null || line.csExtension != null || line.csTumorSizeExtEval != null || line.csLymphNodes != null || line.csLymphNodesEval != null || line.csMetsAtDx != null || line.csMetsAtDxBone != null || line.csMetsAtDxBrain != null || line.csMetsAtDxLiver != null || line.csMetsAtDxLung != null || line.csMetsEval != null || line.csSiteSpecificFactor1 != null || line.csSiteSpecificFactor2 != null || line.csSiteSpecificFactor3 != null || line.csSiteSpecificFactor4 != null || line.csSiteSpecificFactor5 != null || line.csSiteSpecificFactor6 != null || line.csSiteSpecificFactor7 != null || line.csSiteSpecificFactor8 != null || line.csSiteSpecificFactor9 != null || line.csSiteSpecificFactor10 != null || line.csSiteSpecificFactor11 != null || line.csSiteSpecificFactor12 != null || line.csSiteSpecificFactor13 != null || line.csSiteSpecificFactor14 != null ||line.csSiteSpecificFactor15 != null || line.csSiteSpecificFactor16 != null || line.csSiteSpecificFactor17 != null || line.csSiteSpecificFactor18 != null || line.csSiteSpecificFactor19 != null || line.csSiteSpecificFactor20 != null || line.csSiteSpecificFactor21 != null || line.csSiteSpecificFactor22 != null || line.csSiteSpecificFactor23 != null || line.csSiteSpecificFactor24 != null || line.csSiteSpecificFactor25 != null) return false return true]]></expression> <message>CS Items and Date DX conflict for 2018+</message> <description><![CDATA[If year of Date of Diagnosis is blank or invalid, this edit is skipped. If year of Date of Diagnosis is greater than 2017, then the following CS data items must be blank: CS Tumor Size CS Extension CS Tumor Size/Ext Eval CS Lymph Nodes CS Lymph Nodes Eval CS Mets at DX CS Mets at Dx-Bone CS Mets at Dx-Brain CS Mets at Dx-Liver CS Mets at Dx-Lung CS Mets Eval CS Site-Specific Factor 1 - 25]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-29" ref="67787">Edit created.</event> <event version="SE18-018-03" user="kirbyk" date="2018-07-20" ref="67961">Removed unnecessary dependencies.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>