((%CH015% + 0.0) / (%CH1095% + 0.0) / (%HM014% + 0.0)) * 100
 
 ------------------------------------------------------------------
 DECLARE @Index FLOAT = (((%CH015% + 0.0) / (%CH1095% + 0.0) / (%HM014% + 0.0)) * 100)

SELECT 
  CASE 
    WHEN @Index < 0.5 THEN "Non or Mild Fibrosis"
    WHEN @Index BETWEEN 0.5 AND 1.5 THEN "Significant Fibrosis"
    WHEN @Index > 1.5 THEN "Cirrhosis"
    ELSE "NA"
  END
 
 --------------------------------------------------------------------------------------------
 
 ---|CH1350 SGOT (apri scroe)
---|CH1344 Upper limit of normal SGOT
---|CM1347 APRI Scroe
---|CM1349 APRI Interpret.
--|CH1477 Fibrosis-4








--/* ส่วนใหญ่ใช้สูตรนี้ครับ */............................................


DECLARE @Index FLOAT = ((%CH1350%+0.0) / (%CH1344%+0.0) / %HM014% +0.0 ) *100000
                                                    --APRI_score_calc.=((%CH1350%+0.0) / (%CH1344%+0.0) / %HM014% +0.0 ) *100000
SELECT 
  CASE 
    WHEN @Index < 0.5 THEN "Non or Mild Fibrosis"
    WHEN @Index BETWEEN 0.5 AND 1.5 THEN "Significant Fibrosis"
    WHEN @Index > 1.5 THEN "Cirrhosis"
    ELSE "NA"
  END

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: