edits.seer.internal.rules.IF347.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="IF347" name="CS Lymph Nodes, MyelomaPlasmaCellDisorder (CS)" tag="N1380" java-path="lines.line" category="inter-field" depends="CS_Lymph_Nodes,Histologic_Type_ICD-O-3"> <expression><![CDATA[if (line.csLymphNodes == null) return true if (line._csSchemaId == 'myeloma_plasma_cell_disorder') { if (line.csLymphNodes == '000' || line.csLymphNodes == '100' || line.csLymphNodes == '999') return line.histologicTypeIcdO3 == '9734' if (line.csLymphNodes == '987') return line.histologicTypeIcdO3 == '9731' || line.histologicTypeIcdO3 == '9732' } return true]]></expression> <message>CS Lymph Nodes and MyelomaPlasmaCellDisorder schema conflict</message> <description><![CDATA[The purpose of this edit is to verify that the data item CS Lymph Nodes is coded properly for the MyelomaPlasmaCellDisorder schema. The schema includes histologies 9731, 9732, and 9734, but some of the Lymph Nodes codes apply only to a subset of the three histologies. This edit is skipped if any of the following conditions are true: 1. CS Lymph Nodes is empty 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. If schema is MyelomaPlasmaCellDisorder: 1. The CS Lymph Nodes values of 000 (For extraosseous plasmacytomas (9734) only: No regional lymph node involvement), 100 (For extraosseous plasmacytomas (9734) only: Regional lymph node metastasis), and 999 (unknown) are allowed only for Histologic Type ICD-O-3 codes 9734 (Plasmacytoma, extramedullary). 2. The CS Lymph Nodes value of 987 (Not applicable) is allowed only for 9731 (Plasmacytoma, NOS) and 9732 (Multiple myeloma).]]></description> <history> <event version="SE12-004-01" user="murphyr" date="2011-01-27">Edit created.</event> <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>