edits.seer.internal.rules.IFN6771.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="IFN6771" name="RX Summ--Surg Prim Site 2023, DateDX, RPTSRC (SEER)" tag="N6771" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2023') return line.rxSummSurgPrimSite2023 == null if (line.typeOfReportingSource == '6') return line.rxSummSurgPrimSite2023 == 'A980' || line.rxSummSurgPrimSite2023 == 'A000' || line.rxSummSurgPrimSite2023 == 'B000' if (line.typeOfReportingSource == '7') return line.rxSummSurgPrimSite2023 == 'A980' || line.rxSummSurgPrimSite2023 == 'A990' || line.rxSummSurgPrimSite2023 == 'B990' return line.rxSummSurgPrimSite2023 != null]]></expression> <message>Type of Reporting Source conflicts with RX Summ--Surg Prim Site 2023</message> <description><![CDATA[The edit is skipped if Year of Diagnosis [390] is blank (unknown) or invalid. A. This data item must be blank for cases diagnosed before 2023. B. If Type of Reporting Source = 6 (Autopsy Only), RX Summ--Surg Prim Site 2023 must = A980 or A000 or B000 C. if Type of Reporting Source = 7 (Death Certificate Only), RX Summ--Surg Prim Site 2023 must = A980 or A990 or B990 D. For all other values of Type of Reporting Source, RX Summ--Surg Prim Site 2023 cannot be blank.]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-22" ref="69233">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy