edits.seer.internal.rules.IFN6283.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="IFN6283" name="Pleural Effusion, Pleural Mesothelioma, EOD Mets (SEER)" tag="N6283" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2021' || line.dateOfDiagnosisYear == null || line.schemaId == null || line.schemaId != '00370' || line.pleuralEffusion == null || line.pleuralEffusion == '8' || line.eodMets == null || line.typeOfReportingSource == '7') return true if (line.pleuralEffusion == '2') return line.eodMets == '70' || line.eodMets == '05' return true ]]></expression> <message>Pleural Effusion conflicts with EOD Mets</message> <description><![CDATA[This edit verifies that the Pleural Effusion SSDI, code 2, is coded consistently with EOD Mets for Schema ID 00370, Pleural Mesothelioma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00370 c. Pleural Effusion is blank or = 8 (not applicable) d. EOD Mets is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If Pleural Effusion = 2 (Pleural Effusion present, malignant), then EOD Mets if not blank must = 05 (Malignant pleural effusion) or 70 (Pleural Effusion) ]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-03-19" ref="68612">Edit created.</event> <event version="SE22-022-01" user="secristc" date="2022-01-21" ref="68880">Added logic for EOD mets code 05.</event> </history> </rule>