edits.seer.internal.rules.IFN2930.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="IFN2930" name="Sarcomatoid Features, Date DX (NAACCR)" tag="N2930" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.sarcomatoidFeatures == null return line.sarcomatoidFeatures == null || Functions.matches(line.sarcomatoidFeatures, /^0\d\d|100|R0[1-5]|XX[5-9]$/)]]></expression> <message>Sarcomatoid Features 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 Sarcomatoid Features code or blank: 000: Sarcomatoid features not present/not identified 001-100: Sarcomatoid features 1-100% R01: Sarcomatoid features stated as less than 10% R02: Sarcomatoid features stated as range 10%-30% present R03: Sarcomatoid features stated as a range 31% to 50% present R04: Sarcomatoid features stated as a range 51% to 80% present R05: Sarcomatoid features stated as greater than 80% XX5: Sarcomatoid features present from metastatic site only AND Sarcomatoid features not present in primary site, or unknown if present XX6: Sarcomatoid features present, percentage unknown XX7: Not applicable: Not a renal cell carcinoma morphology XX8: Not applicable: Information not collected for this case XX9: Not documented in medical record Sarcomatoid features not assessed or unknown if assessed No surgical resection of primary site is performed 3. Numeric values must be right-justified and zero-filled Another edit, Sarcomatoid Features, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-04" user="kirbyk" date="2018-07-31" ref="67913">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE22-022-01" user="secristc" date="2022-01-28" ref="68884">Added logic for code XX5</event> </history> </rule>