edits.seer.internal.rules.IFN6399.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="IFN6399" name="Derived Summary Stage 2018, Plasma Cell Myeloma, Histology (SEER)" tag="N6399" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.derivedSummaryStage2018 == null) return true if (line.schemaId == null || line.schemaId != '00821') return true if (line.typeOfReportingSource == '7') return ['7','9'].contains(line.derivedSummaryStage2018) else return line.derivedSummaryStage2018 == '7']]></expression> <message>Derived Summary Stage 2018 not valid for Schema ID</message> <description><![CDATA[This edit verifies that Derived Summary Stage 2018 is coded correctly for Schema ID 00821, Plasma Cell Myeloma. 1. This edit is skipped for any of the following conditions: a. Diagnosis date is pre-2021, blank (unknown), or invalid b. Schema ID is blank or not 00821 c. Derived Summary Stage 2018 is blank 2. If Type of Reporting Source = 7 (Death Certificate Only) Derived Summary Stage may = 7 or 9 3. If Type of Reporting Source is not 7 Derived Summary Stage 2018 must = 7]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-22" ref="68603">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy