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

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

The newest version!
        <rule id="IFN3940" name="Number of Positive Pelvic Nodes, Schema ID, Required, CoC Flag (SEER)" tag="N3940" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.cocAccreditedFlag != '1')
    return true
if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023')
    return true
if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022')
    return true

String schemaId = line.schemaId
if (schemaId == '00530' || schemaId == '00541' || schemaId == '00542' ||
(line.dateOfDiagnosisYear >= '2021' && schemaId == '00528'))
    return line.numberOfPositivePelvicNodes != null && line.numberOfPositivePelvicNodes != 'X8'
    
return true]]></expression>
            <message>Number of Positive Pelvic Nodes must not be blank or not applicable for cases with this Schema ID diagnosed 2018 and later.</message>
            <description><![CDATA[1. The edit is skipped for any of the following conditions:
    a. Diagnosis date before 2018, blank (unknown), or invalid
    b. Schema ID is blank
    c. CoC Accredited Flag not = 1
    d. Registry ID = 0000001565 (Illinois) and Year of Diagnosis 2018-2022
    e. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021

Number of Positive Pelvic Nodes is required by SEER only if collected by
a CoC-accredited facility on an analytic case (CoC Accredited Flag = 1).

1. This edit verifies that Number of Positive Pelvic Nodes is not "X8" (not
   applicable) and not blank for the Schema IDs for which it is required by a
   standard setter.

    Required for Schema ID:

    00528: Cervix Sarcoma [2021+]
    00530: Corpus Carcinoma and Carcinosarcoma
    00541: Corpus Sarcoma (Sarcoma)
    00542: Corpus Sarcoma (Adenosarcoma)]]></description>
            <history>
                <event version="SE18-018-02" user="kirbyk" date="2018-06-13" ref="67824">Edit created.</event>
                <event version="SE21-021-09" user="beverung" date="2021-08-26" ref="68721">Add skip conditions for IL and TX for DX Years 2018-2020.</event>
                <event version="SE22-022-01" user="smithm" date="2022-01-27" ref="68839">Added 00528 (for year &gt;= 2021) to list of schema id requirements.</event>
                <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68956">Change skip condition for IL to DX Years 2018-2022, and TX to 2018-2021</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy