edits.seer.internal.rules.IFN6232.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="IFN6232" name="ALK Rearrangement, Schema ID, Required (NAACCR)" tag="N6232" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.typeOfReportingSource == '7') return true if (line.registryId == '0000001565' && ['2021','2022'].contains(line.dateOfDiagnosisYear)) return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear == '2021') return true if (line.schemaId == '00360') return line.alkRearrangement != '8' && line.alkRearrangement != null return true]]></expression> <message>ALK Rearrangement must not be blank or not applicable for Schema ID for cases diagnosed 2021 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2021, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) d. Registry ID is 0000001565 (Illinois) and Year of Date of Diagnosis is 2021 or 2022. e. Registry ID is 0000001566 (Texas) and Year of Date of Diagnosis is 2021 2. This edit verifies that ALK Rearrangement 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: 00360: Lung]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-03-19" ref="68601">Edit created.</event> <event version="SE22-022-06" user="beverung" date="2022-06-13" ref="69006">Add skip conditions for IL and TX.</event> </history> </rule>