edits.seer.internal.rules.IFN6427.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="IFN6427" name="Neoadjuvant Therapy, Required (SEER)" tag="N6427" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if ('0000001565' == line.registryId && line.dateOfDiagnosisYear > '2020' && line.dateOfDiagnosisYear < '2023') return true if ('0000001566' == line.registryId && line.dateOfDiagnosisYear == '2021') return true return line.neoadjuvantTherapy != null]]></expression> <message>Neoadjuvant Therapy must not be blank for Date of Diagnosis 2021 or later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2021, blank (unknown), or invalid. b. Type of Reporting Source = 7 (Death Certificate Only) c. Registry is Illinois (0000001565) and Year of Diagnosis is 2021-2022 d. Registry is Texas (0000001566) and Year of Diagnosis is 2021 2. This edit verifies that Neoadjuvant Therapy is not blank for Date of Diagnosis 2021+.]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-23" ref="68609">Edit created.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68988">Added skip condition for IL for 2021-2022, and TX for 2021.</event> </history> </rule>