edits.seer.internal.rules.IFN3960.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="IFN3960" name="Tumor Deposits, Colorectal, EOD Regional Nodes (SEER)" tag="N3960" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodRegionalNodes == null || line.schemaId != '00200') return true String tumorDeposits = line.tumorDeposits String eodRegionalNodes = line.eodRegionalNodes if (tumorDeposits == null || tumorDeposits == 'X8') return true if (tumorDeposits == '00' || tumorDeposits == 'X9') return eodRegionalNodes != '200' else if (Functions.matches(tumorDeposits, /^0[1-9]|[1-9]\d|X[12]$/)) return eodRegionalNodes == '200' || eodRegionalNodes == '300' || eodRegionalNodes == '800' return true]]></expression> <message>Tumor Deposits conflicts with EOD Regional Nodes.</message> <description><![CDATA[This edit verifies that Tumor Deposits SSDI is coded consistently with EOD Regional Nodes. 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 00200 c. Tumor Deposits is blank or X8 (not applicable) d. EOD Regional Nodes is blank 2. If Tumor Deposits = 00 (no tumor deposits) or X9 (not assessed), EOD Regional Nodes must not = 200 (tumor deposits without nodal involvement) 3. If Tumor Deposits = 01-99, X1, or X2 (tumor deposits), EOD Regional Nodes must = 200 (tumor deposits), 300, or 800(regional nodes).]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-15" ref="68146">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy