edits.seer.internal.rules.IFN4007.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="IFN4007" name="SSDI for Ophthalmic Melanoma, Blank for Other Schemas (NAACCR)" tag="N4007" 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 if (line.schemaId != '00671' && line.schemaId != '00672') { if (line.schemaId != '00660' && line.measuredThickness != null) return false if (line.chromosome3Status != null || line.chromosome8qStatus != null || line.extravascularMatrixPatterns != null) return false if (line.measuredBasalDiameter != null || line.microvascularDensity != null || line.mitoticCountUvealMelanoma != null) return false } return true]]></expression> <message>Conflict between schema and coded SSDI items for Ophthalmic Melanoma</message> <description><![CDATA[[This edit verifies that Site-Specific Data Items that are defined for Conjunctival Melanoma (Schema ID 00660) and Uveal Melanoma (Schema IDs 00671 and 00672) 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 00660 (Conjunctival Melanoma), 00671 (Melanoma of Iris), and 00672 (Melanoma of Choroid and Ciliary Body), the following Site-Specific Data Item must be blank: Measured Thickness If Schema ID is not 00671 (Melanoma of Iris) and 00672 (Melanoma of Choroid and Ciliary Body), the following Site-Specific Data Items must be blank: Chromosome 3 Status Chromosome 8q Status Extravascular Matrix Patterns Measured Basal Diameter Microvascular Density Mitotic Count Uveal Melanoma]]></description> <history> <event version="SE18-018-04" user="schadega" date="2018-08-02" ref="67846">Edit Created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>