This project is dead, see icd.json instead.
The purpose of this application is to provide the contents of the ICD in a SQL file, both in English and Spanish languages (feel free to send a pull request with new languages and/or corrections)
What's inside of this application?
Database ready for use
doc/db/ are the SQL files that you can use for running this application: just insert it on the database.
You can use this application for browsing through chapters, blocks and codes.
Using the browser, just append
.json to the url and it will return the data as json.
You can use Pentaho Data-Integration to create/update the database, running the job inside
doc/kettle (or transformations if you prefer to do it separately).
But how do I update the database?
Running the kettle job will do it, but to update the database accordingly to the ICD you will need to download the zip archive with the data, and add the headers to the txt files, just as in the already downloaded ones.
$ rake db:create
$ mysql -u<USERNAME> -p<PASSWORD> <DATABASE> < doc/db/icd10_en.sql
$ rails s
Now, you can use
http://localhost:3000 to browse the ICD.
If you find a bug, want to improve the project, add more translations, or anything please send a pull request:
- Fork it.
- Create a branch (
git checkout -b my_awesome_branch)
- Commit your changes (
git commit -am "Added some magic")
- Push to the branch (
git push origin my_awesome_branch)
- Create an ussue with a link to your branch