edits.seer.internal.rules.IFN6278.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.
The newest version!
<rule id="IFN6278" name="Peritoneal Cytology, Gynecologic, Derived SS 2018 (SEER)" tag="N6278" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (!['00530','00541','00542', '00528'].contains(line.schemaId) || line.peritonealCytology == null || line.peritonealCytology == '8') return true return line.peritonealCytology != '2' || !['0','1','3'].contains(line.derivedSummaryStage2018)]]></expression> <message>Peritoneal Cytology conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that Peritoneal Cytology SSDI, with positive cytology, is coded consistently with Derived Summary Stage 2018 for Corpus Carcinoma, Corpus arcoma, and Corpus Adenosarcoma. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2021, blank (unknown), or invalid b. Schema ID is not 00530, 00541, 00542, 00528 c. Peritoneal Cytology is blank or 8 (not applicable) d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. If Peritoneal Cytology = 2 (peritoneal cytology positive for malignancy), Derived Summary Stage 2018 must not = 0, 1, or 3 (in situ, local, regional by nodal involvement only)]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-30" ref="68637">Edit created.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event> </history> </rule>