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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6171" name="LN Laterality, Vulva, Behavior ICDO3 (NAACCR)" tag="N6171" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null ||
!['00500', '09500'].contains(line.schemaId) || line.lnLaterality == null || line.lnLaterality == '8' || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7')
    return true
if (line.behaviorCodeIcdO3 == '2') {
    if (line.dateOfDiagnosisYear < '2023')
        return line.lnLaterality == '0' || line.lnLaterality == '9'
    else
        return line.lnLaterality == '0'
}
return true]]></expression>
            <message>LN Laterality conflicts with Behavior Code ICD-O-3</message>
            <description><![CDATA[This edit verifies that the LN Laterality SSDI is coded consistently with
Behavior Code ICD-O-3 code 2 for Schema ID 00500, 09500, Vulva.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021, blank (unknown), or invalid.
    b. Schema ID is blank or not 00500 or 09500
    c. LN Laterality is blank or = 8 (not applicable)
    d. Behavior Code ICD-O-3 is blank
    e. Type of Reporting Source is 7 (Death Certificate Only)

2. If Behavior Code ICD-O-3 = 2 (in situ)
    then LN Laterality must = 0 or 9 (no lymph node involvement or not documented
    in medical record)

3. For diagnosis year 2023+, code 0 = non-invasive neoplasm, behavior /2.  Code 9
    removed as allowable value with behavior /2]]></description>
            <history>
                <event version="SE21-021-04" user="smithm" date="2021-03-25" ref="68629">Edit created.</event>
                <event version="SE23-023-01" user="secristc" date="2023-02-22" ref="69172">Updated skip conditions, year conditions for 2023+.</event>
                <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added Schema ID 09500 to skip condition</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy