
edits.seer.internal.rules.IFN6736.xml Maven / Gradle / Ivy
<rule id="IFN6736" name="Clinical Margin Width, Surg Prim Site 2023 (NAACCR)" tag="N6736" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId != '00470' || line.clinicalMarginWidth == null || line.rxSummSurgPrimSite2023 == null || line.typeOfReportingSource == '7') return true if (Functions.matches(line.rxSummSurgPrimSite2023, /^B([0-2]\d\d|3[0-1]\d|320|600|900|990)$/)) return line.clinicalMarginWidth == 'XX.9' if (Functions.matches(line.clinicalMarginWidth, /^(0\.[1-9]|[1-9]\.\d|XX\.1)$/)) return Functions.matches(line.rxSummSurgPrimSite2023, /^B(5[0-3]\d|540)$/) return true]]></expression> <message>Clinical Margin Width must be coded for wide excision only</message> <description><![CDATA[This edit verifies consistency of coding between Clinical Margin Width SSDI and RX Summ--Surg Prim Site 2023. This edit is skipped for any of the following conditions: 1. Diagnosis date blank (unknown), invalid, or before 2023. 2. Schema ID is not 00470. 3. Clinical Margin Width is blank 4. RX Summ--Surg Prim Site 2023 is blank. 5. Type of Reporting Source = 7 (Death Certificate Only) A. If RX Summ--Surg Prim Site 2023 = B000-B320, B600, B900, or B990 (no surgery, surgery other than wide excision, or unknown),Clinical Margin Width must = XX.9. B. If Clinical Margin Width = 0.1-9.9 or XX.1, RX Summ--Surg Prim Site 2023 must = B500-B540 (wide excision)]]></description> <history> <event version="SE23-023-02" user="cooki" date="2023-05-10" ref="69224">Edit created.</event> </history> </rule>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy