edits.seer.internal.rules.IFN3053.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="IFN3053" name="Invasion Beyond Capsule, Kidney, EOD Primary Tumor (SEER)" tag="N3053" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00600' || line.eodPrimaryTumor == null) return true String invasionBeyondCapsule = line.invasionBeyondCapsule if (invasionBeyondCapsule == null || invasionBeyondCapsule == '8') return true if (Functions.matches(invasionBeyondCapsule, /^[13-5]$/)) return Functions.matches(line.eodPrimaryTumor, /^[2-6]\d\d|700|999$/) return true]]></expression> <message>Invasion Beyond Capsule conflicts with EOD Primary Tumor.</message> <description><![CDATA[Purpose: This edit verifies that Invasion Beyond Capsule SSDI is coded consistently with EOD Primary Tumor. 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 00600 c. Invasion Beyond Capsule is blank or 8 (not applicable) d. EOD Primary Tumor is blank 2. If Invasion Beyond Capsule = 1,3-5 (invasion beyond capsule), then EOD Primary Tumor must = 200-700 (involvement of perinephric tissue or higher) or 999 (unknown extension)]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-13" ref="68147">Edit created.</event> </history> </rule>