edits.seer.internal.rules.IFN6669.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="IFN6669" name="EOD Primary Tumor/Nodes/Mets, Lung Occult Carcinoma, Derived SS 2018 (SEER)" tag="N6669" 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.typeOfReportingSource == '7') return true if (line.eodPrimaryTumor == null && line.eodRegionalNodes == null && line.eodMets == null) return true if (line.eodPrimaryTumor == '980') return line.eodRegionalNodes == '000' && line.eodMets == '00' && line.derivedSummaryStage2018 == '9' return true]]></expression> <message>EOD variables/Dervied 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 Derived 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: a. EOD Regional Nodes must = 000 b. EOD Mets must = 00 c. Derived Summary Stage 2018 must = 9 ]]></description> <history> <event version="SE22-022-06" user="beverung" date="2022-05-26" ref="68941">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy