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

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

        <rule id="IFN3947" name="Primary Sclerosing Cholangitis, Schema ID, Required, CoC Flag (SEER)" tag="N3947" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear > '2021' || line.schemaId == null || line.cocAccreditedFlag != '1')
    return true
if (line.registryId == '0000001565' || line.registryId == '0000001566')
    return true

return (line.schemaId != '00230' && line.schemaId != '00250') || (line.primarySclerosingCholangitis != null && line.primarySclerosingCholangitis != '8')]]></expression>
            <message>Primary Sclerosing Cholangitis must not be blank or not applicable for this Schema ID for cases diagnosed 2018 and later</message>
            <description><![CDATA[1. The edit is skipped for any of the following conditions:
    a. Diagnosis date before 2018, after 2021, blank (unknown), or invalid
    b. Schema ID is blank
    c. CoC Accredited Flag not = 1
    d. Registry ID = 0000001565 (Illinois) or 0000001566 (Texas)

Primary Sclerosing Cholangitis is required by SEER only if collected by 
a CoC-accredited facility on an analytic case (CoC Accredited Flag = 1).


2. This edit verifies that Primary Sclerosing Cholangitis is not "8" (not
   applicable) and not blank for the Schema IDs for which it is required by a 
   standard setter. 

    Required for Schema IDs:
 
    00230: Bile Ducts Intrahepatic
   00250: Bile Ducts Perihilar]]></description>
            <history>
                <event version="SE18-018-04" user="schadega" date="2018-08-06" ref="67914">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="secristc" date="2022-01-20" ref="68881">Add skip conditions for years after 2021.</event>
                <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68956">Change skip condition to skip IL and TX</event>
            </history>
        </rule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy