edits.seer.internal.rules.IFN2671.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="IFN2671" name="Visceral and Parietal Pleural Invasion, Date DX (NAACCR)" tag="N2671" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.visceralParietalPleuralInvasion != null) return false return line.visceralParietalPleuralInvasion == null || Functions.matches(line.visceralParietalPleuralInvasion, /^[045689]$/)]]></expression> <message>Visceral and Parietal Pleural Invasion is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid Visceral and Parietal Pleural Invasion code or blank: 0: No evidence of visceral pleural invasion, not identified Tumor does not completely traverse the elastic layer of the pleura Stated as PL0 4: Invasion of visceral pleura present, NOS; not stated if PL1 or PL2 5: Tumor invades into or through the parietal pleural OR chest wall; stated as PL3 6: Tumor extends to pleura, NOS; not stated if visceral or parietal 8: Not applicable: Information not collected for this case 9: Not documented in medical record No surgical resection of primary site is performed Visceral and Parietal Pleural Invasion not assessed or unknown if assessed or cannot be determined Another edit, Visceral and Parietal Pleural Invasion, Schema ID, Required (NAACCR), checks that the item is coded correctly by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-12" ref="67857">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE21-021-01" user="kirbyk" date="2021-01-08" ref="68479">Updated valid codes; removed codes '1', '2', '3' and added code '5'.</event> </history> </rule>