edits.seer.internal.rules.IFN6882.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="IFN6882" name="Fibrosis Score, Schema ID, Required (SEER)" tag="N6882" 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 != '00220' && line.schemaId != '00230') || (line.fibrosisScore != null && line.fibrosisScore != '8')]]></expression> <message>Fibrosis Score 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) Fibrosis Score is required by SEER from all reporting sources 2023+ 2. This edit verifies that Fibrosis Score 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: 00220: Liver 00230: Intrahepatic Bile Ducts ]]></description> <history> <event version="SE23-023-02" user="cooki" date="2023-05-03" ref="69237">Edit created.</event> </history> </rule>