edits.seer.internal.rules.IFN3971.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="IFN3971" name="Sentinel Lymph Nodes Pos/Ex, Schema ID, Date DX (SEER)" tag="N3971" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') return true if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023') return true if (line.dateOfDiagnosisYear < '2018') return line.sentinelLymphNodesExamined == null && line.sentinelLymphNodesPositive == null if (line.schemaId == '00470' || line.schemaId == '00480') return line.sentinelLymphNodesExamined != null && line.sentinelLymphNodesPositive != null return true]]></expression> <message>Sentinel Lymph Nodes Examined and Sentinel Lymph Nodes Positive, Date Dx, Schema conflict</message> <description><![CDATA[This edit checks that Sentinel Lymph Nodes data items are recorded for diagnoses 1/1/2018 and later for Melanoma of Skin and Breast cases (Schema IDs 00470 and 00480). The edit is skipped for any of the following conditions: a. Date of Diagnosis is blank (unknown) or invalid. b. Registry ID = 0000001565 (Illinois) and Year of Diagnosis = 2018-2022 c. Registry ID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021 1. If the year of Date of Diagnosis is before 2018, then Sentinel Lymph Nodes Examined and Sentinel Lymph Nodes Positive must be blank. 2. If the year of Date of Diagnosis is 2018 or later Sentinel Lymph Nodes Examined and Sentinel Lymph Nodes Positive must be reported for Melanoma of Skin (Schema ID 00470) and Breast (Schema ID 00480).]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-24" ref="67931">Edit created.</event> <event version="SE18-018-05" user="kirbyk" date="2018-08-14" ref="67990">Changed edit error message.</event> <event version="SE21-021-11" user="beverung" date="2021-12-22" ref="68766">Added skip condition for IL and TX for DX Year 2018-2019.</event> <event version="SE22-022-03" user="secristc" date="2022-04-22" ref="68959">Changed skip condition for IL to DX Years 2018-2022, TX to 2018-2021.</event> </history> </rule>