edits.seer.internal.rules.IFN6289.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="IFN6289" name="EOD Regional Nodes, Breast, Sentinel Nodes Positive, Scope Nodes (SEER)" tag="N6289" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7' || line.eodRegionalNodes == null) return true if (line.schemaId == null || line.schemaId != '00480' || line.sentinelLymphNodesPositive == null) return true if (Functions.matches(line.eodRegionalNodes, /^0[0357]0$/)) return ['00','98','99'].contains(line.sentinelLymphNodesPositive) else if (['250','300'].contains(line.eodRegionalNodes)) { if (['00','98','99'].contains(line.sentinelLymphNodesPositive)) return false if (line.rxSummScopeRegLnSur != null && !['2','6','7'].contains(line.rxSummScopeRegLnSur)) return false } return true]]></expression> <message>EOD Regional Nodes/Sentinel/Scope conflict for Breast</message> <description><![CDATA[This edit verifies that EOD Regional Nodes codes are coded consistently with Sentinel Nodes Positive for Schema ID 00480, Breast. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2021, blank (unknown), or invalid b. Schema ID is not 00480 c. EOD Regional Nodes is blank d. Sentinel Lymph Nodes Positive is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If EOD Regional Nodes = 000 (negative nodal involvement) or 030, 050, or 070 (pathological assessment of nodes with ITCs only or negative nodes) then Sentinel Lymph Nodes Positive must = 00, 98, or 99 (no nodes positive) 3. If EOD Regional Nodes = 250 or 300 (pathologic assessment only, internal mammary nodes positive on sentinel node biopsy without and with axillary nodes) then Sentinel Lymph Nodes Positive must not = 00, 98, or 99 (no nodes positive) 4. If EOD Regional Nodes = 250 or 300 then RX Summ--Scope Reg LN Sur if not blank must = 2, 6, or 7 (sentinel node procedure performed)]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-04-28" ref="68607">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy