edits.seer.internal.rules.IFN2523.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.
The newest version!
<rule id="IFN2523" name="Date Regional Lymph Node Dissection, Date of Diagnosis (COC)" tag="N2523" java-path="lines.line" category="inter-field" depends="DateDiagnosisEdit,DateRegionalLymphNodeDissectionEdit"> <expression><![CDATA[if (line.dateRegionalLNDissectionYear == null || line.dateOfDiagnosisYear == null) return true if (line.dateRegionalLNDissectionYear < line.dateOfDiagnosisYear) return false if (line.dateRegionalLNDissectionYear > line.dateOfDiagnosisYear || line.dateRegionalLNDissectionMonth == null || line.dateOfDiagnosisMonth == null) return true if (line.dateRegionalLNDissectionMonth < line.dateOfDiagnosisMonth) return false if (line.dateRegionalLNDissectionMonth > line.dateOfDiagnosisMonth || line.dateRegionalLNDissectionDay == null || line.dateOfDiagnosisDay == null) return true return line.dateRegionalLNDissectionDay >= line.dateOfDiagnosisDay]]></expression> <message>Date Regional Lymph Node Dissection must be greater than or equal to Date of Diagnosis.</message> <description><![CDATA[This edit is skipped if Date Regional Lymph Node Dissection or Date of Diagnosis is blank or invalid. Date Regional Lymph Node Dissection must be greater than or equal to Date of Diagnosis. If both years are known, but either month is blank, then only the years are compared. If either day is blank, then only the years and months are compared.]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-01" ref="67782">Edit created.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>