edits.seer.internal.rules.IFN7038.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="IFN7038" name="S Category Clin/Path, Testis (NAACCR)" tag="N7038" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if (line.schemaId == null || line.schemaId != '00590') return true if (line.sCategoryClinical == null || line.sCategoryPathological == null) return true if (line.sCategoryPathological == '5') return line.sCategoryClinical == '0' return true ]]></expression> <message>Conflict between S Category Clinical and S Category Pathological</message> <description><![CDATA[This edit verifies that S Category Clinical and S Category Pathological 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. S Category Clinical or S Category Pathological is blank d. Type of Reporting Source is 7 (Death Certificate Only) 2. If S Category Pathological = 5 (Post-Orchiectomy serum tumor markers not done or unknown but Pre-Orchiectomy serum tumor markers within normal limits) S Category Clinical must = 0 (within normal limits) ]]></description> <history> <event version="SE24-024-03" user="beverung" date="2024-03-12" ref="69438">Edit created.</event> </history> </rule>