edits.seer.internal.rules.IFN5055.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="IFN5055" name="LN Positive Axillary Level I-II, Breast, Summary Stage 2018 (NAACCR)" tag="N5055" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.schemaId != '00480' || line.typeOfReportingSource == '7') return true if (line.lnPositiveAxillaryLevel1To2 == null || line.lnPositiveAxillaryLevel1To2 == 'X8') return true if (Functions.matches(line.lnPositiveAxillaryLevel1To2, /^0[1-9]|[1-9]\d|X[156]$/)) return !Functions.matches(line.summaryStage2018, /^[012]$/) return true]]></expression> <message>LN Positive Axillary Level I-II conflicts with Summary Stage 2018.</message> <description><![CDATA[This edit verifies that LN Positive Axillary Level I-II SSDI is coded consistently with Summary Stage 2018 for Breast. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00480 c. LN Positive Axillary Level I-II is blank or X8 (not applicable). d. Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. If LN Positive Axillary Level I-II = 01-99, X1, X5, or X6 (lymph nodes positive) Summary Stage 2018 must not = 0, 1, or 2 (in situ, local, or regional by direct extension only)]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-04" ref="68149">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>