edits.seer.internal.rules.IFN3989.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IFN3989" name="SEER Site-Specific Fact 1, Schema ID, Required (SEER)" tag="N3989" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.typeOfReportingSource == '7') return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') return true if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023') return true return !Functions.matches(line.schemaId, /^00(07[1-7]|100|11[12])$/) || line.seerSiteSpecificFact1 != null]]></expression> <message>SEER Site-Specific Fact 1 must not be blank 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. Date of Diagnosis pre-2018, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) d. Registry ID = 0000001565 (Illinois) and Year of Diagnosis = 2018-2022 e. Registry ID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021 2. This edit verifies that SEER Site-Specific Fact 1 is coded (not blank) for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00071: Lip 00072: Tongue Anterior 00073: Gum 00074: Floor of Mouth 00075: Palate Hard 00076: Buccal Mucosa 00077: Mouth Other 00100: Oropharynx HPV-Mediated (p16+) 00111: Oropharynx (p16-) 00112: Hypopharynx]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-13" ref="67933">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-14" ref="67992">Removed extra space from name.</event> <event version="SE18-018-10" user="kirbyk" date="2018-12-13" ref="68076">Added DCO skip condition.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE21-021-11" user="beverung" date="2021-12-17" ref="68764">Added skip condition for IL and TX for DX Years 2018-2019.</event> <event version="SE22-022-03" user="secristc" date="2022-04-22" ref="68959">Changed skip condition for IL to DX Years 2018-2022, TX to 2018-2021.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy