edits.seer.internal.rules.IFN6281.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="IFN6281" name="Tumor Deposits, Colorectal, Derived SS 2018 (SEER)" tag="N6281" 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.derivedSummaryStage2018 == null || line.tumorDeposits == null || line.tumorDeposits == 'X8' || line.typeOfReportingSource == '7') return true if (Functions.matches(line.tumorDeposits, /^0[1-9]|[1-9][0-9]$/) || line.tumorDeposits == 'X1' || line.tumorDeposits == 'X2') return !Functions.matches(line.derivedSummaryStage2018, /^[012]$/) return true]]></expression> <message>Tumor Deposits conflicts with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that the Tumor Deposits SSDI, with positive deposits, is coded consistently with Derived Summary Stage 2018. 1. The edit is skipped for the following conditions: a. Diagnosis date is before 2021, blank (unknown), or invalid. b. Schema ID not = 00200. c. Tumor Deposits is blank or X8 (not applicable). d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. The edit verifies that if Tumor Deposits is coded 01-99, X1, or X2 (tumor deposits identified), Derived Summary Stage 2018 must not = 0, 1, or 2 (in situ, local, or regional by direct extension only).]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-03-24" ref="68615">Edit created.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy