edits.seer.internal.rules.IFN6257.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="IFN6257" name="Brain Molecular Markers, Derived SS 2018 (SEER)" tag="N6257" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (!['00721','00722','09721','09722','09724'].contains(line.schemaId) || line.brainMolecularMarkers == null || line.brainMolecularMarkers == '88') return true if (line.brainMolecularMarkers == '86' && line.derivedSummaryStage2018 != '8') return false if (line.derivedSummaryStage2018 == '8' && line.brainMolecularMarkers != '86' && line.brainMolecularMarkers != '99') return false return true]]></expression> <message>Brain Molecular Markers conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that the Brain Molecular Markers SSDI is coded consistently with Derived Summary Stage 2018 for benign and borderline tumors. 1. The edit is skipped for the following conditions: a. Diagnosis date is before 2021, blank (unknown), or invalid. b. Schema ID not = 00721, 00722, 09721, 09722, or 09724. c. Brain Molecular Markers is blank or 88 (not applicable). d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. The edit verifies that if Brain Molecular Markers is coded 86 (Benign or borderline tumor), Derived Summary Stage 2018 = 8. 3. If Derived Summary Stage 2018 = 8, Brain Molecular Markers must = 86 (Benign or borderline) or 99 (no microscopic confirmation).]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-30" ref="68637">Edit created.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event> <event version="SE23-023-01" user="cooki" date="2023-02-16" ref="69144">Added skip condition for Schema IDs 09721, 09722, and 09724.</event> </history> </rule>