edits.seer.internal.rules.IFN2522.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="IFN2522" name="Date Regional Lymph Node Dissection, Date Last Contact (COC)" tag="N2522" java-path="lines.line" category="inter-field" depends="DateFollowUpEdit,DateRegionalLymphNodeDissectionEdit"> <expression><![CDATA[if (line.dateRegionalLNDissectionYear == null || line.dateOfLastContactYear == null) return true if (line.dateRegionalLNDissectionYear > line.dateOfLastContactYear) return false if (line.dateRegionalLNDissectionYear < line.dateOfLastContactYear || line.dateRegionalLNDissectionMonth == null || line.dateOfLastContactMonth == null) return true if (line.dateRegionalLNDissectionMonth > line.dateOfLastContactMonth) return false if (line.dateRegionalLNDissectionMonth < line.dateOfLastContactMonth || line.dateRegionalLNDissectionDay == null || line.dateOfLastContactDay == null) return true return line.dateRegionalLNDissectionDay <= line.dateOfLastContactDay]]></expression> <message>Date Regional Lymph Node Dissection must be less than or equal to Date of Last Contact.</message> <description><![CDATA[This edit is skipped if Date Regional Lymph Node Dissection or Date Last Contact is blank or invalid. Date Regional Lymph Node Dissection must be less than or equal to Date of Last contact. 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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy