edits.seer.internal.rules.IFN6153.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="IFN6153" name="EOD Regional Nodes, Appendix, Regional Nodes Positive (SEER)" tag="N6153" 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 != '00190' && line.schemaId != '09190') || line.regionalNodesPositive == null) return true return line.eodRegionalNodes != '400' || ['00','98','99'].contains(line.regionalNodesPositive)]]></expression> <message>EOD Regional Nodes/Reg Nodes Pos conflict for Appendix</message> <description><![CDATA[This edit verifies that EOD Regional Nodes code 400 is coded consistently with Regional Nodes Positive for Schema ID 00190, Appendix. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00190 or 09190 d. EOD Regional Nodes is blank e. Regional Nodes Positive is blank f. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Regional Nodes = 400 (Tumor deposits in subserosa or mesentery, no regional lymph node metastasis) then Regional Nodes Positive must = 00 (no nodes positive), 98 (no nodes examined), or 99 (unknown if nodes positive)]]></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> <event version="SE23-023-01" user="cooki" date="2023-02-06" ref="69139">Added skip condition for new schema.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy