edits.seer.internal.rules.IFN6270.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="IFN6270" name="LN Isolated Tumor Cells (ITC), Merkel Cell, Derived SS 2018 (SEER)" tag="N6270" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.schemaId != '00460' || line.lnIsolatedTumorCells == null || line.lnIsolatedTumorCells == '8' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (line.lnIsolatedTumorCells == '1') return !['0', '1', '2'].contains(line.derivedSummaryStage2018) return true]]></expression> <message>LN Isolated Tumor Cells (ITC) conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that LN Isolated Tumor Cells (ITC) SSDI, with positive nodes, is coded consistently with Derived Summary Stage 2018 for Merkel Cell Carcinoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is not 00460 c. LN Isolated Tumor Cells (ITC) is blank or 8 (not applicable). d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. If LN Isolated Tumor Cells (ITC) = 1 (lymph nodes positive for ITCs) Derived Summary Stage 2018 must not = 0, 1, or 2 (in situ, local, or regional by direct extension only)]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-03-22" ref="68628">Edit created.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event> </history> </rule>