edits.seer.internal.rules.IFN6641.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="IFN6641" name="Macroscopic Evaluation of Mesorectum, Schema ID, Required, CoC Flag (SEER)" tag="N6641" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || line.schemaId == null || line.typeOfReportingSource == '7' || line.cocAccreditedFlag != '1') return true if (line.schemaId == '00200' && line.primarySite == 'C209') return line.macroscopicEvalOfTheMesorectum != null return true]]></expression> <message>Macroscopic Evaluation of Mesorectum must not be blank for Schema ID, Primary Site case diagnosed 2022 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2022, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) d. CoC Accredited Flag is not 1 Macroscopic Evaluation of Mesorectum is required by SEER only for analytic cases from CoC Accredited facility. 2. This edit verifies that Macroscopic Evaluation of Mesorectum is not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00200: Colon and Rectum, C20.9 only ]]></description> <history> <event version="SE22-022-01" user="secristc" date="2022-02-24" ref="68895">Edit created.</event> </history> </rule>