edits.seer.internal.rules.IFN3958.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="IFN3958" name="Separate Tumor Nodules, Lung, EOD Primary Tumor (SEER)" tag="N3958" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00360' || line.eodPrimaryTumor == null) return true String separateTumorNodules = line.separateTumorNodules if (separateTumorNodules == null || separateTumorNodules == '8') return true if (separateTumorNodules == '1' || separateTumorNodules == '4') return Functions.matches(line.eodPrimaryTumor, /^[56]\d\d|700|999$/) else if (separateTumorNodules == '2' || separateTumorNodules == '3') return line.eodPrimaryTumor == '700' return true]]></expression> <message>Separate Tumor Nodules conflicts with EOD Primary Tumor.</message> <description><![CDATA[This edit verifies that Separate Tumor Nodules SSDI is coded consistently with EOD Primary Tumor 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. EOD Primary Tumor is blank 2. If Separate Tumor Nodules = 1 (separate nodules in ipsilateral lung, same lobe) or 4 (separate nodules in ipsilateral lung, unknown lobe), EOD Primary Tumor must = 500-700 (separate tumor nodules in same lobe or higher) or 999 (unknown extension). 3. If Separate Tumor Nodules = 2 or 3 (separate nodules in ipsilateral lung, different lobe), EOD Primary Tumor must = 700 (separate tumor nodules in different ipsilateral lobe).]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-13" ref="68147">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy