edits.seer.internal.rules.IFN7058.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="IFN7058" name="hCG Pre-Orchiectomy Lab Value, Range, Testis (NAACCR)" tag="N7058" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.schemaId != '00590' || line.typeOfReportingSource == '7') return true if (line.hcgPreOrchiectomyLabValue == null || line.hcgPreOrchiectomyLabValue == 'XXXXX.8') return true if (line.hcgPreOrchiectomyRange == null || line.hcgPreOrchiectomyRange == '8') return true if (Functions.matches(line.hcgPreOrchiectomyLabValue, /^([5-9]\d\d\d\.\d)|([1-4]\d\d\d\d\.\d)$/) || line.hcgPreOrchiectomyLabValue == '50000.0') return line.hcgPreOrchiectomyRange == '2' if (line.hcgPreOrchiectomyLabValue != '50000.0' && (Functions.matches(line.hcgPreOrchiectomyLabValue, /^[5-9]\d\d\d\d\.\d$/) || line.hcgPreOrchiectomyLabValue == 'XXXXX.1')) return line.hcgPreOrchiectomyRange == '3' return true]]></expression> <message>Conflict between hCG Pre-Orchiectomy Lab Value and hCG Pre-Orchiectomy Range</message> <description><![CDATA[This edit verifies that hCG Pre-Orchiectomy Lab Value and hCGPre-Orchiectomy Range SSDIs are coded consistently with each other 1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2024, blank (unknown), or invalid. b. Schema ID is blank or not 00590 c. Type of Reporting Source = 7 (Death Certificate Only) d. hCG Pre-Orchiectomy Lab Value or hCG Pre-Orchiectomy Range is blank or coded not applicable 2. If hCG Pre-Orchiectomy Lab Value = 5,000.0 - 50,000.0 mIU/mL hCG Pre-Orchiectomy Range must = 2 (5,000-50,000 mIU/mL) 3. If hCG Pre-Orchiectomy Lab Value = 50,000.1-99,999.9 ng/mL or XXXXX.1 (100,000 mIU/mL or greater) hCG Pre-Orchiectomy Range must = 3 (greater than 50,000 mIU/mL)]]></description> <history> <event version="SE24-024-06" user="shearerw" date="2024-07-23" ref="69502">Edit Created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy