edits.seer.internal.rules.IFN6062.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="IFN6062" name="Separate Tumor Nodules, Lung, Summary Stage 2018 (NAACCR)" tag="N6062" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.schemaId != '00360' || line.typeOfReportingSource == '7') return true String separateTumorNodules = line.separateTumorNodules if (separateTumorNodules == null || separateTumorNodules == '8') return true if (separateTumorNodules == '1' || separateTumorNodules == '4') return !Functions.matches(line.summaryStage2018, /^[013]$/) else if (separateTumorNodules == '2' || separateTumorNodules == '3') return line.summaryStage2018 == '7' return true]]></expression> <message>Separate Tumor Nodules conflicts with Summary Stage 2018.</message> <description><![CDATA[This edit verifies that Separate Tumor Nodules SSDI is coded consistently with Summary Stage 2018 for Lung. 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid b. Schema ID is not 00360 c. Separate Tumor Nodules is blank or 8 (not applicable) d. Summary Stage 2018 is blank e. Type of Reporting Source = 7 2. If Separate Tumor Nodules = 1 (separate nodules in ipsilateral lung, same lobe) or 4 (separate nodules in ipsilateral lung, unknown lobe), Summary Stage 2018 must not = 0, 1, or 3 (in situ, local, regional by nodal involvement only) 3. If Separate Tumor Nodules = 2 or 3 (separate nodules in ipsilateral lung, different lobe), Summary Stage 2018 must = 7 (metastasis)]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-12" ref="68150">Edit created.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy