edits.seer.internal.rules.IFN3975.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.
The newest version!
<rule id="IFN3975" name="Oncotype Dx Risk Level-Invasive, Breast, Behavior (NAACCR)" tag="N3975" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId != '00480') return true if (line.oncotypeDxRiskLevelInvasive == null || line.oncotypeDxRiskLevelInvasive == '8') return true if (line.behaviorCodeIcdO3 == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line.behaviorCodeIcdO3 == '2') return line.oncotypeDxRiskLevelInvasive == '6' return line.oncotypeDxRiskLevelInvasive != '6']]></expression> <message>Oncotype Dx Risk Level-Invasive conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[Purpose: This edit verifies that Oncotype DX Risk Level-Invasive is coded consistently with Behavior Code ICD-O-3. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2018, blank (unknown), or invalid b. Schema ID is not 00480 c. Oncotype DX Risk Level-Invasive is blank or 8 (not applicable) d. Behavior Code ICD-O-3 = 0, 1, or blank. 1. The edit verifies for Schema ID 00480 that if Behavior Code ICD-O-3 = "2": Oncotype Dx Risk Level-Invasive = "6" (not applicable: in situ case). 2. The edit verifies for Schema ID 00480 that if Behavior Code ICD-O-3 = "3": Oncotype Dx Risk Level-Invasive must not = "6" (not applicable: in situ case).]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-16" ref="67869">Edit created.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>