International Classification of Diseases (ICD)
Ruby HTML CSS JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Latest commit f60a0e6 Dec 2, 2015 @patriciomacadden Update README.md
Permalink
Failed to load latest commit information.
app first commit Jan 5, 2012
config first commit Jan 5, 2012
db first commit Jan 5, 2012
doc first commit Jan 5, 2012
lib first commit Jan 5, 2012
log first commit Jan 5, 2012
public first commit Jan 5, 2012
script first commit Jan 5, 2012
test first commit Jan 5, 2012
vendor first commit Jan 5, 2012
.gitignore first commit Jan 5, 2012
Gemfile first commit Jan 5, 2012
Gemfile.lock first commit Jan 5, 2012
README.md Update README.md Dec 2, 2015
Rakefile first commit Jan 5, 2012
config.ru first commit Jan 5, 2012

README.md

This project is dead, see icd.json instead.

ICD

This application holds the contents of World Health Organization's International Classification of Diseases (ICD).

Purpose

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)

Current languages

  • English
  • Spanish

What's inside of this application?

Database ready for use

In doc/db/ are the SQL files that you can use for running this application: just insert it on the database.

Browser

You can use this application for browsing through chapters, blocks and codes.

API

Using the browser, just append .json to the url and it will return the data as json.

Create/update database

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.

Quick start

$ bundle
$ 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.

Contributing

If you find a bug, want to improve the project, add more translations, or anything please send a pull request:

  1. Fork it.
  2. Create a branch (git checkout -b my_awesome_branch)
  3. Commit your changes (git commit -am "Added some magic")
  4. Push to the branch (git push origin my_awesome_branch)
  5. Create an ussue with a link to your branch