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

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

The newest version!
<rule id="IFN7042" name="EOD Primary Tumor, Lung, Tumor Size Summary (SEER)" tag="N7042" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear < '2024' || line.dateOfDiagnosisYear == null || line.schemaId != '00360' || line.schemaId == null
            || line.eodPrimaryTumor == null || line.tumorSizeSummary == null || line.typeOfReportingSource == '7')
    return true

if (line.eodPrimaryTumor == '100')
    return Functions.matches(line.tumorSizeSummary, /^00[1-9]|0[12]\d|030|990$/)

return true]]></expression>
            <message>Tumor Size Summary is inconsistent with EOD Primary Tumor.</message>
            <description><![CDATA[This edit checks consistency of coding between EOD Primary Tumor code 100 and Tumor Size Summary for Schema ID 00360, Lung.

1. This edit is skipped if any of the following conditions is true:
    a. Diagnosis date is invalid, blank (unknown), before 2024.
    b. Schema ID is blank or not = 00360
    c. EOD Primary Tumor is blank
    d. Tumor Size Summary is blank
    e. Type of Reporting Source is 7 (Death Certificate Only)

2. If EOD Primary Tumor = 100 (Minimally invasive adenocarcinoma: Adenocarcinoma tumor WITH predominantly lepidic pattern measuring less than or equal to 3 cm in greatest dimension WITH invasive component measuring less than or equal to 5 mm in greatest dimension)
    Tumor Size Summary must = 001-030, 990]]></description>
            <history>
                <event version="SE24-024-03" user="kirbyk" date="2024-03-20" ref="69435">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy