edits.seer.internal.rules.IFN5045.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="IFN5045" name="Extranodal Extension Head and Neck Path, EOD Regional Nodes (SEER)" tag="N5045" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodRegionalNodes == null) return true String path = line.extranodalExtensionHeadNeckPath if (!Functions.matches(line.schemaId, /^00(0[68]0|07[1-7]|1[12][12]|13[0-3])$/) || path == null || path == 'X.8') return true if (path == '0.0') return Functions.matches(line.eodRegionalNodes, /^[12348]00|[24]50$/) if (Functions.matches(path, /^0\.[1-9]|[1-9]\.\d|X\.[1234]$/)) return Functions.matches(line.eodRegionalNodes, /^150|[567]00$/) return true]]></expression> <message>Extranodal Extension Head and Neck Pathological conflicts with EOD Regional Nodes.</message> <description><![CDATA[This edit verifies that Extranodal Extension Head and Neck Pathological SSDI is coded consistently with EOD Regional Nodes for head and neck sites. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00060, 00071, 00072, 00073, 00074, 00075, 00076, 00077, 00080, 00111, 00112, 00121, 00122, 00130, 00131, 00132, 00133 c. Extranodal Extension Head and Neck Pathological is blank or not applicable d. EOD Regional Nodes is blank. 2. If Extranodal Extension Head and Neck Pathological = 0.0 (regional nodes involved, ENE not present), EOD Regional Nodes must = 100, 200, 250, 300, 400 (clinical or pathological nodal involvement, ENE not present or unknown), 450 (clinically overt ENE), or 800 (regional nodes NOS). 3. If Extranodal Extension Head and Neck Pathological = 0.1-9.9, X.1, X.2, X.3, or X.4 (pathological nodal involvement, ENE present) EOD Regional Nodes must = 150, 500, 600, or 700 (pathological nodal involvement, ENE present).]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-15" ref="68146">Edit created.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>