edits.seer.internal.rules.IFN2657.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="IFN2657" name="Mitotic Rate Melanoma, Date DX (NAACCR)" tag="N2657" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.mitoticRateMelanoma != null) return false return line.mitoticRateMelanoma == null || Functions.matches(line.mitoticRateMelanoma, /^\d\d|X[1234789]$/)]]></expression> <message>Mitotic Rate Melanoma value 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 Mitotic Rate Melanoma code or blank: 00: 0 mitoses per square millimeter (mm) Mitoses absent No mitoses present 01-99: 01-99 mitoses/square mm (Exact measurement in mitoses/square mm) X1: 100 mitoses/square mm or more X2: Stated as "less than 1 mitosis/square mm" Stated as "nonmitogenic" X3: Stated as "at least 1 mitosis/square mm" Stated as "mitogenic" X4: Mitotic rate described with denominator other than square millimeter X7: Test done, results not in chart X8: Not applicable: Information not collected for this case X9: Not documented in medical record Mitotic Rate Melanoma not assessed or unknown if assessed 3. Numeric values must be right-justified and zero-filled. Another edit, Mitotic Rate Melanoma, 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-02" user="kirbyk" date="2018-06-12" ref="67841">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>