edits.seer.internal.rules.IFN6244.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="IFN6244" name="SSDI for Breast/Digestive, Blank for Other Schemas (NAACCR)" tag="N6244" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || ['00480','00161','00169','00170'].contains(line.schemaId)) return true return line.her2OverallSummary == null]]></expression> <message>HER2 Overall Summary should be blank for this schema</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Esophagus Squamous, Schema ID 00161, Esophagus Other,Schema ID 00169, Stomach, Schema ID 00170, and Breast,Schema ID 00480, as of diagnosis date 2021, 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, 00480, 00161, 00169, 00170. If Schema ID is not 00480 (Breast) 00161 (Esophagus Squamous), 00169 (Esophagus) or 00170 (Stomach), the following Site-Specific Data Item must be blank: HER2 Overall Summary]]></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> </history> </rule>