edits.seer.internal.rules.IFN5033.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="IFN5033" name="PR Summary, Breast, PR Percent (NAACCR)" tag="N5033" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.progesteroneRecepSummary == null) return true if (line.progesteroneRecepPrcntPosOrRange == null || line.progesteroneRecepPrcntPosOrRange == 'XX8') return true if (Functions.matches(line.progesteroneRecepPrcntPosOrRange, /^0(0[1-9]|[1-9]\d)|100|R([1-9]\d)$/)) return line.progesteroneRecepSummary != '0' return true]]></expression> <message>Progesterone Receptor Summary and Progesterone Receptor Percent Positive or Range conflict for 2018+</message> <description><![CDATA[This edit verifies consistency of coding of Progesterone Receptor Summary with Progesterone Receptor Percent Positive or Range. 1. The edit is skipped for any of the following conditions: a. Date of Diagnosis is pre 2019, blank (unknown), or invalid. b. Progesterone Receptor Summary is blank. c. Progesterone Receptor Percent Positive or Range is blank or not applicable 2. If Progesterone Receptor Percent Positive or Range = 001-100, R10-R99, then Progesterone Receptor Summary must not = 0 (negative).]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy