edits.seer.internal.rules.IFN6245.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="IFN6245" name="SSDI for Breast/NET, Blank for Other Schemas (NAACCR)" tag="N6245" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || ['00290','00301','00302','00310','00320','00330','00340','00480','09290','09301','09302','09310','09320','09330','09340'].contains(line.schemaId)) return true return line.ki67 == null]]></expression> <message>Ki-67 should be blank for this schema</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for NET Stomach 00290, NET Duodenum 00301, NET Ampulla of Vater 00302, NET Jejunum and Ileum 00310, NET Appendix 00320, NET Colon and Rectum 00330, NET Pancreas 00340, and Breast 00480) are blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2021, blank, invalid. b.Schema ID is blank, 00290, 00301, 00302, 00310, 00320, 00330, 00340, 00480, 09290, 09301, 09302, 09310, 09320, 09330, 09340 If Schema ID is not in the list below, the following Site-Specific Data Item must be blank: Ki-67 00480 Breast 00290 NET Stomach [8th: 2018-2023] 00301 NET Duodenum [8th: 2018-2023] 00302 NET Ampulla of Vater [8th: 2018-2023] 00310 NET Jejunum and Ileum [8th: 2018-2023] 00320 NET Appendix [8th: 2018-2023] 00330 NET Colon and Rectum[ 8th: 2018-2023] 00340 NET Pancreas [8th: 2018-2023] 09290 NET Stomach [V9:2024+] 09301 NET Duodenum [V9:2024+] 09302 NET Ampulla of Vater [V9:2024+] 09310 NET Jejunum and Ileum [V9:2024+] 09320 NET Appendix [V9:2024+] 09330 NET Colon and Rectum [V9:2024+] 09340 NET Pancreas [V9:2024+]]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-13" ref="68635">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> <event version="SE24-024-01" user="shearerw" date="2024-03-11" ref="69420">Add schemas to skip condition.</event> </history> </rule>