🎓Load ICD-10 terminology into Aidbox
In this post, you will learn how to load ICD-10 terminology into aidbox.
Last updated
In this post, you will learn how to load ICD-10 terminology into aidbox.
Last updated
With a new version of Aidbox we provide you with a set of terminology packages like ICD-10 and LOINC and a special bulk operation to import these code sets.
You can read more about how terminology service is designed in a our CTO blog post - Two-phase terminology.
Aidbox team prepared terminology packages with popular code systems. These packages are essentially ndjson files with a set of concept resources and they are available by public url in our cloud.
Here are a few packages you can start with:
Rx-Norm, SNOMED-CT and basic FHIR CodeSystems/ValueSets packages are in progress. If you need something specific, ping us in a Aidbox Community Chat.
In this tutorial, we will load ICD-10 deceases codes into Aidbox and see how we can look up codes using Concept resource Search API.
To import these terminology packs, you can use terminology/$import
operation. Let's load ICD-10 (Classification of Deceases): just copy-paste the following snippet into REST console in Aidbox UI:
You will get a response with numbers of resources loaded:
As you can see, a package consists of one CodeSystem, one ValueSet and about 40K concepts with decease codes.
Let's go to REST console and see what we have:
Now we can search diagnoses with, for example, _ilike parameter:
Or inspect concepts in Aidbox Console UI:
Health Samurai Team is working on declarative search indexing in the future release. For now, let's create a trigram index to make _ilike
search faster. Go to SQL Console and execute the following statement:
Try _ilike
search again - is it faster?
To clean up all terminology, you can truncate all related tables from db console: