edits.seer.internal.rules.IFN3058.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="IFN3058" name="Residual Tumor Volume Post Cytoreduction, Gynecologic, Surg Prim Site 03-2022 (NAACCR)" tag="N3058" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.dateOfDiagnosisYear > '2022' || !Functions.matches(line.schemaId, /^0055[123]$/) || line.rxSummSurgPrimSite == null || line.typeOfReportingSource == '7') return true if (line.residualTumVolPostCytoreduction == null || line.residualTumVolPostCytoreduction == '98') return true boolean schemaConditions = (Functions.matches(line.rxSummSurgPrimSite, /^[1-4]\d|5[0-7]$/) && line.schemaId == '00551') || (Functions.matches(line.rxSummSurgPrimSite, /^[1-3]\d|4[01]$/) && (line.schemaId == '00552' || line.schemaId == '00553')) if (line.rxSummSurgPrimSite == '00' || schemaConditions) return line.residualTumVolPostCytoreduction == '97' if (line.rxSummSurgPrimSite == '99') return line.residualTumVolPostCytoreduction == '99' return true]]></expression> <message>Residual Tumor Volume Post Cytoreduction conflicts with RX Summ--Surg Prim Site</message> <description><![CDATA[This edit verifies that the Residual Tumor Volume Post Cytoreduction SSDI is coded consistently with RX Summ--Surg Prim Site 03-2022. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019 or after 2022, blank (unknown), or invalid. b. Schema ID is not 00551, 00552, or 00553 c. Residual Tumor Volume Post Cytoreduction is blank or 98 (not applicable). d. RX Summ-Surg Prim Site 03-2022 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If RX Summ--Surg Prim Site 03-2022 = 00 (no surgery of primary site) or 10-57 for 00551 (ovary), 10-41 for 00552 (primary peritoneum) and 00553 (fallopian tube)(less than cytoreductive surgery), then the data item must be coded 97 (no cytoreductive surgery). 3. If RX Summ-Surg Prim Site 03-2022 = 99 (unknown if surgery performed) then Residual Tumor Volume Post Cytoreduction must be coded 99 (residual tumor status after cytoreductive surgery not assessed or unknown if assessed)]]></description> <history> <event version="SE21-021-01" user="kirbyk" date="2021-01-11" ref="68486">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-01-20" ref="69091">Name changed and added skip conditions.</event> <event version="SE24-024-01" user="cooki" date="2024-02-05" ref="69367">Added condition #3.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy