edits.seer.internal.rules.IFN6838.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="IFN6838" name="hCG Pre/Post Treatment Range, Testis (NAACCR)" tag="N6838" 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.hcgPreOrchiectomyRange == null || line.hcgPreOrchiectomyRange == '8' || line.hcgPostOrchiectomyRange == null || line.hcgPostOrchiectomyRange == '8') return true if (line.hcgPostOrchiectomyRange == '5') return line.hcgPreOrchiectomyRange == '0' return true]]></expression> <message>Conflict between hCG Post-Orchiectomy Range and hCG Pre-Orchiectomy Range</message> <description><![CDATA[This edit verifies that hCG Pre-Orchiectomy Range and hCG 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. hCG Pre-Orchiectomy Range or hCG Post-Orchiectomy Range is blank or not applicable d. Type of Reporting Source is 7 (Death Certificate Only) 2. If hCG Post-Orchiectomy Range = 5 (Post-Orchiectomy not done or unknown but Pre-Orchiectomy within normal limits) hCG 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>