edits.seer.internal.rules.IFN4004.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="IFN4004" name="SSDI for Corpus Uteri, Blank for Other Schemas (NAACCR)" tag="N4004" 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 if (!['00530', '00541', '00542', '00528'].contains(line.schemaId)) return line.numberOfPositiveParaAorticNodes == null && line.numberOfExaminedParaAorticNodes == null && line.numberOfPositivePelvicNodes == null && line.numberOfExaminedPelvicNodes == null && line.peritonealCytology == null return true]]></expression> <message>Conflict between schema and coded SSDI items for Corpus Uteri</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Corpus Carcinoma (Schema ID 00530), Corpus Sarcoma (Schema ID 00541), and Corpus Adenosarcoma (Schema ID 00542) are blank (not coded) for all other schemas. 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 00530 (Corpus Carcinoma), 00541 (Corpus Sarcoma) 00542 (Corpus Adenosarcoma), or 00528 (Cervix Sarcoma [2021) the following Site-Specific Data Items must be blank: Number of Positive Para-Aortic Nodes Number of Examined Para-Aortic Nodes Number of Positive Pelvic Nodes Number of Examined Pelvic Nodes Peritoneal Cytology NOTE: FIGO Stage, also collected for these schemas, is included in another edit]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-20" ref="67823">Edit Created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</event> </history> </rule>