edits.seer.internal.rules.IFN6175.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="IFN6175" name="Number of Positive Pelvic Nodes/Positive Para-aortic Nodes, Corpus, Behavior ICDO3 (NAACCR)" tag="N6175" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || !['00530','00541','00542', '00528'].contains(line.schemaId) || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7' || ((line.numberOfPositivePelvicNodes == null || line.numberOfPositivePelvicNodes == 'X8') && (line.numberOfPositiveParaAorticNodes == null || line.numberOfPositiveParaAorticNodes == 'X8'))) return true if (line.behaviorCodeIcdO3 == '2') return Functions.matches(line.numberOfPositiveParaAorticNodes, /^00|X[89]$/) && Functions.matches(line.numberOfPositivePelvicNodes, /^00|X[89]$/) return true]]></expression> <message>Number of Positive Pelvic Nodes and/or Number of Positive Para-Aortic Nodes conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the Number of Positive Pelvic Nodes SSDI and the Number of Positive Para-aortic Nodes SSDI are coded consistently with Behavior Code ICD-O-3 code 2 for Schema ID 00531, Corpus Carcinoma. 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 00530, 00541, 00542, or 00528 c. Number of Positive Pelvic Nodes and Number of Positive Para-aortic Nodes are both blank or both = X8 (not applicable) d. Behavior Code ICD-O-3 is blank e. Type of Reporting Source is 7 (Death Certificate Only) Number of Positive Pelvic Nodes and Number of Positive Para-aortic Nodes are required by SEER only if collected by a CoC-accredited facility on an analytic case (CoC Accredited Flag = 1). 2. If Behavior Code ICD-O-3 = 2 (in situ) Number of Positive Pelvic Nodes must = 00 (no nodes involved), X8 (not applicable), or X9 (not documented in medical record and Number of Positive Para-aortic Nodes must = 00 (no nodes involved), X8 (not applicable), or X9 (not documented in medical record]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> </history> </rule>