edits.seer.internal.rules.IFN6227.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="IFN6227" name="EOD Primary Tumor, Ovary, Laterality (SEER)" tag="N6227" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.eodPrimaryTumor == null || line.laterality == null) return true if (line.typeOfReportingSource == '7' || line.schemaId == null || line.schemaId != '00551') return true return line.laterality != '4' || line.eodPrimaryTumor != '100']]></expression> <message>EOD Primary Tumor conflicts with Laterality</message> <description><![CDATA[This edit verifies that EOD Primary Tumor codes 100 and 150 are coded consistently with Laterality for Schema ID 00551, Ovary. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00551 c. EOD Primary Tumor is blank d. Laterality is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If Laterality = 4 EOD Primary Tumor must not = 100 (limited to one ovary)]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">Edit created.</event> <event version="SE24-024-06" user="shearerw" date="2024-06-24" ref="69475">Remove logic for when EOD Primary Tumor is 150.</event> </history> </rule>