edits.seer.internal.rules.IFN6164.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="IFN6164" name="Visceral and Parietal Pleural Invasion, Lung, Behavior (NAACCR)" tag="N6164" 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.behaviorCodeIcdO3 == null || line.visceralParietalPleuralInvasion == null || line.visceralParietalPleuralInvasion == '8' || line.typeOfReportingSource == '7') return true if (line.behaviorCodeIcdO3 == '2') { if (line.dateOfDiagnosisYear < '2023') return line.visceralParietalPleuralInvasion == '0' || line.visceralParietalPleuralInvasion == '9' else return line.visceralParietalPleuralInvasion == '0' } return true]]></expression> <message>Visceral and Parietal Pleural Invasion conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the Visceral and Parietal Pleural Invasion SSDI is coded consistently with Behavior Code ICD-O-3 code 2 for Schema ID 00360, Lung. 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 00360 c. Visceral and Parietal Pleural Invasion is blank or = 8 (not applicable) d. Behavior Code ICD-O-3 is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If Behavior Code ICD-O-3 = 2 (in situ), then Visceral and Parietal Pleural Invasion must = 0 (No evidence of visceral pleural invasion) or 9 (Not documented in medical record) 3. If diagnosis year >= 2023, code 0 defined as non-invasive neoplasm behavior /2. Code 9 removed as allowable value for behavior /2]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-03-25" ref="68616">Edit created.</event> <event version="SE23-023-01" user="secristc" date="2023-02-22" ref="69171">Changed skip conditions, updated logic for DX year 2023+.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy