All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.IFN2814.xml Maven / Gradle / Ivy

The newest version!
        <rule id="IFN2814" name="_SYS Schema ID, AJCC ID (NAACCR)" tag="N2814" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.ajccId == null || line.schemaId == null || line.dateOfDiagnosisYear == null)
    return true
return ((List)(((Map)Context.SchemaIdAjccIdTable).getOrDefault(line.schemaId, []))).contains(line.ajccId)]]></expression>
            <message>Schema ID and AJCC ID are incompatible.</message>
            <description><![CDATA[_SYS in edit name indicates an edit on system-generated data items.  The edit is
intended for use by software vendors in testing the accuracy of algorithms used
to assign Schema ID and AJCC ID, and for use by central registries in verifying
the quality of submitted data.

This edit verifies that the data items Schema ID, used to identify site/
histology schemas for EOD and site-specific data item (SSDI) assignment, and AJCC
ID, used to identify site/histology schemas by chapter for AJCC staging, are
consistent in their designations.  If there is an edit failure, the problem most
likely is a registry software issue, as both these fields are derived from coding
of primary site, histology, and schema discriminator(s) if required; they are not
directly coded data items.

The edit is skipped if Schema ID or AJCC ID is blank. Other edits check
that these fields are left blank for pre-2018 cases and are assigned for 2018 and
later cases by standard setter requirements. Schema ID and AJCC ID are required
fields for 2018 and later.

The edit is skipped if date of diagnosis blank (unknown), or invalid.

The list of Schema IDs by site and histology with corresponding AJCC IDs is
included in the edit _SYS Schema ID, Primary Site, Histology, Behavior (NAACCR).]]></description>
            <history>
                <event version="SE18-018-10" user="kirbyk" date="2018-12-05" ref="68064">Edit created.</event>
                <event version="SE18-018-11" user="kirbyk" date="2019-01-04" ref="68081">Fixed table values.</event>
                <event version="SE21-021-02" user="kirbyk" date="2021-01-26" ref="68555">Added Schema ID = 09520 to the table.</event>
                <event version="SE21-021-03" user="smithm" date="2021-03-02" ref="68586">Added DX Year skip conditions. Allowed schema ID 00421 with AJCC ID 41 or 42 for some cases.</event>
                <event version="SE21-021-09" user="beverung" date="2021-08-31" ref="68724">Updated error message.</event>
                <event version="SE22-022-01" user="smithm" date="2022-02-04" ref="68870">Remove skip condition for 00421</event>
                <event version="SE22-022-01" user="kirbyk" date="2022-03-09" ref="68916">Updated table for Schema IDs 00459 and 00528.</event>
                <event version="SE23-023-02" user="kirbyk" date="2023-04-17" ref="69245">Added new schemas to table for 2023.</event>
                <event version="SE24-024-02" user="kirbyk" date="2024-03-21" ref="69444">Updated Schema IDs and AJCC IDs in table for 2024.</event>
                <event version="SE24-024-03" user="kirbyk" date="2024-03-27" ref="69445">Fixed AJCC IDs in table for 2024.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy