edits.seer.internal.rules.IFN7084.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="IFN7084" name="SEER SSF1, Schema Discriminator 2, Head and Neck (SEER)" tag="N7084" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.primarySite == null || line.histologicTypeIcdO3 == null || (line.schemaId != '00100' && line.schemaId != '00111') || line.schemaDiscriminator2 == null || line.typeOfReportingSource == '7') return true if (line.seerSiteSpecificFact1 == '10') return line.schemaDiscriminator2 == '1' if (line.seerSiteSpecificFact1 == '11') return line.schemaDiscriminator2 == '2' return true]]></expression> <message>Conflict between SEER Site-Specific Fact 1 and Schema Discriminator 2</message> <description><![CDATA[This edit checks coding consistency among SEER Site-Specific Factor 1, p16, and Schema Discriminator 2 for primary sites of Head and Neck. 1. The edit is skipped for the following; a. Date of diagnosis blank (unknown), invalid, or before 2024 b. Primary Site is blank c. Histologic Type ICD-O-3 is blank d. Schema ID is not 00100 or 00111 d. Schema Discriminator 2 is blank e. Type of Reporting Source = 7 (death certificate only) 2. If SEER SSF1 = 10 (HPV negative by p16 test) Schema Discriminator 2 must = 1 (p16 negative, nonreactive) 3. If SEER SSF1 = 11 (HPV positive by p16 test) Schema Discriminator 2 must = 2 (p16 positive, HPV positive)]]></description> <history> <event version="SE24-024-06" user="cooki" date="2024-07-23" ref="69505">Edit Created.</event> </history> </rule>