edits.seer.internal.rules.IFN2940.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="IFN2940" name="Methylation of O6-Methylguanine-Methyltransferase, Schema ID, Required (NAACCR)" tag="N2940" 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 if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023') return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') return true if (line.schemaId == '00721' || line.schemaId == '00722' || (line.dateOfDiagnosisYear >= '2023' && (line.schemaId == '09721' || line.schemaId == '09722'))) return line.methylationOfO6MGMT != null && line.methylationOfO6MGMT != '8' return true]]></expression> <message>Methylation of O6-Methylguanine-Methyltransferase must not be blank or not applicable for cases with this Schema ID 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) d. Registry ID = 0000001565 (Illinois) and Year of Diagnosis 2018-2022 e. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021 2. This edit verifies that Methylation of O6-Methylguanine-Methyltransferase is not "8" (not applicable) 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+]]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-13" ref="67810">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68007">Added DCO skip condition.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE21-021-09" user="beverung" date="2021-08-26" ref="68721">Add skip conditions for IL and TX for DX Years 2018-2020.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68956">Change skip condition for IL to DX Years 2018-2022, and TX to 2018-2021</event> <event version="SE23-023-01" user="shearerw" date="2023-02-08" ref="69141">Add logic for Schema IDs 09721 and 09722. Update descriptions for 00721 and 00722.</event> </history> </rule>