edits.seer.internal.rules.IFN6339.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="IFN6339" name="Neoadjuvant Therapy, Date DX (SEER)" tag="N6339" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if(line.dateOfDiagnosisYear == null || line.neoadjuvantTherapy == null) return true if (line.dateOfDiagnosisYear < '2021') return false else return Functions.matches(line.neoadjuvantTherapy, /^[01239]$/) ]]></expression> <message>Neoadjuvant Therapy must be blank for cases diagnosed before 2021</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2021 diagnoses. 2. Must be a valid Neoadjuvant Therapy code or blank: 0: No neoadjuvant therapy, no treatment before surgery, autopsy only 1: Neoadjuvant therapy completed according to treatment plan and guidelines 2: Neoadjuvant therapy started but not completed 3: Limited systemic exposure when the intent was not neoadjuvant; treatment did not meet the definition of neoadjuvant therapy 9: Unknown if neoadjuvant therapy performed Death Certificate only (DCO)]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-22" ref="68609">Edit created.</event> </history> </rule>