dot-base / icd-10-api Goto Github PK
View Code? Open in Web Editor NEWRest API to search the 10th revision of the International Statistical Classification of Diseases Database.
License: GNU General Public License v3.0
Rest API to search the 10th revision of the International Statistical Classification of Diseases Database.
License: GNU General Public License v3.0
We want the Create Release PR
action to be customizable with a branch to allow hot fix releases from other branches than main
.
.github
repo.As a technical user, I'd like to know how to use this API ;)
When entering a new diagnose, I want to simultaneously get a list with matching suggestions.
To complete this story, these things have to be done:
Work that needs to be done before this story can be started:
Acceptance Criteria
FHIR.ICodeSystem_Concept
directly and not wrapped in object like:interface Icd10ApiResultItem {
item: FHIR.ICodeSystem_Concept;
}
In the editor, users should be able to search for terminology codes (such as LOINC), when they create a new chart. The most feasible solution for the moment needs to be evaluated again.
The following ideas were discussed:
icd-10-api
repo to terminology-code-api
(optional)
search
and version
icd10/
loinc/
Data Format?
code: String
system: "loinc" | "icd10" | "icd11"
version: String
https://github.com/dot-base/medical-dashboard/issues/963 (but @velramiir suggests another procedure)
Searching icd codes with "longer" queries (> 6 terms), leads to endless searches.
This is due to the way icd10 API is designed, since it searches for all possible combinations of terms.
Thus, max. amount of terms will be restricted by setting a env var MAX_SEARCH_TERMS
Requesting the same query twice returns no results in version 2.0.0.
GET http://localhost:3000/api/icd10?search=sinusitis
- returns resultsGET http://localhost:3000/api/icd10?search=sinusitis
- returns no resultsAs an API consumer I would like to know which ICD-10 catalogue version was used for the generated results
FuseResult<CodeableConcept>
http://fhir.de/CodeSystem/bfarm/icd-10-gm
2024
Unify API response type in accordance to other dot.base APIs.
We want to refactor the dummy extension removal because the double assignment is hard to read and understand at a glance.
r.item.extension = r.item.modifierExtension = undefined
As a project manager, I'd like to offer the clinical user optimal diagnosis suggestions, in order to facilitate ICD-10 coding in the diagnoses list.
To complete this story, these things have to be done:
Work that needs to be done before this story can be started:
As a user, I'd like to search for diagnoses in the officially published icd10 catalogue.
For Germany this ICD10 data is published by DIMDI as a .json file in a custom format. To improve code quality (and enable future adaption) of the project the base data should be typed as a FHIR Codesystem.
To complete this story, these things have to be done:
We want to test the new hotfix process, so we need to make a small code change.
We will fix the wrong service name in the README. It says authentication-gateway
where it should be icd-10-api
.
Update the API to use the current ICD-10-GM release for 2024, which was recently published by BfArM: https://www.bfarm.de/SharedDocs/Downloads/DE/Kodiersysteme/klassifikationen/icd-10-gm/version2024/icd10gm2024syst-claml_zip.html?nn=841246&cms_dlConfirm=true&cms_calledFromDoc=841246
BfArM publishes the ICD-10 catalogue as a ClaML / XML. This can be converted to a FHIR CodeSystem using this tool or the already parsed CodeSystem from Medizininformatik Initiative
When using the local dotbase stack, both npm install
and npm start
fail with the error that the npm cache contains root-owned files. The reason is that the home dir in the development container is the root dir /
and npm tries to create the cache at ~/.npm
by default.
/tmp
in the dev overlay.We want to call the workflow Manage PR
remotely from the .github
repo, so we can maintain it at a central location for all repos.
.github
Results contain an extension with no url
set. This is not a valid FHIR resource as extension urls are mandatory.
http://127.0.0.1:3000/api/icd10?search=akute%20sinusitis%20maxi
[
{
"item": {
"code": "J01.0",
"display": "Akute Sinusitis maxillaris",
"definition": "Akute Sinusitis maxillaris",
"property": [
{
"code": "kind",
"valueCode": "category"
},
{
"code": "parent",
"valueCode": "J01"
},
{
"code": "inclusion",
"valueString": "Akute Kieferhöhlenentzündung"
}
],
"extension": [
{
"id": "displayCopy",
"valueString": "AkuteSinusitismaxillaris"
}
],
"modifierExtension": [
{
"id": "InclusionCopy",
"valueString": "AkuteKieferhöhlenentzündung"
}
]
},
"refIndex": 4302,
"matches": [
{
"indices": [
[
14,
17
],
[
5,
13
],
[
0,
4
]
],
"value": "AkuteSinusitismaxillaris",
"key": "extension.valueString",
"refIndex": 0
}
],
"score": 0.12589254117941673
}
]
As a User, I'd like to get all ICD10 Values, in order to to be more precise in my diagnosis. (For Example the whole F10 area is missing in the data)
As a API user I do not want to get items that are incomplete.
code
and display
As a user, I would like to be able to search diagnoeses based on the icd-10 terminology. When entering a new diagnose, I want to simultaneously get a list with matching suggestions. In the current solution these suggestions are just based on simple string comparison.
The ICD-10 API should include the following features and improvements:
To achieve this goal, the following stories have to be completed:
Update the API to use the current ICD-10-GM release for 2023, which is published by BfArM: https://www.bfarm.de/DE/Kodiersysteme/Services/Downloads/_node.html
BfArM publishes the ICD-10 catalogue as a ClaML / XML. This can be converted to a FHIR CodeSystem using this tool or the already parsed CodeSystem from Medizininformatik Initiative
Update the API to support using the current ICD-11-GM release on top to ICD-10.
ICD-11-GM is published by BfArM: https://www.bfarm.de/DE/Kodiersysteme/Services/Downloads/_node.html
BfArM publishes the ICD catalogues as a ClaML / XML. This can be converted to a FHIR CodeSystem using this tool . For ICD-10 a already parsed CodeSystem from Medizininformatik Initiative is available, but none for ICD-11 so far.
As a user, I'd like to have a convenient trade off between getting a narrow list of matches, but also getting a complete list of relevant results.
Therefore the API should not only search for matches, but also perform a kind scoring, which can be used for ranking (and filtering) results.
Example: A user enters the term "idiopathic parkinson syndrom".
Only the combinations of "idiopathic AND parkinson" and "syndrom AND parkinson" should lead to relevant results.
Nevertheless, the combination of "idiopathic AND syndrom" will also lead to a huge number of matches, that blur the overall result.
Therefore, scoring of matches should take into account, if (combinations of) search terms seem to be too generic, to be considered as matches.
To complete this story, these things have to be done:
Currently, the API returns Condition with incorrect extensions - they are missing a url value. This at least happens on displayCopy
.
If extensions are removed from ICD-10-Api, this Issue would also need a migration on exisitng data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.