edits.seer.internal.rules.IFN6662.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="IFN6662" name="Pleural Effusion, Pleura, Derived SS 2018 (SEER)" tag="N6662" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId != '00370') return true if (line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true return line.pleuralEffusion != '2' || line.derivedSummaryStage2018 == '7']]></expression> <message>Pleural Effusion conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that Pleural Effusion SSDI is coded consistently with Summary Stage 2018 for Pleura. 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 00370 c. Pleural Effusion is blank or 8 (not applicable) d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 (death certificate only) 2. If Pleural Effusion = 2 (Pleural effusion positive for malignancy), Derived Summary Stage 2018 must = 7 (distant)]]></description> <history> <event version="SE22-022-06" user="beverung" date="2022-05-26" ref="68941">Edit created.</event> </history> </rule>