edits.seer.internal.rules.IFN3990.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="IFN3990" name="SSDI for Breast, Blank for Other Schemas (NAACCR)" tag="N3990" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.schemaId == '00480') return true if (line.dateOfDiagnosisYear < '2021' && (line.ki67 != null || line.her2OverallSummary != null)) return false boolean isEstrogenBlank = line.estrogenReceptorPercntPosOrRange == null && line.estrogenReceptorSummary == null boolean isMultigeneBlank = line.multigeneSignatureMethod == null && line.multigeneSignatureResults == null boolean isOncBlank = line.oncotypeDxRecurrenceScoreDcis == null && line.oncotypeDxRecurrenceScoreInvasiv == null && line.oncotypeDxRiskLevelDcis == null && line.oncotypeDxRiskLevelInvasive == null boolean isProgBlank = line.progesteroneRecepPrcntPosOrRange == null && line.progesteroneRecepSummary == null boolean isOthersBlank = line.lnPositiveAxillaryLevel1To2 == null && line.responseToNeoadjuvantTherapy == null return isEstrogenBlank && isMultigeneBlank && isOncBlank && isProgBlank && isOthersBlank]]></expression> <message>Conflict between schema and coded SSDI items for Breast</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Breast (Schema ID 00480) are blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank or 00480. If Schema ID is not 00480 (Breast), the following Site-Specific Data Items must be blank: Estrogen Receptor Percent Positive or Range Estrogen Receptor Summary LN Positive Axillary Level I-II Multigene Signature Method Multigene Signature Results Oncotype Dx Recurrence Score-DCIS Oncotype Dx Recurrence Score-Invasive Oncotype Dx Risk Level-DCIS Oncotype Dx Risk Level-Invasive Progesterone Receptor Percent Positive or Range Progesterone Receptor Summary Response to Neoadjuvant Therapy If Schema ID is not 00480 (Breast), the following SSDI must be blank for diagnosis date 2018-2020. HER2 Overall Summary Ki-67 ]]></description> <history> <event version="SE18-018-04" user="schadega" date="2018-08-02" ref="67859">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-05" ref="68465">Updated edit for 2021 cases.</event> <event version="SE23-023-11" user="beverung" date="2024-01-30" ref="69380">Removed logic for non-required fields.</event> </history> </rule>