edits.seer.internal.rules.IFN6229.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="IFN6229" name="Mets at DX-Distant LN, Kaposi Sarcoma, EOD Regional Nodes (SEER)" tag="N6229" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId != '00458' || line.metsAtDxDistantLn == null) return true if (line.eodRegionalNodes == null || line.typeOfReportingSource == '7') return true if (line.metsAtDxDistantLn == '1' && line.eodRegionalNodes != '700') return false if (line.eodRegionalNodes == '700' && line.metsAtDxDistantLn != '1') return false return true]]></expression> <message>Mets at Dx-Distant LN conflicts with EOD Regional Nodes</message> <description><![CDATA[The edit verifies that Mets at DX-Distant LN code 1 is coded consistently with EOD Regional Nodes for for Schema ID 00458 Kaposi Sarcoma. 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 00458 c. Mets at DX-Distant LN is blank d. Type of Reporting Source is 7 (Death Certificate Only) e. EOD Regional Nodes is blank 2. If Mets at DX-Distant LN = 1, EOD Regional Nodes must = 700 (distant nodes NOS). 3. If EOD Regional Nodes = 700 Mets at DX-Distant LN must = 1]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-03-16" ref="68634">Edit created.</event> <event version="SE21-021-04" user="kirbyk" date="2021-05-10" ref="68651">Added skip condition for EOD Regional Nodes.</event> </history> </rule>