edits.seer.internal.rules.IFN6879.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="IFN6879" name="EOD Prostate Pathologic Extension, RX Summ--Treatment Status (SEER)" tag="N6879" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId == null || line.schemaId != '00580' || line.rxSummTreatmentStatus == null || line.prostatePathologicalExtension == null || line.typeOfReportingSource == '7') return true if (line.rxSummTreatmentStatus == '2') return line.prostatePathologicalExtension == '900' || line.prostatePathologicalExtension == '950' return true]]></expression> <message>Conflict between RX Summ--Treatment Status and EOD Prostate Pathologic Extension</message> <description><![CDATA[This edit verifies that EOD Prostate Pathologic Extension is coded consistently with RX Summ--Treatment Status for Schema ID 00580, Prostate. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2023, blank (unknown), or invalid. b. Schema ID is blank or not 00580 c. EOD Prostate Pathologic Extension is blank d. RX Summ--Treatment Status is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If RX Summ--Treatment Status = 2 (Active surveillance) EOD Prostate Pathologic Extension must = 900 (no prostatectomy performed) or 950 (Radical prostatectomy performed but not first course of treatment)]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-15" ref="69242">Edit Created.</event> </history> </rule>