edits.seer.internal.rules.IFN6884.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="IFN6884" name="Gleason Score Pathological, Schema ID, Required (SEER)" tag="N6884" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId == null || line.typeOfReportingSource == '7') return true return line.schemaId != '00580' || (line.gleasonScorePathological != null && line.gleasonScorePathological != 'X8')]]></expression> <message>Gleason Score Pathological must not be blank or not applicable for Schema ID cases diagnosed 2023 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Diagnosis date before 2023, blank (unknown), or invalid b. Schema ID is blank c. Type of Reporting Source = 7 (death certificate only) Gleason Score Pathological is required by SEER from all reporting sources 2023+. 2. This edit verifies that Gleason Score Pathological is not "X8" (not applicable) and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00580: Prostate ]]></description> <history> <event version="SE23-023-02" user="cooki" date="2023-05-03" ref="69237">Edit created.</event> </history> </rule>