edits.seer.internal.rules.IFN6310.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="IFN6310" name="Summary Stage 2018, Lymphoma, Primary Site (NAACCR)" tag="N6310" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if (line.schemaId == null || !['00790','00795'].contains(line.schemaId) || line.primarySite == null) return true if (line.primarySite == 'C421') return line.summaryStage2018 == '7' else if (line.primarySite == 'C778') return ['2','7','9'].contains(line.summaryStage2018) return true]]></expression> <message>Summary Stage 2018 not valid for Primary Site</message> <description><![CDATA[This edit verifies that Summary Stage 2018 is coded correctly for Primary Sites C421 and C778 for Schema IDs 00790, Lymphoma and 00795, Lymphoma CLL/SLL 1. This edit is skipped for any of the following conditions: a. Diagnosis date is pre-2021, blank (unknown), or invalid b. Schema ID is blank or not 00790 or 00795 c. Primary Site is blank d. Summary Stage 2018 is blank e. Type of Reporting Source = 7 (DCO) 2. If Primary Site = C421, Summary Stage 2018 must = 7 3. If Primary Site = C778, Summary Stage 2018 must = 2, 7, or 9]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-04-26" ref="68614">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-02-15" ref="69159">Add skip condition for when Type of Reporting Source is DCO</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy