edits.seer.internal.rules.IFN6157.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="IFN6157" name="Circumferential Resection Margin (CRM), Colon, Behavior ICDO3 (NAACCR)" tag="N6157" 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 != '00200' || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7' || line.circumferentialResectionMargin == null || line.circumferentialResectionMargin == 'XX.8') return true if (line.behaviorCodeIcdO3 == '2') return line.circumferentialResectionMargin == 'XX.9' return true ]]></expression> <message>Circumferential Resection Margin (CRM) conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the Circumferential Resection Margin (CRM) SSDI is coded consistently with Behavior Code ICD-O-3, code 2, for Schema ID 00200, Colon and Rectum. 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 00200 c. Circumferential Resection Margin (CRM) is blank or XX.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) the Circumferential Resection Margin (CRM) must = XX.9]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-20" ref="68639">Edit created.</event> </history> </rule>