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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN3964" name="Regional Nodes Positive, Examined, Primary Site, 2018 (NAACCR)" tag="N3964" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || (line.regionalNodesExamined == null && line.regionalNodesPositive == null) || line.primarySite == null)
    return true

if (line.regionalNodesExamined != '99' || line.regionalNodesPositive != '99') {
    return !(Functions.matches(line.primarySite, /^C(42[0134]|589|7[0127]\d|75[123]|76[1-8]|809)$/)
        || ['00790','00795','00830','99999'].contains(line.schemaId)
        || (line.schemaId == '00822' && line.histologicTypeIcdO3 != '9734'))
}

return true]]></expression>
            <message>Regional Nodes Positive/Examined must = 99 for this Schema ID, Primary Site, and/or histology</message>
            <description><![CDATA[This edit is skipped if any of the following conditions is true:
1. Year of Date of Diagnosis is less than 2018, blank (unknown), or invalid.
2. Regional Nodes Examined and Regional Nodes Positive are both blank
3. Primary Site is blank


1. Regional Nodes Positive and Regional Nodes Examined must both be coded '99' for the following:
    a. Primary Sites:
        C420, C421, C423, C424, C589, C700-C709, C710-C729, C751-C753, C761-C768, C770-C779, C809
    b. Schema ID 00790, 00795
    c. Schema ID 00822 excluding 9734
    d. Schema ID 00830
    e. Schema ID 99999]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-10" ref="67948">Edit created.</event>
                <event version="SE18-018-05" user="schadega" date="2018-08-17" ref="68019">Removed DCO specific logic.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-019-01" user="kirbyk" date="2019-03-28" ref="68132">Added more requirements based on Primary Site and Histology ICD-O-3.</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="SE18-020-02" user="beverung" date="2020-03-27" ref="68328">Change skip condition to require both Reg Nodes Examined and Reg Nodes Positive to be blank.</event>
                <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68448">Change name and update qualifying Schema IDs and Primary Sites.</event>
                <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event>
                <event version="SE22-022-01" user="secristc" date="2022-02-17" ref="68867">Added logic for Primary Site = C422 and Schema ID = 99999.</event>
                <event version="SE22-022-03" user="beverung" date="2022-04-11" ref="68931">Update logic to stop using Schema ID and Histologic Type; change edit name.</event>
                <event version="SE23-023-02" user="shearerw" date="2023-05-08" ref="69166">Add Schema ID logic.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy