edits.seer.internal.rules.IFN2624.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="IFN2624" name="FIGO Stage, Schema ID, Required (NAACCR)" tag="N2624" 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 String[] schemaIds = ['00500','09500','00510','00520','09520','00528','00530','00541','00542','00551','00552','00553','00560'] if (schemaIds.contains(line.schemaId)) return line.figoStage != null && line.figoStage != '98' return true]]></expression> <message>FIGO Stage 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 FIGO Stage is not "98" (not applicable) and not blank for the Schema IDs for which it is required. Required for Schema ID: 00500: Vulva [8th: 2018-2023] 09500: Vulva [V9: 2024+] 00510: Vagina 00520: Cervix [8th: 2018-2020 only] 09520: Cervix [9th: 2021+ only] 00528: Cervix Sarcoma [2021+] 00530: Corpus Carcinoma and Carcinosarcoma 00541: Corpus Sarcoma (Sarcoma) 00542: Corpus Sarcoma (Adenosarcoma) 00551: Ovary 00552: Primary Peritoneal Carcinoma 00553: Fallopian Tube 00560: Placenta]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-14" ref="67813">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-14" ref="68003">Added DCO skip condition</event> <event version="SE18-020-05" user="beverung" date="2020-07-30" ref="68394">Add 09520 to list of schema IDs.</event> <event version="SE21-021-03" user="secristm" date="2021-03-04" ref="68589">Separate cervix schema ID logic by year</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-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</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="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added logic for Schema ID 09500.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy