edits.seer.internal.rules.IFN3022.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="IFN3022" name="Brain Molecular Markers, Schema ID, Required (NAACCR)" tag="N3022" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.typeOfReportingSource == '7') return true return !['00721','00722','09721','09722','09724'].contains(line.schemaId) || (line.brainMolecularMarkers != null && line.brainMolecularMarkers != '88')]]></expression> <message>Brain Molecular Markers must not be blank or not applicable for this Schema ID for cases diagnosed 2018 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2018, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) 2. This edit verifies that Brain Molecular Markers is not "88" and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00721: Brain [8th: 2018-2022] 09721: Brain [V9: 2023+] 00722: CNS Other [8th: 2018-2022] 09722: CNS Other [V9: 2023+] 09724: Medulloblastoma [V9: 2023+]]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-25" ref="67915">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68010">Added DCO skip condition.</event> <event version="SE23-023-01" user="cooki" date="2023-02-21" ref="69146">Added required Schema IDs 09721, 09722, and 09724.</event> </history> </rule>