edits.seer.internal.rules.IFN2839.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="IFN2839" name="Derived CS Items, DX Post 2017 (NAACCR)" tag="N2839" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear <= '2017') return true if (line.derivedAjcc6T != null || line.derivedAjcc6TDescript != null || line.derivedAjcc6N != null || line.derivedAjcc6NDescript != null || line.derivedAjcc6M != null || line.derivedAjcc6MDescript != null || line.derivedAjcc6StageGrp != null || line.derivedAjcc7T != null || line.derivedAjcc7TDescript != null || line.derivedAjcc7N != null || line.derivedAjcc7NDescript != null || line.derivedAjcc7M != null || line.derivedAjcc7MDescript != null || line.derivedAjcc7StageGrp != null || line.derivedSs1977 != null || line.derivedSs2000 != null || line.derivedSs2000Flag != null || line.derivedSs1977Flag != null || line.derivedAjccFlag != null || line.csVersionInputOriginal != null || line.csVersionInputCurrent != null || line.csVersionDerived != null) return false return true]]></expression> <message>Derived Items and Date DX conflict for 2018+</message> <description><![CDATA[This edit is skipped if Date of Diagnosis is blank or invalid. If year of Date of Diagnosis is greater than 2017, then the following CS derived and version data items must be blank: Derived AJCC-6 T Derived AJCC-6 T Descript Derived AJCC-6 N Derived AJCC-6 N Descript Derived AJCC-6 M Derived AJCC-6 M Descript Derived AJCC-6 Stage Grp Derived AJCC-7 T Derived AJCC-7 T Descript Derived AJCC-7 N Derived AJCC-7 N Descript Derived AJCC-7 M Derived AJCC-7 M Descript Derived AJCC-7 Stage Grp Derived SS1977 Derived SS2000 Derived AJCC-Flag Derived SS1977-Flag Derived SS2000-Flag CS Version Input Original CS Version Input Current CS Version Derived]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-01" ref="67788">Edit created.</event> <event version="SE18-018-03" user="kirbyk" date="2018-07-20" ref="67961">Removed unnecessary dependencies.</event> <event version="SE18-018-05" user="kirbyk" date="2018-08-14" ref="67997">Added stage flags to fields that must be blank post-2017.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-05" user="beverung" date="2020-07-31" ref="68428">Change edit name.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy