edits.seer.internal.rules.IFN6839.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.
The newest version!
<rule id="IFN6839" name="LDH Pre/Post Treatment Range, Testis (NAACCR)" tag="N6839" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.schemaId != '00590' || line.typeOfReportingSource == '7') return true if (line.ldhPreOrchiectomyRange == null || line.ldhPreOrchiectomyRange == '8' || line.ldhPostOrchiectomyRange == null || line.ldhPostOrchiectomyRange == '8') return true if (line.ldhPostOrchiectomyRange == '5') return line.ldhPreOrchiectomyRange == '0' return true]]></expression> <message>Conflict between LDH Post-Orchiectomy Range and LDH Pre-Orchiectomy Range</message> <description><![CDATA[This edit verifies that LDH Pre-Orchiectomy Range and LDH Post- Treatment Orchiectomy Range SSDIs are coded consistently with each other for Schema ID 00590, Testis. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00590 c. LDH Pre-Orchiectomy Range or LDH Post-Orchiectomy Range is blank or not applicable d. Type of Reporting Source is 7 (Death Certificate Only) 2. If LDH Post-Orchiectomy Range = 5 (Post-Orchiectomy not done or unknown but Pre-Orchiectomy within normal limits) LDH Pre-Orchiectomy Range must = 0 (within normal limits)]]></description> <history> <event version="SE23-023-04" user="shearerw" date="2023-06-09" ref="69229">Edit Created.</event> </history> </rule>