edits.seer.internal.rules.IFN6772.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="IFN6772" name="RX Summ--Surg Prim Site 2023, Diag Conf (SEER)" tag="N6772" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.overRideSurgDxconf == '1' || line.rxSummSurgPrimSite2023 == null || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023') return true if (Functions.matches(line.rxSummSurgPrimSite2023, /^(A[2-8]\d\d|A900|B[2-8]\d\d|B900)$/) && !(line.diagnosticConfirmation ==~/^[1234]$/)) return false return true]]></expression> <message>RX Summ--Surg Prim Site 2023 should have Diagnostic Confirmation = 1-4, microscopic confirmation</message> <description><![CDATA[This edit is skipped if RX Summ--Surg Prim Site is blank. This edit is skipped if diagnosis blank (unknown), invalid, or before 2023. If the case was previously reviewed and accepted as coded (Over-ride Surg/Dx Conf = 1) no further checking is performed. For anyone with RX Summ--Surg Prim Site 2023 = A200-A900 or B200-B900, the diagnosis should be histologically confirmed (Diagnostic Confirmation 1-4). Additional Information: If the patient had a surgical procedure, most likely there was a microscopic examination of the cancer. This edit forces review of cases with a surgical procedure coded in the RX Summ--Surg Prim Site field but not a microscopic confirmation code in Diagnostic Confirmation. Verify the surgery and diagnostic confirmation codes, and correct any errors. Correction of errors may require inspection of the abstracted text, either online or as recorded on a paper abstract. Review of the original medical record may be necessary. Sometimes there are valid reasons why no microscopic confirmation is achieved with surgery, for example, the tissue removed may be inadequate for evaluation. If upon review, the items are correct as coded, an over-ride flag may be set so that the case will not be considered in error when the edit is run again. Enter a 1 in the field Over-ride Surg/DxConf to indicate that the coding is correct.]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-22" ref="69233">Edit created.</event> <event version="SE24-024-04" user="kirbyk" date="2024-04-16" ref="69326">Removed edit dependencies.</event> </history> </rule>