Clinical-ICD10-Code-Prediction icon indicating copy to clipboard operation
Clinical-ICD10-Code-Prediction copied to clipboard

Codes dont seem accurate

Open fhirfly opened this issue 2 years ago • 1 comments

Hi, I forked your code and wrapped it with a FHIR API. It seems to me that the predictions made by your model are not accurate. Please consider the attached screenshots. In one case of Breast Cancer it gets close, but recommends the code for right breast when unspecified. SO that code is wrong.

The second diabetes was a simple statement and although it produced a Diabetes code, it was for type II when the note said type I.

Breast Cancer Diabetes

fhirfly avatar Jul 14 '23 03:07 fhirfly

Further analysis shows that the less surrounding text to the ICD-10 code, the less accurate the model is: Example: "Diabetes type II with complications", produces a correct result. "Discharge Summary: Diabetes type II with complications", does not produce the correct code.

fhirfly avatar Jul 14 '23 04:07 fhirfly