edits.seer.internal.rules.IFN3992.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="IFN3992" name="SSDI for Testis, Blank for Other Schemas (NAACCR)" tag="N3992" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.schemaId == '00590') return true boolean isAfpBlank = line.afpPostOrchiectomyLabValue == null && line.afpPostOrchiectomyRange == null && line.afpPreOrchiectomyLabValue == null && line.afpPreOrchiectomyRange == null boolean isHcgBlank = line.hcgPostOrchiectomyLabValue == null && line.hcgPostOrchiectomyRange == null && line.hcgPreOrchiectomyLabValue == null && line.hcgPreOrchiectomyRange == null boolean isLdhBlank = line.ldhPostOrchiectomyRange == null && line.ldhPreOrchiectomyRange == null boolean isSCatBlank = line.sCategoryClinical == null && line.sCategoryPathological == null return isAfpBlank && isHcgBlank && isLdhBlank && isSCatBlank]]></expression> <message>Conflict between schema and coded SSDI items for Testis</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Testis (Schema ID 00590) 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 or 00590. If Schema ID is not 00590 (Testis), the following Site-Specific Data Items must be blank: AFP Post-Orchiectomy Lab Value AFP Post-Orchiectomy Range AFP Pre-Orchiectomy Lab Value AFP Pre-Orchiectomy Range hCG Post-Orchiectomy Lab Value hCG Post-Orchiectomy Range hCG Pre-Orchiectomy Lab Value hCG Pre-Orchiectomy Range LDH Post-Orchiectomy Range LDH Pre-Orchiectomy Range S Category Clinical S Category Pathological]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-19" ref="67842">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