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

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

The newest version!
        <rule id="IFN6104" name="Summary Stage 2018, Regional Nodes Positive (NAACCR)" tag="N6104" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.summaryStage2018 == null ||
            line.regionalNodesPositive == null || line.typeOfReportingSource  == '7')
    return true

return !Functions.matches(line.regionalNodesPositive, /^0[1-9]|[1-8]\d|9[0-7]$/) || !Functions.matches(line.summaryStage2018, /^[0129]$/)]]></expression>
            <message>Summary Stage 2018 conflicts with Regional Nodes Positive</message>
            <description><![CDATA[This edit checks that Summary Stage 2018 is coded consistently with Regional Nodes Positive.

1. This edit is skipped for any of the following conditions:
    a. Diagnosis date is pre-2018, blank (unknown), or invalid
    b. Summary Stage 2018 is blank
    c. Regional Nodes Positive is blank
    d. Type of Reporting Source = 7

2. If Regional Nodes Positive = 01-97, Summary Stage 2018 must not = 0, 1, 2, 9]]></description>
            <history>
                <event version="SE18-019-01" user="kirbyk" date="2019-04-12" ref="68150">Edit created.</event>
                <event version="SE18-019-03" user="beverung" date="2019-07-12" ref="68222">Updated description. Behavior unchanged.</event>
                <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68310">Updated error message.</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-14" ref="69158">Update DX date skip condition. Remove blank Schema ID skip condition. Add 9 to invalid SS2018.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy