edits.seer.internal.rules.IFN6664.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="IFN6664" name="AFP Pre-Orchiectomy Range, Schema ID, Required (SEER)" tag="N6664" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || line.schemaId == null || line.typeOfReportingSource == '7') return true if (line.dateOfDiagnosisYear < '2023' && line.registryId == '0000001565') return true return line.schemaId != '00590' || (line.afpPreOrchiectomyRange != null && line.afpPreOrchiectomyRange != '8')]]></expression> <message>AFP Pre-Orchiectomy Range must be reported for diagnosis date 2022+</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Diagnosis date before 2022, blank (unknown), or invalid b. Schema ID is blank c. Type of Reporting Source = 7 (Death Certificate Only) d. Registry ID = 0000001565 (Illinois) and Year of Diagnosis < 2023 Prior to 2022 SEER only required this SSDI for analytic cases from COC facility. 2. This edit verifies that AFP Pre-Orchiectomy Range is not "8" (not applicable)and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00590: Testis]]></description> <history> <event version="SE22-022-06" user="beverung" date="2022-05-26" ref="68941">Edit created.</event> <event version="SE24-024-01" user="shearerw" date="2024-03-04" ref="69401">Add skip condition for IL before 2023.</event> </history> </rule>