edits.seer.internal.rules.IFN3049.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="IFN3049" name="LN Positive Axillary Level I-II, Breast, EOD Regional Nodes (SEER)" tag="N3049" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00480' || line.eodRegionalNodes == null) return true String lnPositiveAxillaryLevel1To2 = line.lnPositiveAxillaryLevel1To2 if (lnPositiveAxillaryLevel1To2 == null || lnPositiveAxillaryLevel1To2 == 'X8') return true if (Functions.matches(lnPositiveAxillaryLevel1To2, /^0[1-9]|[1-9]\d|X[156]$/)) return !['000','030','050','070','250','400','999'].contains(line.eodRegionalNodes) return true]]></expression> <message>LN Positive Axillary Level I-II conflicts with EOD Regional Nodes.</message> <description><![CDATA[This edit verifies that LN Positive Axillary Level I-II SSDI is coded consistently with EOD-Regional Nodes 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. EOD Regional Nodes is blank 2. If LN Positive Axillary Level I-II = 01-99, X1, X5, or X6 (lymph nodes positive) EOD Regional Nodes must not = 000, 030, 050, or 070 (no nodes involved) 250 or 400 (internal mammary nodes without axillary lymph nodes), or 999 (unknown if nodes involved)]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-14" ref="68146">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-03-03" ref="69211">Add to list of codes that EOD Regional Nodes must not equal.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy