care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

ICD-11 Search enhancement

Open aparnacoronasafe opened this issue 1 year ago • 5 comments

The ICD-11 Diagnosis search field in CARE is not optimized.

Analyze the search logic at https://icd.who.int/ct11/icd11_mms/en/release and implement the same in CARE

aparnacoronasafe avatar Apr 10 '23 11:04 aparnacoronasafe

Currently, we do not store enough attributes/information about ICD11 Diagnoses in the ICD11 in-memory database in our backend.

A possible solution is to use ICD API (see Swagger Docs). We could get an API key or self-host it.

It may break things since we are unaware if they might make changes in the ICD v11 API itself.

A possible workaround for this issue could be to use ICD API to query, extract the entries out, match them with the ICD11 entries present in our backend, and give that response.

rithviknishad avatar Apr 10 '23 14:04 rithviknishad

@rithviknishad @aparnacoronasafe any update on this issue, was it discussed in the call

nihal467 avatar Aug 02 '23 06:08 nihal467

We've decided to use the ICD API docker; FE would hit the ICD API for searching; and use the theCode attribute to perform a lookup on to care's ICD entries upon form submission.

rithviknishad avatar Oct 03 '23 05:10 rithviknishad

we may not be able to use theCode for lookup. Attaching an example entity with "theCode": "PE95/" and "title": "Assault by exposure to or harmful effects of other inorganic substances". This entity is not present in our icd11.json nor the spreadsheet export from ICD11's browsing tool.

A similar one exists with PE95, title: "Assault by exposure to or harmful effects of other or unspecified substances chiefly nonmedicinal as to source".

image

rithviknishad avatar Oct 04 '23 13:10 rithviknishad

All results with: entityType > 0 has this mentioned issue.

rithviknishad avatar Oct 04 '23 13:10 rithviknishad

Closing as continued in #8080

rithviknishad avatar Aug 13 '24 10:08 rithviknishad