edits.seer.internal.rules.IFN2735.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="IFN2735" name="HER2 Overall Summary, Date DX (NAACCR)" tag="N2735" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' || (line.dateOfDiagnosisYear < '2021' && ['00161', '00169', '00170'].contains(line.schemaId))) return line.her2OverallSummary == null if (line.her2OverallSummary == null || Functions.matches(line.her2OverallSummary, /^[0179]$/)) return true return ['00161', '00169', '00170'].contains(line.schemaId) && line.her2OverallSummary == '8']]></expression> <message>HER2 Overall Summary 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 HER2 Overall Summary code or blank: 0: HER2 negative; equivocal 1: HER2 positive 7: Test done, results not in chart 8: Not applicable, information not collected for this case 9: Not documented in medical record Cannot be determined (indeterminate) Borderline HER2 Overall Summary status not assessed or unknown if assessed 3. This data item must be blank for pre-2021 cases assigned to Schema IDs 00161, 00169, and 00170. 4. Code 8, Not applicable, must only be used for Schema IDs 00161, 00169, and 00170. Another edit, HER2 Overall Summary, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. This data item is required for AJCC staging and EOD Derived Stage Group for Schema ID 00480, Breast.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-17" ref="67867">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="beverung" date="2020-07-27" ref="68409">Update code 9 description and add logic for pre-2021 cases.</event> <event version="SE21-021-03" user="secristm" date="2021-02-24" ref="68577">Add logic and description for code 8.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy