edits.seer.internal.rules.IFN3995.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="IFN3995" name="SSDI for Head & Neck, Blank for Other Schemas (NAACCR)" tag="N3995" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null) return true boolean isBlankLn = line.lnHeadAndNeckLevels1To3 == null && line.lnHeadAndNeckLevels4To5 == null && line.lnHeadAndNeckLevels6To7 == null && line.lnHeadAndNeckOther == null boolean isBlankExtranodal = line.extranodalExtensionHeadNeckClin == null && line.extranodalExtensionHeadNeckPath == null if (line.schemaId != '00060' && line.schemaId != '00140' && !isBlankLn) return false if (!Functions.matches(line.schemaId, /^00(07[1-7]|100|11[12])$/) && line.seerSiteSpecificFact1 != null) return false if (!Functions.matches(line.schemaId, /^00(0([689]0|7[1-7])|1([034]0|[1-3][12]|33))$/)) { if (!isBlankExtranodal) return false if (line.schemaId != '00150' && line.lnSize != null) return false } return true]]></expression> <message>Conflict between schema and coded SSDI items for Head & Neck</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Head and Neck schemas (see list of Schema IDs below) are blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank. If Schema ID is not 00060 (Cervical Nodes, Unknown Primary) or 00140 (Melanoma Head and Neck), the following Site-Specific Data Items must be blank: LN Head and Neck Levels I-III LN Head and Neck Levels IV-V LN Head and Neck Levels VI-VII LN Head and Neck Other If Schema ID is not 00071 (Lip) 00072 (Tongue Anterior) 00073 (Gum) 00074 (Floor of Mouth) 00075 (Palate Hard) 00076 (Buccal Mucosa) 00077 (Mouth Other) 00100 (Oropharynx p16+) 00111 (Oropoharynx p16-) 00112 (Hypopharynx) the following SSDI item must be blank: SEER Site-Specific Fact 1 if Schema ID is not 00060 (Cervical Nodes, 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 p16+) 00111 (Oropoharynx 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) the following Site-Specific Data Items musts be blank: Extranodal Extension Head and Neck Clinical Extranodal Extension Head and Neck Pathological If Schema ID is not 00060 (Cervical Nodes, 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 p16+) 00111 (Oropoharynx 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) the following Site-Specific Data Item must be blank: LN Size]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-18" ref="67831">Edit created.</event> <event version="SE18-018-05" user="kirbyk" date="2018-08-17" ref="68020">Changed schema name for 00150.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy