edits.seer.internal.rules.IFN2938.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="IFN2938" name="Brain Molecular Markers, Date DX (NAACCR)" tag="N2938" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.brainMolecularMarkers == null if (Functions.matches(line.brainMolecularMarkers, /^1\d|2[0-3]$/)) return line.dateOfDiagnosisYear >= '2024' return line.brainMolecularMarkers == null || Functions.matches(line.brainMolecularMarkers, /^0[1-9]|8[5-8]|99$/)]]></expression> <message>Brain Molecular Markers is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid Brain Molecular Markers code or blank: 01: 9400/3 Astrocytoma, IDH-mutant, grade 2 02: 9400/3 Diffuse astrocytoma, IDH-wildtype 03: 9401/3 Astrocytoma, IDH-mutant, grade 3 04: 9401/3 Anaplastic astrocytoma, IDH-wildtype 05: 9440/3 Glioblastoma, IDH-wildtype 06: 9450/3 Oligodendroglioma, IDH-mutant and 1p/19q co-deleted 07: 9451/3 Oligodendroglioma, IDH-mutant and 1p/19q co-deleted, grade 3 08: 9471/3 Medulloblastoma, SHH-activated and TP53-wildtype 09: 9478/3 Embryonal tumor with multilayered rosettes, C19MC-altered) 10: 9385/3 Diffuse hemispheric glioma, H3-34 mutant 11: 9385/3 Diffuse midline glioma, H3 K27-altered 12: 9385/3 Diffuse pediatric-type high grade glioma, H3-wildtype and IDH-wildtype 13: 9385/3 Infant-type hemispheric glioma 14: 9396/3 Posterior fossa group A (PFA) ependymoma 15: 9396/3 Posterior fossa group B (PFB) ependymoma 16: 9396/3 Spinal ependymoma, MYCN-amplified 17: 9396/3 Supratentorial ependymoma, YAP1 fusion-positive 18: 9396/3 Supratentorial ependymoma, ZFTA fusion-positive 19: 9421/1 Diffuse astrocytoma, MYB- or MYBL1-altered 20: 9421/1 Diffuse low-grade glioma, MAPK pathway-altered 21: 9430/3 Astroblastoma, MN1-altered 22: 9500/3 CNS neuroblastoma, FOXR2-activated 23: 9500/3 CNS tumor BCOR internal tandem duplication 85: Not applicable: Histology not 9385/3, 9396/3, 9400/3, 9401/3, 9421/1, 9430/3, 9440/3, 9450/3, 9451/3, 9471/3, 9478/3, 9500/3 86: Benign or borderline tumor (excludes 9421/1, codes 19-20) 87: Test ordered, results not in chart 88: Not applicable: Information not collected for this case 99: Not documented in medical record No microscopic confirmation Brain Molecular Markers not assessed or unknown if assessed 3. Codes 10 through 23 must only be used for 2024+ cases]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-25" ref="67915">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE24-024-01" user="shearerw" date="2024-02-29" ref="69388">Add codes 10 through 23 for years 2024+.</event> </history> </rule>