![JAR search and dependency download from the Maven repository](/logo.png)
edits.seer.internal.rules.IFN6764.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="IFN6764" name="Residual Tumor Volume Post Cytoreduction, Gynecologic, Surg Prim Site 2023 (NAACCR)" tag="N6764" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || !Functions.matches(line.schemaId, /^0055[123]$/) || line.rxSummSurgPrimSite2023 == null || line.typeOfReportingSource == '7') return true if (line.residualTumVolPostCytoreduction == null || line.residualTumVolPostCytoreduction == '98') return true boolean schemaConditions = (Functions.matches(line.rxSummSurgPrimSite2023, /^A[1-4]\d\d|A5[0-6]\d|A570$/) && line.schemaId == '00551') || (Functions.matches(line.rxSummSurgPrimSite2023, /^A[1-3]\d\d|A40\d|A410$/) && (line.schemaId == '00552' || line.schemaId == '00553')) if (line.rxSummSurgPrimSite2023 == 'A000' || schemaConditions) return line.residualTumVolPostCytoreduction == '97' if (line.rxSummSurgPrimSite2023 == 'A990') return line.residualTumVolPostCytoreduction == '99' return true]]></expression> <message>Conflict between RX Summ--Surg Prim Site 2023 and Residual Tumor Volume Post Cytoreduction</message> <description><![CDATA[This edit verifies that the Residual Tumor Volume Post Cytoreduction SSDI is coded consistently with RX Summ--Surg Prim Site 2023. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2023, 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 2023 is blank e. Type of Reporting Source = 7 (Death Certificate Only) 2. If RX Summ--Surg Prim Site 2023 = A000 (no surgery of primary site) or A100-A570 for 00551 (ovary), A100-A410 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 2023 = A990 (unknown if surgery performed) then Residual Tumor Volume Post Cytoreduction must be coded 99 (Unknown if surgery performed)]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-22" ref="69233">Edit created.</event> <event version="SE24-024-01" user="cooki" date="2024-02-06" ref="69368">Added condition #3 for code 99.</event> </history> </rule>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy