edits.seer.internal.rules.IF490.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.
The newest version!
<rule id="IF490" name="CS Mets at DX-BBLL, LymphomaOcularAdnexa (CS)" tag="N1893" java-path="lines.line" category="inter-field" depends="CS_Version_Input_Original,Year_of_Diagnosis"> <expression><![CDATA[if (Functions.asInt(line.csVersionInputOriginal) < 20500 || line._csSchemaId != 'lymphoma_ocular_adnexa' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.dateOfDiagnosisYear > '2015') return true if (line.registryId == '0000001563') return true if (line.csMetsAtDxBrain == '8' || line.csMetsAtDxBone == '8' || line.csMetsAtDxLung == '8' || line.csMetsAtDxLiver == '8') return false return true]]></expression> <message>Conflict among LymphomaOcularAdnexa Schema and CS Mets at DX</message> <description><![CDATA[The purpose of this edit is to verify that the CS Mets at DX-Bone, Brain, Liver, and Lung fields are not coded to 8 (not applicable) for LymphomaOcularAdnexa cases that are originally coded using CSv02.05 or higher. This edit is skipped under the following conditions: 1. CS Version Input Original is less than 020500 2. CS schema is not LymphomaOcularAdnexa 3. Behavior Code ICD-O-3 = 0 (benign)or 1 (borderline) 4. Year of Date of Diagnosis is greater than 2015 5. Registry ID = 0000001563 (Massachusetts) If schema is LymphomaOcularAdnexa: An error will be generated under any of the following conditions: 1. If CS Mets at DX-Bone = 8 2. If CS Mets at DX-Brain = 8 3. If CS Mets at DX-Liver = 8 4. If CS Mets at DX-Lung = 8 This edit first determines the correct CS schema by doing a function call to the CS Dynamic Link Library (dll). The function call passes Primary Site, Histologic Type ICD-O-3, and CS Site-Specific Factor25 (schema discriminator) to the dll and the CS schema name is returned.]]></description> <history> <event version="SE14-011-01" user="murphyr" date="2013-10-22" ref="66983">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-20" ref="67330">Added skip condition for DX year.</event> <event version="SE16-015-01" user="kirbyk" date="2016-05-04" ref="67370">Changed edit to use schema IDs instead of schema names</event> <event version="SE18-018-12" user="kirbyk" date="2019-01-29" ref="68095">Edit is skipped for cases from Massachusetts.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>