智能审核规则

  • 格式:doc
  • 大小:77.50 KB
  • 文档页数:9

1.危急值审核:语句编写格式:if report.no('K', 'IN',2.801, 6.499) then beginreport.error(' K 危急值,请复查再次确认');2.定性结果审核语句编写格式:3.特定项目审核以下针对肿瘤项目的举例://checkRange('肿瘤项目')report.checkRange('AFP', 0, 20000); //APF正常参考范围0-20000quantityCheck('AFP', '>', 'AFP 要求稀释,最高>20000');if report.hasHistory('AFP') then begin //判断是否存在AFP历史结果if report.gethnvalue('AFP')>=9 then begin //如果历史结果>=9report.checkHistory('AFP', 365, 50); //判断AFP在365天内内的历史动态比较百分比end;if report.gethnvalue('AFP')<9 then beginif report.yes('AFP', '>', 9) then beginreport.checkHistoryinc('AFP', 365, 50);end;end;end;if not report.hasHistory('AFP') then beginif report.yes('AFP', '>', 9) then beginif (not hasDiagnosis('妊娠')) and (not hasDiagnosis('肝恶性肿瘤')) then beginreport.error('AFP增高,请再次确认');end;end;end;report.checkRange('CEA', 0, 20000);quantityCheck('CEA', '>', 'CEA 要求稀释,最高>20000');if report.hasHistory('CEA') then beginif report.gethnvalue('CEA')<=10 then beginif report.yes('CEA', '>', 10) then beginreport.checkHistoryInc('CEA', 365, 50);end;end;if report.gethnvalue('CEA')>10 then beginreport.checkHistory('CEA', 365, 50);end;end;if not report.hasHistory('CEA') then beginif report.yes('CEA', '>', 10) then beginif (not hasDiagnosis('癌')) and (not hasDiagnosis('肿瘤')) then beginreport.error('CEA增高,请再次确认');end;end;end;report.checkRange('CA-125', 0, 100000);quantityCheck('CA-125', '>', 'CA-125 要求稀释,最高>100000');if report.hasHistory('CA-125') then beginif report.gethnvalue('CA-125')<=35 then beginif report.yes('CA-125', '>', 35) then beginreport.checkHistoryInc('CA-125', 365, 50);end;end;if report.gethnvalue('CA-125')>=35 then beginreport.checkHistory('CA-125', 365, 50);end;end;if not report.hasHistory('CA-125') then beginif report.yes('CA-125', '>', 35) then beginif (not hasDiagnosis('经')) and (not hasDiagnosis('癌')) and (not hasDiagnosis('肿')) and (not hasDiagnosis('子宫')) then beginreport.error('CA-125增高,请再次确认');end;end;end;report.checkRange('CA-153', 0, 3000);quantityCheck('CA-153', '>', 'CA-153 要求稀释,最高>3000');if report.hasHistory('CA-153') then beginif report.gethnvalue('CA-153')<32 then beginif report.yes('CA-153', '>', 32) then beginreport.checkHistoryInc('CA-153', 365, 50);end;end;if report.gethnvalue('CA-153')>=32 then beginreport.checkHistory('CA-153', 365, 50);end;end;if not report.hasHistory('CA-153') then beginif report.yes('CA-153', '>', 32) then beginif (not hasDiagnosis('癌')) and (not hasDiagnosis('乳'))and (not hasDiagnosis('肿')) then beginreport.error('CA-153增高,若与临床诊断不符请在E601上复查');end;end;end;report.checkRange('Ca-199', 0, 20000);quantityCheck('Ca-199', '>', 'Ca-199 要求稀释,最高>20000');if report.hasHistory('Ca-199') then beginif report.gethnvalue('Ca-199')<=37 then beginif report.yes('Ca-199', '>', 37) then beginreport.checkHistoryInc('Ca-199', 365, 50);end;end;if report.gethnvalue('Ca-199')>=37 then beginreport.checkHistory('Ca-199', 365, 50);end;end;if not report.hasHistory('Ca-199') then beginif report.yes('Ca-199', '>', 37) then beginif (not hasDiagnosis('癌')) and (not hasDiagnosis('胆'))and (not hasDiagnosis('肿')) then beginreport.error('Ca-199增高,若与临床诊断不符请在E601上复查');end;end;end;quantityCheck('Psa_Total', '>', 'Psa_Total 要求在E601稀释同时测PSA_Free');if report.has('Psa_Total') then beginif report.female then beginreport.error('女性检测PSA不合适');end ;if report.hasHistory('Psa_Total') then beginreport.checkHistory('Psa_Total', 365, 50);end;if not report.hasHistory('Psa_Total') then beginif report.yes('Psa_Total', '>', 4) then beginif (not hasDiagnosis('前列腺')) and (not hasDiagnosis('肿')) then beginif report.years<40 then beginif report.yes('Psa_Total', 'IN',4, 150) then beginreport.error('注意年纪轻而PSA高,请再次确认');end;end;if report.years>=40 then beginif report.yes('Psa_Total', 'IN',10, 150) then beginreport.error('PSA高,请再次确认');end;end;end;end;end;end;report.checkRange('PSA_Free', 0, 20);if report.has('PSA_Free') then beginif report.sValue('PSA_Free')= '>20' then beginreport.error(' PSA_Free要求用产妇血清稀释20倍同时测总PSA');end;end;if report.has('Psa_Total') and report.has('PSA_Free') then beginif report.isNumric('Psa_Total') and report.isNumric('PSA_Free') then beginif report.value('PSA_Free')>report.value('Psa_Total') then beginreport.error('PSA free > total, logical error');end;end;end;report.checkRange('T', 1, 1600);if report.yes('T', '>',100) then beginif report.female then beginreport.error('女性T高,请再次确认或在E601上复查');end;if (report.years<=12) AND ( report.male) then beginreport.error('男孩T高,请再次确认或在E601上复查');end;end;if report.yes('T', '<',175) then beginif (report.years>=18) AND ( report.male) then beginreport.error('男性T低,请再次确认或在E601上复查');end;end;report.checkRange('FSH', 0.2, 200);if report.yes('FSH', '>',40) then beginif (report.years<=40) AND (report.yes('Estradiol', '>',30)) then beginif (not hasDiagnosis ('绝经'))and (not hasDiagnosis ('闭经')) then beginreport.error('年轻女性卵巢早衰?,请再次确认或在E601上复查');end;end;end;report.checkRange('LH', 0.2, 250);report.checkRange('PRL', 0.25, 200);quantityCheck('PRL', '>', 'PRL 要求在E601上稀释再测');if report.yes('PRL', '>',40) then beginif (not hasDiagnosis ('高泌乳素'))and (not hasDiagnosis ('妊娠'))and (not hasDiagnosis ('垂体')) then beginreport.error('高泌乳素,请再次确认或在E601上复查');end;end;report.checkRange('DHE-S', 2, 1000);4.针对特定检验设备的自动审核例子://新产业MAGLUMI发光仪测定项目审核规则report.checkRange('CA-50', 0, 50);if report.hasHistory('CA-50') then beginif report.gethnvalue('CA-50')<25 then beginif report.yes('CA-50', '>', 25) then beginreport.checkHistoryInc('CA-50', 365, 50);end;end;if report.gethnvalue('CA-50')>=25 then beginreport.checkHistory('CA-50', 365, 50);end;end;if not report.hasHistory('CA-50') then beginif report.yes('CA-50', '>', 25) then beginif (not hasDiagnosis('胃')) and (not hasDiagnosis('癌')) and (not hasDiagnosis('肿瘤')) then beginreport.error('CA-50增高,请再次确认');end;end;end;report.checkRange('SCC', 0, 100);if report.hasHistory('SCC') then beginif report.gethnvalue('SCC')<2 then beginif report.yes('SCC', '>', 2) then beginreport.checkHistoryInc('SCC', 365, 50);end;end;if report.gethnvalue('SCC')>=2 then beginreport.checkHistory('SCC', 365, 50);end;end;if not report.hasHistory('SCC') then beginif report.yes('SCC', '>', 2) then beginif (not hasDiagnosis('肺')) and (not hasDiagnosis('癌')) and (not hasDiagnosis('肿瘤')) then beginreport.error('SCC增高,请再次确认');end;end;end;report.checkRange('甘胆酸', 20, 2000);if report.yes('甘胆酸', 'in',260,400) then beginif report.hasHistory('TBA') then beginif report.isValidFloat(report.getHSValue('TBA')) then beginif report.gethnvalue('TBA')<2 then beginreport.error('甘胆酸与胆汁酸可能不符,请再次确认');end;end;end;end;if report.yes('甘胆酸', 'in',400,800) then beginif report.hasHistory('TBA') then beginif report.isValidFloat(report.getHSValue('TBA')) then beginif report.gethnvalue('TBA')<6 then beginreport.error('甘胆酸与胆汁酸可能不符,请再次确认');end;end;end;end;if report.yes('甘胆酸', '>',800) then beginif report.hasHistory('TBA') then beginif report.isValidFloat(report.getHSValue('TBA')) then beginif report.gethnvalue('TBA')<10 then beginreport.error('甘胆酸与胆汁酸可能不符,请再次确认');end;end;end;end;report.checkRange('fE3', 5, 80);report.checkRange('CIV', 0, 30);report.checkRange('PC Ⅲ', 0, 30);report.checkRange('LN', 0, 50);report.checkRange('HA', 0, 100);5.针对特定组合项目的自动审核例子:/免疫球蛋白+ASO,RF +尿四项report.checkRange('IgE', 0, 2400);report.checkRange('IgA', 0, 10);report.checkRange('IgG', 3, 20);report.checkRange('IgM', 0, 10);report.checkRange('C3', 0.5, 2);report.checkRange('C4', 0.1,1);report.checkRange('ASO', 0, 300);report.checkRange('RF', 0, 2400);report.checkRange('U-MA', 0, 5);if report.has('U-MA') then beginif report.has('尿蛋白定量') then beginif report.isNumric('U-MA') and report.isNumric('尿蛋白定量') then begin if report.value('U-MA')>report.value('尿蛋白定量') then beginreport.error('U-MA > 尿蛋白定量, logical error');end;end;end;end;report.checkRange('α1微球蛋白', 0, 111);report.checkRange('UIgG', 1, 111);report.checkRange('尿转铁蛋白', 1, 111);6.可疑性报警血清钾(5.2mmol/L 5.8mmol/L),GLU<3.0mmol/L, LH=0;提示检测结果可疑或与临床不符合;提示内容1>样本是否为新鲜血液样本; 2>如非新鲜血标本,请按照实验室相应SOP进行处理例子: if report.yes('K', 'in', 5.2, 5.8) and report.yes('GLU', '<', 3.0) and report.yes('LH', '=',0) thenreport.error('可疑性报警提示内容1>样本是否为新鲜血液样本; 2>如非新鲜血标本,请按照实验室相应SOP进行处理');7.国际血液学复检专家组推荐的41条自动CBC和DC复检规则8.WBC、RBC、Hb、PLT、网织红细胞(Ret); (1)复检条件:超出线性范围;(2)复检要求:稀释标本后重新测定。