edits.seer.internal.rules.IFN3085.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="IFN3085" name="LN Size, Schema ID, Required (NAACCR)" tag="N3085" 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 == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023') return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') return true return !Functions.matches(line.schemaId, /^00(0([689]0|7[1-7])|1([03-5]0|[1-3][12]|33))$/) || (line.lnSize != null && line.lnSize != 'XX.8')]]></expression> <message>LN Size 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. 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. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021 2. This edit verifies that LN Size is not "XX.8" (not applicable) and not blank for the Schema IDs for which it is required by a standard setter. This data item is required for EOD Derived Stage for Schema ID 00100. Required for Schema ID: 00060: Cervical Lymph Nodes and Unknown Primary 00071: Lip 00072: Tongue Anterior 00073: Gum 00074: Floor of Mouth 00075: Palate Hard 00076: Buccal Mucosa 00077: Mouth Other 00080: Major Salivary Glands 00090: Nasopharynx 00100: Oropharynx HPV-Mediated (p16+) 00111: Oropharynx (p16-) 00112: Hypopharynx 00121: Maxillary Sinus 00122: Nasal Cavity and Ethmoid Sinus 00130: Larynx Other 00131: Larynx Supraglottic 00132: Larynx Glottic 00133: Larynx Subglottic 00140: Melanoma Head and Neck 00150: Cutaneous Carcinoma of the Head and Neck.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-18" ref="67831">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-05" user="kirbyk" date="2018-08-17" ref="68020">Changed schema name for 00150.</event> <event version="SE18-018-10" user="kirbyk" date="2018-12-13" ref="68076">Added DCO skip condition.</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-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>