edits.seer.internal.rules.IFN6123.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="IFN6123" name="Serum Markers, Testis, Post-Orchiectomy 03-2022, Lab Value (NAACCR)" tag="N6123" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.dateOfDiagnosisYear > '2022' || line.rxSummSurgPrimSite == null || line.schemaId != '00590') return true if ((line.afpPostOrchiectomyLabValue == null || line.afpPostOrchiectomyLabValue == 'XXXXX.8') && (line.hcgPostOrchiectomyLabValue == null || line.hcgPostOrchiectomyLabValue == 'XXXXX.8')) return true String primSite = line.rxSummSurgPrimSite if (primSite == '00' || primSite == '12' || primSite == '20' || primSite == '99') return line.afpPostOrchiectomyLabValue == 'XXXXX.9' && line.hcgPostOrchiectomyLabValue == 'XXXXX.9' return true]]></expression> <message>Testis Serum Markers and Surgery 03-2022 conflicts</message> <description><![CDATA[This edit verifies that the testis tumor marker lab value SSDIs are coded consistently with surgery code. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019 or greater than 2022, blank (unknown), or invalid. b. Schema ID not = 00590 c. The following SSDIs are blank or not applicable: AFP Post-Orchiectomy Lab Value hCG Post-Orchiectomy Lab Value d. RX Summ--Surg Prim Site 03-2022 is blank 2. If Primary Site Surgery 03-2022 = 00 (no surgery of primary site), 12 (local tumor destruction NOS (no specimen sent to pathology), or 20 (local excision of testicle), Then the data items must be coded as follows (no orchiectomy performed): AFP Post-Orchiectomy Lab Value XXXXX.9 hCG Post-Orchiectomy Lab Value XXXXX.9 3. If RX Summ-Surg Prim Site 03-2022 = 99 , Then the data items must be coded as follows (no orchiectomy performed, or AFP Post-Orchiectomy Lab Value not assessed or unknown if assessed): AFP Post-Orchiectomy Lab Value XXXXX.9 hCG Post-Orchiectomy Lab Value XXXXX.9]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-01-25" ref="69104">Change name and add skip condition.</event> <event version="SE24-024-01" user="cooki" date="2024-02-08" ref="69369">Added condition 3. for code 99.</event> <event version="SE24-024-06" user="shearerw" date="2024-06-20" ref="69499">Updated name.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy