edits.seer.internal.rules.IFN6240.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="IFN6240" name="CA 19-9 PreTX Lab Value, Schema ID, Required (NAACCR)" tag="N6240" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if (line.registryId == '0000001565' && ['2021','2022'].contains(line.dateOfDiagnosisYear)) return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear == '2021') return true if (line.schemaId == '00280') return line.ca199PretxLabValue != null && line.ca199PretxLabValue != 'XXXX.8' return true]]></expression> <message>CA 19-9 PreTX Lab Value must not be blank or not applicable for Schema ID case diagnosed 2021 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2021, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) d. Registry ID is 0000001565 (Illinois) and Year of Date of Diagnosis is 2021 or 2022. e. Registry ID is 0000001566 (Texas) and Year of Date of Diagnosis is 2021 2. This edit verifies that CA 19-9 PreTX Lab Value is not "XXXX.8" (not applicable) and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00280: Pancreas ]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-03-17" ref="68604">Edit created.</event> <event version="SE21-021-06" user="kirbyk" date="2021-06-02" ref="68675">Fixing edit for schema IDs not = 00280.</event> <event version="SE22-022-06" user="beverung" date="2022-06-13" ref="69006">Add skip conditions for IL and TX.</event> </history> </rule>