edits.seer.internal.rules.IFN5044.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="IFN5044" name="Extranodal Extension Head and Neck Path, Summary Stage 2018 (NAACCR)" tag="N5044" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if (!Functions.matches(line.schemaId, /^00(0[689]0|07[1-7]|100|1[12][12]|13[0-3]|140)$/) || line.extranodalExtensionHeadNeckPath == null || line.extranodalExtensionHeadNeckPath == 'X.8') return true if (Functions.matches(line.extranodalExtensionHeadNeckPath, /^\d\.\d|X\.[1234]$/)) return !Functions.matches(line.summaryStage2018, /^[012]$/) return true]]></expression> <message>Extranodal Extension Head and Neck Pathological conflicts with Summary Stage 2018.</message> <description><![CDATA[This edit verifies that the Extranodal Extension Head and Neck Pathological is is coded consistently with Summary Stage 2018 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, 00090, 00100, 00111, 00112, 00121, 00122, 00130, 00131, 00132, 00133, 00140 c. Extranodal Extension Head and Neck Pathological is blank or not applicable d. Summary Stage 2018 is blank. e. Type of Reporting Source = 7 2. If Extranodal Extension Head and Neck Pathological = 0.0-9.9,X.1, X.2, X.3, or X.4 (Pathological nodal involvement) Summary Stage 2018 must not = 0, 1, or 2 (in situ, local, or regional by extension only)]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-03" ref="68149">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> <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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy