edits.seer.internal.rules.IFN6089.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="IFN6089" name="LN Positive Axillary Level I-II, Breast, Reg Nodes Positive (NAACCR)" tag="N6089" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00480' || line.lnPositiveAxillaryLevel1To2 == null || line.lnPositiveAxillaryLevel1To2 == 'X8' || line.typeOfReportingSource == '7' || line.regionalNodesPositive == null) return true if (Functions.matches(line.lnPositiveAxillaryLevel1To2, /^0[1-9]|[2-9]\d|X[156]$/) && (line.regionalNodesPositive == '00' || line.regionalNodesPositive == '98' || line.regionalNodesPositive == '99')) return false if (Functions.matches(line.lnPositiveAxillaryLevel1To2, /^0[1-9]|[2-9]\d$/) && (line.lnPositiveAxillaryLevel1To2 > line.regionalNodesPositive)) return false if (line.regionalNodesPositive == '95' && line.lnPositiveAxillaryLevel1To2 != '00' && line.lnPositiveAxillaryLevel1To2 != 'X9' && line.lnPositiveAxillaryLevel1To2 != 'X6') return false if (line.regionalNodesPositive == '98' && line.lnPositiveAxillaryLevel1To2 != 'X9') return false return true]]></expression> <message>LN Positive Axillary Level I-II conflicts with Regional Nodes Positive.</message> <description><![CDATA[This edit verifies that LN Positive Axillary Level I-II SSDI is coded consistently with Regional Nodes Positive 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. Regional Nodes Positive is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If LN Positive Axillary Level I-II = 01-99, X1, X5, or X6 (lymph nodes positive) Regional Nodes Positive must not = 00 (no nodes involved), 98 (no nodes examined) or 99 (unknown if nodes involved) 3. If LN Positive Axillary Level I-II = 01-99, Number of LN Positive Axillary Level I-II must be less than or equal to number of Regional Nodes Positive 4. If Regional Nodes Positive = 95, LN Positive Axillary Level I-II must = 00 (axillary nodes negative), X6 (Positive aspiration of lymph node(s), or X9 (axillary nodes not assessed) 5. If Regional Nodes Positive = 98 (no nodes examined) LN Positive Axillary Level I-II must = X9 (not documented, not assessed or unknown if assessed) ]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-03-29" ref="68158">Edit created.</event> <event version="SE18-020-01" user="beverung" date="2020-03-09" ref="68289">Update condition 3 to use X9 instead of 99.</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-17" ref="68875">Removed logic relating to Regional Nodes Examined, added skip condition for Type of Reporting Source = 7.</event> <event version="SE23-023-01" user="secristc" date="2023-02-23" ref="69192">Added logic for LN Positive Axillary Level and Regional Nodes Positive</event> <event version="SE23-023-03" user="cooki" date="2023-05-24" ref="69259">Updated description to v23B.</event> <event version="SE24-024-06" user="cooki" date="2024-07-03" ref="69496">Added condition 5.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy