edits.seer.internal.rules.IFN6231.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="IFN6231" name="ALK Rearrangement, Date DX (NAACCR)" tag="N6231" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2021') return line.alkRearrangement == null return Functions.matches(line.alkRearrangement, /^[0124789]$/) || line.alkRearrangement == null ]]></expression> <message>ALK Rearrangement must be blank for cases diagnosed before 2021</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-2021 diagnoses. 2. Must be a valid ALK Rearrangement code or blank: 0: Normal ALK negative Negative for rearrangement, no rearrangement identified, no mutations (somatic) identified, not present, not detected 1: Abnormal Rearrangement identified/detected: EML4-ALK, KIF5B-ALK, TFG-ALK, and/or KLC1-ALK 2: Rearrangement identified/detected: Other ALK Rearrangement not listed in code 1 4: Rearrangement, NOS 7: Test ordered, results not in chart 8: Not applicable: Information not collected for this case 9: Not documented in medical record ALK Rearrangement not assessed or unknown if assessed Another edit, ALK Rearrangement, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. ]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-03-19" ref="68601">Edit created.</event> </history> </rule>