edits.seer.internal.rules.IFN6130.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="IFN6130" name="Tumor Size 999, Schema ID, Primary Site (SEER)" tag="N6130" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear > '2023' || line.schemaId == null) return true if (line.primarySite == null || line.primarySite == 'C422') return true if (((List)Context.IFN_6130_SchemaId_List).contains(line.schemaId) || Functions.matches(line.primarySite, /^C(42[0134]|77\d|809)$/)) return ((line.tumorSizeSummary == '999' || line.tumorSizeSummary == null) && (line.tumorSizeClinical == '999' || line.tumorSizeClinical == null) && (line.tumorSizePathologic == '999' || line.tumorSizePathologic == null)) return true]]></expression> <message>Tumor Size conflicts with Schema Id and Behavior Code ICD-O-3.</message> <description><![CDATA[1. This edit is skipped for any of the following: a. if Diagnosis date < 2018, > 2023, empty (unknown), or in error. b. Schema ID is blank c. Primary Site is blank or C422 2. Tumor Size Summary, Tumor Size Clinical, and Tumor Size Pathologic must be 999 or blank if Schema ID = 00458 - Kaposi Sarcoma 00671 - Melanoma Iris 00672 - Melanoma Choroid and Ciliary Body 00790 - Lymphoma 00795 - Lymphoma-CLL/SLL 00821 - Plasma Cell Myeloma 00822 - Plasma Cell Disorders 00830 - HemeRetic Any with Primary Site code = C420, C421, C423, C424, C770-C779, C809]]></description> <history> <event version="SE18-019-07" user="beverung" date="2019-10-18" ref="68263">Edit created.</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-02" user="beverung" date="2020-03-30" ref="68330">Removed histology skip conditions.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-04" ref="68475">Added skip conditions; added conditions for Primary Site.</event> <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event> <event version="SE23-023-02" user="cooki" date="2023-04-25" ref="69248">Updated skip condition to pre-2018.</event> <event version="SE24-024-01" user="cooki" date="2024-03-08" ref="69397">Added 2024 skip condition.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy