edits.seer.internal.rules.IFN6602.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="IFN6602" name="Macroscopic Evaluation of Mesorectum, Date DX (COC)" tag="N6602" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true else return line.macroscopicEvalOfTheMesorectum == null || Functions.matches(line.macroscopicEvalOfTheMesorectum, /^[01234]0|99$/) ]]></expression> <message>Macroscopic Evaluation of Mesorectum must be blank for cases diagnosed before 2022</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. Must be a valid Macroscopic Evaluation of Mesorectum code or blank: 00: Patient did not receive Total Mesorectal Excision (TME) 10: Incomplete 20: Nearly complete 30: Complete 40: TME performed, not specified on pathology report as incomplete, nearly complete, or complete TME performed but pathology report not available Physician statement that TME performed, no mention of incomplete,nearly complete, or complete status 99: Unknown if TME performed Blank: Site not rectum (C20.9) Another edit, Macroscopic Evaluation of Mesorectum, Schema ID, Required (COC), checks that the item is coded by Schema ID if required by a standard setter.]]></description> <history> <event version="SE22-022-01" user="secristc" date="2022-02-24" ref="68895">Edit created.</event> <event version="SE22-022-03" user="beverung" date="2022-04-11" ref="68936">Remove condition for blank for cases prior to 2022.</event> </history> </rule>