edits.seer.internal.rules.IFN3994.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="IFN3994" name="SSDI for Liver & Biliary, Blank for Other Schemas (NAACCR)" tag="N3994" 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 != '00220'){ if (line.afpPretreatmentInterpretation != null || line.afpPretreatmentLabValue != null) return false if (line.bilirubinPretxTotalLabValue != null || line.bilirubinPretxUnitOfMeasure != null) return false if (line.creatininePretreatmentLabValue != null || line.creatininePretxUnitOfMeasure != null || line.iNRProthrombinTime != null) return false } if (line.schemaId != '00230' && line.schemaId != '00220' && line.fibrosisScore != null) return false return true]]></expression> <message>Conflict between schema and coded SSDI items for Liver & Biliary</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Liver (Schema ID 00220), Intrahepatic Bile Duct (Schema ID 00230), and Bile Duct Perihilar (Schema ID 00250) 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 00220 (Liver), the following Site-Specific Data Items must be blank: AFP Pretreatment Interpretation AFP Pretreatment Lab Value Bilirubin Pretreatment Total Lab Value Bilirubin Pretreatment Unit of Measure Creatinine Pretreatment Lab Value Creatinine Pretreatment Unit of Measure International Normalized Ratio Prothrombin Time If Schema ID is not 00220 (Liver) or 00230 (Intrahepatic Bile Duct), the following Site-Specific Data Item must be blank: Fibrosis Score]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-24" ref="67833">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE23-023-11" user="beverung" date="2024-01-30" ref="69380">Removed logic for Primary Sclerosing Cholangitis and Tumor Growth Pattern.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy