edits.seer.internal.rules.IFN4000.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="IFN4000" name="SSDI for Soft Tissue, Blank for Other Schemas (NAACCR)" tag="N4000" 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 return Functions.matches(line.schemaId, /^004([014]0|2[12]|5[09])$/) || line.boneInvasion == null]]></expression> <message>Conflict between schema and coded SSDI items for Soft Tissue</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Soft Tissues (Schema IDs 00400, 00410, 00421, 00422, 00440, 00450, and 00459) 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 00400 (Soft Tissues Head and Neck) 00410 (Soft Tissues Trunk and Extremities) 00421 (Soft Tissues Abdomen and Thorax) 00422 (Heart, Mediastinum, Pleura) 00440 (Soft Tissues Retroperitoneum) 00450 (Soft Tissues Unusual) 00459 (Soft Tissues Other) the following Site-Specific Data Item must be blank: Bone Invasion]]></description> <history> <event version="SE18-018-04" user="schadega" date="2018-08-03" ref="67876">Edit Created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE22-022-01" user="secristc" date="2022-01-12" ref="68848">Added schema ID 00459 to edit logic.</event> </history> </rule>