edits.seer.internal.rules.IFN6661.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="IFN6661" name="Recurrence Type--1st, Cancer Status (SEER)" tag="N6661" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022') return true if (line.recurrenceType1st == null || line.cancerStatus == null) return true if (line.recurrenceType1st == '00' && line.cancerStatus != '1') return false if (line.recurrenceType1st == '70' && line.cancerStatus != '2') return false return true]]></expression> <message>Cancer Status and Recurrence Type--1st conflict</message> <description><![CDATA[This edit is skipped if any of the fields are blank. This edit is skipped for diagnosis date blank (unknown), invalid, or pre-2022. If Recurrence Type--1st = 00 (patient became disease-free after treatment and has not had a recurrence), then Cancer Status must = 1 (no evidence of this cancer). If Recurrence Type--1st = 70 (patient has never been disease free), then Cancer Status must = 2 (evidence of this cancer).]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-03-04" ref="68896">Edit Created</event> <event version="SE22-022-18" user="secristc" date="2023-01-03" ref="69070">Removed condition for DOLC less than 2006</event> </history> </rule>