edits.seer.internal.rules.IFN6236.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.
The newest version!
<rule id="IFN6236" name="BRAF Mutational Analysis, Schema ID, Required (NAACCR)" tag="N6236" 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' && (line.dateOfDiagnosisYear == '2021' || line.dateOfDiagnosisYear == '2022')) || (line.registryId == '0000001566' && line.dateOfDiagnosisYear == '2021')) return true if (line.schemaId == '00200') return line.brafMutationalAnalysis != null && line.brafMutationalAnalysis != '8' return true]]></expression> <message>BRAF Mutational Analysis must not be blank or not applicable for Schema ID case 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 BRAF Mutational Analysis 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: 00200: Colon and Rectum]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-03-31" ref="68602">Edit created.</event> <event version="SE23-023-02" user="cooki" date="2023-04-11" ref="69218">Added logic for blank value.</event> <event version="SE23-023-04" user="shearerw" date="2023-06-14" ref="69288">Add registry skip conditions.</event> </history> </rule>