edits.seer.internal.rules.IFN6205.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="IFN6205" name="EOD Primary Tumor/Nodes/Mets, Lung Occult Carcinoma, Summary Stage 2018 (SEER)" tag="N6205" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.schemaId != '00360' || (line.eodPrimaryTumor == null && line.eodMets == null && line.eodRegionalNodes == null) || line.typeOfReportingSource == '7') return true if (line.eodPrimaryTumor == '980') return line.eodRegionalNodes == '000' && line.eodMets == '00' && (line.summaryStage2018 == null || line.summaryStage2018 == '9') return true]]></expression> <message>EOD variables/Summary Stage 2018 conflict for Lung Occult Carcinoma</message> <description><![CDATA[This edit checks consistency of coding between EOD Primary Tumor, EOD Regional Nodes, EOD Mets, and Summary Stage 2018 for an Occult Carcinoma in Schema ID 00360, Lung. 1. This edit is skipped if any of the following conditions is true: a. Diagnosis date is invalid, blank (unknown), or before 2021. b. Schema ID is blank or not = 00360 c. EOD Primary Tumor, EOD Regional Nodes, and EOD Mets are all blank d. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 980 (Tumor proven by presence of malignant cells in sputum or bronchial washings but not visualized by imaging or bronchoscopy) then: Mets a. EOD Regional Nodes must = 000 b. EOD must = 00 c. Summary Stage 2018 must = 9 or blank]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-04-20" ref="68623">Edit created.</event> <event version="SE22-022-03" user="secristc" date="2022-04-26" ref="68976">Updated description.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>