edits.seer.internal.rules.IFN4017.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="IFN4017" name="SSDI FIGO Stage, Blank for Other Schemas (NAACCR)" tag="N4017" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null) return true String[] schemaIds = ['00500','09500','00510','00520','09520','00530','00541','00542','00551','00552','00553','00560','00528'] if (!schemaIds.contains(line.schemaId)) return line.figoStage == null return true]]></expression> <message>Conflict between schema and coded SSDI items for FIGO Stage</message> <description><![CDATA[This edit verifies that the Site-Specific Data Item FIGO Stage is blank for schemas for which it is not collected. This SSDI is collected for gynecologic schemas: Vulva (Schema ID 00500), Vagina (Schema ID 00510), Cervix (Schema IDs 00520, 09520), Corpus (Schema IDs 00530, 00541, 00542), Ovary (Schema ID 00551), Fallopian Tube (Schema ID 00552), Primary Peritoneal Carcinoma (Schema ID 00553), Placenta (Schema ID 00560). This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank. If Schema ID is not 00500 or 09500 (Vulva), 00510 (Vagina), 00520 or 09520 (Cervix), 00530 (Corpus Carcinoma), 00541 (Corpus Sarcoma), 00542 (Corpus Adenosarcoma), 00551 (Ovary), 00552 (Fallopian Tube), 00553 (Primary Peritoneal Carcinoma), or 00560 (Placenta), 00528 (Cervix Sarcoma [2021]) the following Specific Data Item must be blank: FIGO Stage]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-15" ref="67813">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-04" ref="68463">Added '09520' as a Cervix Schema ID.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</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