edits.seer.internal.rules.IFN3999.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="IFN3999" name="SSDI for Bone, Blank for Other Schemas (NAACCR)" tag="N3999" 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 (!Functions.matches(line.schemaId, /^0038[1-3]$/) && line.percentNecrosisPostNeoadjuvant != null) return false return true]]></expression> <message>Conflict between schema and coded SSDI items for Bone</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Bone (Schema IDs 00381, 00382, and 00383) 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 00381 (Bone Appendicular Skeleton), 00382 (Bone Spine), or 00383 (Bone Pelvis), the following Site-Specific Data Item must be blank: Percent Necrosis Post Neoadjuvant]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-18" ref="67838">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy