edits.seer.internal.rules.IFN4012.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="IFN4012" name="SSDI for Plasma Cell Myeloma, Blank for Other Schemas (NAACCR)" tag="N4012" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.schemaId == '00821') return true return line.highRiskCytogenetics == null && line.serumAlbuminPretreatmentLevel == null && line.serumBeta2MicroglobulinPretxLvl == null]]></expression> <message>Conflict between schema and coded SSDI items for Plasma Cell Myeloma</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Plasma Cell Myeloma (Schema ID 00821) are blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank or 00821. If Schema ID is not 00821 (Plasma Cell Myeloma), the following Site-Specific Data Items must be blank: High Risk Cytogenetics Serum Albumin Pretreatment Level Serum Beta-2 Microglobulin Pretreatment Level NOTE: LDH Pretreatment level, also collected for this schema, is included in another edit.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-17" ref="67906">Edit Created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>