edits.seer.internal.rules.IFN6313.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="IFN6313" name="Summary Stage 2018, Plasma Cell Disorders, Histology (NAACCR)" tag="N6313" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if (line.schemaId == null || line.schemaId != '00822' || line.histologicTypeIcdO3 == null) return true if (line.histologicTypeIcdO3 == '9731') return ['1','9'].contains(line.summaryStage2018) else if (line.histologicTypeIcdO3 == '9734') return ['1','3','9'].contains(line.summaryStage2018) else if (line.histologicTypeIcdO3 == '9671' || line.histologicTypeIcdO3 == '9761') return line.summaryStage2018 == '7' return true]]></expression> <message>Summary Stage 2018 not valid for Histologic Type ICD-O-3</message> <description><![CDATA[This edit verifies that Summary Stage 2018 is coded correctly by histology for Schema ID 00822, Plasma Cell Disorder 1. This edit is skipped for any of the following conditions: a. Diagnosis date is pre-2018, blank (unknown), or invalid b. Schema ID is blank or not 00822 c. Histologic Type ICD-O-3 is blank d. Summary Stage 2018 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If Histologic Type ICD-O-3 = 9731 (Plasmacytoma NOS), Summary Stage 2018 must = 1 or 9 3. If Histologic Type ICD-O-3 = 9734 (Plasmacytoma Extramedullary, Summary Stage 2018 must = 1, 3, or 9 4. If Histologic Type ICD-O-3 = 9671 (Lymphoplasmacytic Lymphoma) or 9761 (Waldenstrom Macroglobulinemia), Summary Stage 2018 must = 7]]></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="69160">Add skip condition for when Type of Reporting Source is DCO. Add logic for Histologic type 9761.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy