edits.seer.internal.rules.IFN7047.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="IFN7047" name="Tumor Size Summary 999, Schema ID, Primary Site (SEER)" tag="N7047" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.schemaId == null || line.tumorSizeSummary == null) return true if (line.primarySite == null || line.primarySite == 'C422') return true if (['00458','00671','00672','00790','00795','00821','00822','00830'].contains(line.schemaId) || Functions.matches(line.primarySite, /^C(42[0134]|77\d|809)$/)) return line.tumorSizeSummary == '999' || line.tumorSizeSummary == null return true]]></expression> <message>Tumor Size Summary is not valid for Schema ID or Primary Site</message> <description><![CDATA[1. This edit is skipped for any of the following: a. if Diagnosis date < 2024, empty (unknown), or in error. b. Schema ID is blank c. Primary Site is blank or C422 d. Tumor Size Summary is blank 1. Tumor Size Summary must be 999 or blank if Schema ID = 00458 Kaposi Sarcoma 00671 Melanoma Iris 00672 Melanoma Choroid and Ciliary Body 00790 Lymphoma 00795 Lymphoma-CLL/SLL 00821 Plasma Cell Myeloma 00822 Plasma Cell Disorders 00830 HemeRetic Any with Primary Site code = C420, C421, C423, C424, C770-C779, C809]]></description> <history> <event version="SE24-024-03" user="shearerw" date="2024-03-21" ref="69433">Edit Created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy