edits.seer.internal.rules.IFN4931.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="IFN4931" name="SSDI, DCO (NAACCR)" tag="N4931" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.typeOfReportingSource != '7') return true if (line.adenoidCysticBasaloidPattern != null && line.adenoidCysticBasaloidPattern != 'XXX.9') return false if (line.adenopathy != null && line.adenopathy != '9') return false if (line.afpPostOrchiectomyLabValue != null && line.afpPostOrchiectomyLabValue != 'XXXXX.9') return false if (line.afpPostOrchiectomyRange != null && line.afpPostOrchiectomyRange != '9') return false if (line.afpPreOrchiectomyLabValue != null && line.afpPreOrchiectomyLabValue != 'XXXXX.9') return false if (line.afpPreOrchiectomyRange != null && line.afpPreOrchiectomyRange != '9') return false if (line.afpPretreatmentInterpretation != null && line.afpPretreatmentInterpretation != '9') return false if (line.afpPretreatmentLabValue != null && line.afpPretreatmentLabValue != 'XXXX.9') return false if (line.alkRearrangement != null && line.alkRearrangement != '9') return false if (line.anemia != null && line.anemia != '9') return false if (line.bSymptoms != null && line.bSymptoms != '9') return false if (line.bilirubinPretxTotalLabValue != null && line.bilirubinPretxTotalLabValue != 'XXX.9') return false if (line.bilirubinPretxUnitOfMeasure != null && line.bilirubinPretxUnitOfMeasure != '9') return false if (line.boneInvasion != null && line.boneInvasion != '9') return false if (line.brafMutationalAnalysis != null && line.brafMutationalAnalysis != '9') return false if (line.brainMolecularMarkers != null && line.brainMolecularMarkers != '99') return false if (line.breslowTumorThickness != null && line.breslowTumorThickness != 'XX.9') return false if (line.ca199PretxLabValue != null && line.ca199PretxLabValue != 'XXXX.9') return false if (line.ca125PretreatmentInterpretation != null && line.ca125PretreatmentInterpretation != '9') return false if (line.ceaPretreatmentInterpretation != null && line.ceaPretreatmentInterpretation != '9') return false if (line.chromosome19qLossHeterozygosity != null && line.chromosome19qLossHeterozygosity != '9') return false if (line.chromosome1pLossHeterozygosity != null && line.chromosome1pLossHeterozygosity != '9') return false if (line.chromosome3Status != null && line.chromosome3Status != '9') return false if (line.chromosome8qStatus != null && line.chromosome8qStatus != '9') return false if (line.circumferentialResectionMargin != null && line.circumferentialResectionMargin != '9') return false if (line.clinicalMarginWidth != null && line.clinicalMarginWidth != 'XX.9') return false if (line.creatininePretreatmentLabValue != null && line.creatininePretreatmentLabValue != 'XX.9') return false if (line.creatininePretxUnitOfMeasure != null && line.creatininePretxUnitOfMeasure != '9') return false if (line.derivedRaiStage != null && line.derivedRaiStage != '9') return false if (line.egfrMutationalAnalysis != null && line.egfrMutationalAnalysis != '9') return false if (line.esophagusAndEgjTumorEpicenter != null && line.esophagusAndEgjTumorEpicenter != '9') return false if (line.estrogenReceptorPercntPosOrRange != null && line.estrogenReceptorPercntPosOrRange != 'XX9') return false if (line.estrogenReceptorSummary != null && line.estrogenReceptorSummary != '9') return false if (line.extranodalExtensionClin != null && line.extranodalExtensionClin != '9') return false if (line.extranodalExtensionHeadNeckClin != null && line.extranodalExtensionHeadNeckClin != '9') return false if (line.extranodalExtensionHeadNeckPath != null && line.extranodalExtensionHeadNeckPath != 'X.9') return false if (line.extranodalExtensionPath != null && line.extranodalExtensionPath != '9') return false if (line.extravascularMatrixPatterns != null && line.extravascularMatrixPatterns != '9') return false if (line.fibrosisScore != null && line.fibrosisScore != '9') return false if (line.figoStage != null && line.figoStage != '99') return false if (line.gestationalTrophoblasticPxIndex != null && line.gestationalTrophoblasticPxIndex != 'X9') return false if (line.gleasonPatternsClinical != null && line.gleasonPatternsClinical != 'X9') return false if (line.gleasonPatternsPathological != null && line.gleasonPatternsPathological != 'X9') return false if (line.gleasonScoreClinical != null && line.gleasonScoreClinical != 'X9') return false if (line.gleasonScorePathological != null && line.gleasonScorePathological != 'X9') return false if (line.gleasonTertiaryPattern != null && line.gleasonTertiaryPattern != 'X9') return false if (line.hcgPostOrchiectomyLabValue != null && line.hcgPostOrchiectomyLabValue != 'XXXXX.9') return false if (line.hcgPostOrchiectomyRange != null && line.hcgPostOrchiectomyRange != '9') return false if (line.hcgPreOrchiectomyLabValue != null && line.hcgPreOrchiectomyLabValue != 'XXXXX.9') return false if (line.hcgPreOrchiectomyRange != null && line.hcgPreOrchiectomyRange != '9') return false if (line.her2OverallSummary != null && line.her2OverallSummary != '9') return false if (line.heritableTrait != null && line.heritableTrait != '9') return false if (line.highRiskCytogenetics != null && line.highRiskCytogenetics != '9') return false if (line.highRiskHistologicFeatures != null && line.highRiskHistologicFeatures != '9') return false if (line.histologicSubtype != null && line.histologicSubtype != '0') return false if (line.hivStatus != null && line.hivStatus != '9') return false if (line.iNRProthrombinTime != null && line.iNRProthrombinTime != 'X.9') return false if (line.invasionBeyondCapsule != null && line.invasionBeyondCapsule != '9') return false if (line.ipsilateralAdrenalGlandInvolve != null && line.ipsilateralAdrenalGlandInvolve != '9') return false if (line.jak2 != null && line.jak2 != '9') return false if (line.ki67 != null && line.ki67 != 'XXX.9') return false if (line.kitGeneImmunohistochemistry != null && line.kitGeneImmunohistochemistry != '9') return false if (line.kras != null && line.kras != '9') return false if (line.ldhPostOrchiectomyRange != null && line.ldhPostOrchiectomyRange != '9') return false if (line.ldhPreOrchiectomyRange != null && line.ldhPreOrchiectomyRange != '9') return false if (line.ldhPretreatmentLabValue != null && line.ldhPretreatmentLabValue != 'XXXXX.9') return false if (line.ldhPretreatmentLevel != null && line.ldhPretreatmentLevel != '9') return false if (line.ldhUpperLimitsOfNormal != null && line.ldhUpperLimitsOfNormal != 'XX9') return false if (line.lnAssessMethodFemoralInguinal != null && line.lnAssessMethodFemoralInguinal != '9') return false if (line.lnAssessMethodParaaortic != null && line.lnAssessMethodParaaortic != '9') return false if (line.lnAssessMethodPelvic != null && line.lnAssessMethodPelvic != '9') return false if (line.lnDistantAssessMethod != null && line.lnDistantAssessMethod != '9') return false if (line.lnDistantMediastinalScalene != null && line.lnDistantMediastinalScalene != '9') return false if (line.lnHeadAndNeckLevels1To3 != null && line.lnHeadAndNeckLevels1To3 != '9') return false if (line.lnHeadAndNeckLevels4To5 != null && line.lnHeadAndNeckLevels4To5 != '9') return false if (line.lnHeadAndNeckLevels6To7 != null && line.lnHeadAndNeckLevels6To7 != '9') return false if (line.lnHeadAndNeckOther != null && line.lnHeadAndNeckOther != '9') return false if (line.lnIsolatedTumorCells != null && line.lnIsolatedTumorCells != '9') return false if (line.lnLaterality != null && line.lnLaterality != '9') return false if (line.lnPositiveAxillaryLevel1To2 != null && line.lnPositiveAxillaryLevel1To2 != '9') return false if (line.lnSize != null && line.lnSize != 'XX.9') return false if (line.lnStatusFemoralInguinal != null && line.lnStatusFemoralInguinal != '9') return false if (line.lnStatusParaAortic != null && line.lnStatusParaAortic != '9') return false if (line.lnStatusPelvic != null && line.lnStatusPelvic != '9') return false if (line.lymphocytosis != null && line.lymphocytosis != '9') return false if (line.majorVeinInvolvement != null && line.majorVeinInvolvement != '9') return false if (line.measuredBasalDiameter != null && line.measuredBasalDiameter != 'XX.9') return false if (line.measuredThickness != null && line.measuredThickness != 'XX.9') return false if (line.methylationOfO6MGMT != null && line.methylationOfO6MGMT != '9') return false if (line.microsatelliteInstability != null && line.microsatelliteInstability != '9') return false if (line.microvascularDensity != null && line.microvascularDensity != 'X9') return false if (line.mitoticCountUvealMelanoma != null && line.mitoticCountUvealMelanoma != 'XX.9') return false if (line.mitoticRateMelanoma != null && line.mitoticRateMelanoma != 'X9') return false if (line.multigeneSignatureMethod != null && line.multigeneSignatureMethod != '9') return false if (line.multigeneSignatureResults != null && line.multigeneSignatureResults != 'X9') return false if (line.nccnInternationalPrognosticIndex != null && line.nccnInternationalPrognosticIndex != 'X9') return false if (line.nrasMutationalAnalysis != null && line.nrasMutationalAnalysis != '9') return false if (line.numberOfCoresExamined != null && line.numberOfCoresExamined != 'X9') return false if (line.numberOfCoresPositive != null && line.numberOfCoresPositive != 'X9') return false if (line.numberOfExaminedParaAorticNodes != null && line.numberOfExaminedParaAorticNodes != 'X9') return false if (line.numberOfExaminedPelvicNodes != null && line.numberOfExaminedPelvicNodes != 'X9') return false if (line.numberOfPositiveParaAorticNodes != null && line.numberOfPositiveParaAorticNodes != 'X9') return false if (line.numberOfPositivePelvicNodes != null && line.numberOfPositivePelvicNodes != 'X9') return false if (line.oncotypeDxRecurrenceScoreDcis != null && line.oncotypeDxRecurrenceScoreDcis != 'XX9') return false if (line.oncotypeDxRecurrenceScoreInvasiv != null && line.oncotypeDxRecurrenceScoreInvasiv != 'XX9') return false if (line.oncotypeDxRiskLevelDcis != null && line.oncotypeDxRiskLevelDcis != '9') return false if (line.oncotypeDxRiskLevelInvasive != null && line.oncotypeDxRiskLevelInvasive != '9') return false if (line.organomegaly != null && line.organomegaly != '9') return false if (line.p16 != null && line.p16 != '9') return false if (line.percentNecrosisPostNeoadjuvant != null && line.percentNecrosisPostNeoadjuvant != 'XXX.9') return false if (line.perineuralInvasion != null && line.perineuralInvasion != '9') return false if (line.peripheralBloodInvolvement != null && line.peripheralBloodInvolvement != '9') return false if (line.peritonealCytology != null && line.peritonealCytology != '9') return false if (line.pleuralEffusion != null && line.pleuralEffusion != '9') return false if (line.profoundImmuneSuppression != null && line.profoundImmuneSuppression != '9') return false if (line.progesteroneRecepPrcntPosOrRange != null && line.progesteroneRecepPrcntPosOrRange != 'XX9') return false if (line.progesteroneRecepSummary != null && line.progesteroneRecepSummary != '9') return false if (line.psaLabValue != null && line.psaLabValue != 'XXX.9') return false if (line.residualTumVolPostCytoreduction != null && line.residualTumVolPostCytoreduction != '99') return false if (line.responseToNeoadjuvantTherapy != null && line.responseToNeoadjuvantTherapy != '9') return false if (line.sCategoryClinical != null && line.sCategoryClinical != '9') return false if (line.sCategoryPathological != null && line.sCategoryPathological != '9') return false if (line.sarcomatoidFeatures != null && line.sarcomatoidFeatures != 'XX9') return false if (line.seerSiteSpecificFact1 != null && line.seerSiteSpecificFact1 != '99') return false if (line.separateTumorNodules != null && line.separateTumorNodules != '9') return false if (line.serumAlbuminPretreatmentLevel != null && line.serumAlbuminPretreatmentLevel != '9') return false if (line.serumBeta2MicroglobulinPretxLvl != null && line.serumBeta2MicroglobulinPretxLvl != '9') return false if (line.thrombocytopenia != null && line.thrombocytopenia != '9') return false if (line.tumorDeposits != null && line.tumorDeposits != 'X9') return false if (line.ulceration != null && line.ulceration != '9') return false if (line.visceralParietalPleuralInvasion != null && line.visceralParietalPleuralInvasion != '9') return false if (line.brainPrimaryTumorLocation != null && line.brainPrimaryTumorLocation != '9') return false return true]]></expression> <message>SSDI fields conflict for DCO</message> <description><![CDATA[This edit verifies that the Site-Specific Data Items are blank for Death Certificate Only cases (Type of Reporting Source = 7). This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank. c.Type of Reporting Source is not 7 Each SSDI must be blank or coded not applicable or unknown.]]></description> <history> <event version="SE18-018-05" user="kirbyk" date="2018-08-16" ref="68014">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-29" ref="67027">Moved fields from a context list to the expression.</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="68470">Added new SSDI fields from NAACCR 21.</event> <event version="SE21-021-03" user="beverung" date="2021-03-04" ref="68575">Allow not applicable or unknown.</event> <event version="SE23-023-01" user="shearerw" date="2023-02-07" ref="69135">Disallow not applicable. Add seven new SSDI fields.</event> <event version="SE23-023-11" user="beverung" date="2024-01-30" ref="69380">Removed logic for non-required fields.</event> <event version="SE24-024-01" user="beverung" date="2024-02-13" ref="69383">Remove logic for LN Status Femoral-Inguinal, Para-aortic, Pelvic.</event> <event version="SE24-024-03" user="cooki" date="2024-03-21" ref="69423">Added logic for Brain Primary Tumor Location.</event> <event version="SE24-024-04" user="beverung" date="2024-04-12" ref="69451">Update SEER Site Specific Factor 1 logic to check for 99 instead of 9.</event> </history> </rule>