edits.seer.internal.rules.IFN6809.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="IFN6809" name="Multigene Signature Method, Results (NAACCR)" tag="N6809" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId != '00480' || line.typeOfReportingSource == '7') return true if (line.multigeneSignatureMethod == null || line.multigeneSignatureMethod == '8' || line.multigeneSignatureResults == null || line.multigeneSignatureResults == 'X8') return true if (Functions.matches(line.multigeneSignatureResults, /^\d\d|X[1-4]$/)) return Functions.matches(line.multigeneSignatureMethod, /^[1-6]$/) if (line.multigeneSignatureResults == 'X7') return Functions.matches(line.multigeneSignatureMethod, /^[1-7]$/) if (line.multigeneSignatureResults == 'X9') return line.multigeneSignatureMethod == '9' return true]]></expression> <message>Conflict between Multigene Signature Method and Multigene Signature Results</message> <description><![CDATA[This edit verifies that the Multigene Signature Method and Multigene Signature Results SSDIs are coded consistently with each other. 1. The edit is skipped for the following conditions: a. Diagnosis date is before 2023, blank (unknown), or invalid. b. Multigene Signature Method or Multigene Signature Results is blank or not applicable c. Schema ID not = 00480 d. Type of Reporting Source = 7 (Death Certificate Only) 2. If Multigene Signature Results = 00-99, X1-X4 (test results), Multigene Signature Method = 1-6 (test performed) 3. If Multigene Signature Results = X7 (test ordered results not in chart) Multigene Signature Method = 1-6 (test performed) or 7 (test ordered, results not in chart) 4. If Multigene Signature Results = X9 (not documented, unknown) Multigene Signature Method =9 (not documented, unknown)]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-16" ref="69240">Edit Created.</event> <event version="SE24-024-01" user="cooki" date="2024-02-02" ref="69366">Added values 1-6 to #3 (X7 Condition).</event> </history> </rule>