edits.seer.internal.rules.IFN6088.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="IFN6088" name="LN Isolated Tumor Cells (ITC), Merkel Cell, Reg Nodes Positive (NAACCR)" tag="N6088" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00460' || line.lnIsolatedTumorCells == null || line.lnIsolatedTumorCells == '8') return true if (line.regionalNodesPositive == null) return true if (line.typeOfReportingSource == '7') return true if (line.lnIsolatedTumorCells == '1' && (line.regionalNodesPositive == '00' || line.regionalNodesPositive == '98' || line.regionalNodesPositive == '99')) return false if (line.lnIsolatedTumorCells == '0' && line.regionalNodesPositive == '98') return false return true]]></expression> <message>LN Isolated Tumor Cells (ITC) conflicts with Regional Nodes Positive.</message> <description><![CDATA[This edit verifies that LN Isolated Tumor Cells (ITC) SSDI is coded consistently with Regional Nodes Positive and Regional Nodes Examined for Merkel Cell Carcinoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00460 c. LN Isolated Tumor Cells (ITC) is blank or 8 (not applicable). d. Regional Nodes Positive is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If LN Isolated Tumor Cells (ITC) = 1 (lymph nodes positive for ITCs) Regional Nodes Positive must not = 00 (no nodes involved), 98 (no nodes examined), or 99 (unknown if nodes involved) 3. If LN Isolated Tumor Cells (ITC) = 0 (lymph nodes negative for ITCs) Regional Nodes Positive must not = 98 (no nodes examined)]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-03-29" ref="68158">Edit created.</event> <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event> <event version="SE22-022-01" user="secristc" date="2022-02-11" ref="68815">Updated logic for LN ITC = 1, changed skip conditions.</event> </history> </rule>