Template:Infobox disease/doc

Use this template freely for any medical condition that has an ICD code, OMIM entry, MeSH, GeneReviews ID, or other source that you think readers will benefit from seeing. Its use is not limited strictly to diseases.

Usage summary
The template does not at the current time include summary information about the condition itself. Instead, it contains a consistent interface to other sources that provide information about the condition. Don't worry about trying to fill in all the fields -- even if you can only get one or two, that can still be useful.

While editing a condition, copy and paste the following text at the top of the page:



The best place to start is often the Diseases Database searching at DiseasesDB. Click on that link, and type in the name of the condition (for example, "Earache".) Click on the result you were looking for. At this point, you will see on your URL line something like "http://www.diseasesdatabase.com/ddb18027.htm". You can copy the number (in this case, "18027" onto the "DiseasesDB" line in the template, so it looks like this:


 * DiseasesDB    = 18027

You will see a label that reads "Code translations and terms via UMLS.". Click on this link. The goal is to find the ICD9 and ICD10 codes. In this case, you can see "388.7" next to "ICD-9-CM, 2006" and "H92.0" next to "German translation of ICD10, 1995". Fill in these two fields:


 * ICD10         =
 * ICD9          =

You may find multiple codes listed. In this case, just fill them out as follows:


 * ICD10         = ,
 * ICD9          = ,

In some cases, only one of the codes would apply to the current condition, but you may not always be able to determine which is which. Be bold, and do your best.

The template takes 3 parameters:
 * The upper-case, which links to a Wikipedia article (for example, ICD-10 Chapter XVI: Certain conditions originating in the perinatal period)
 * (2 digits)
 * (optional)

In most cases you can skip over the "ICD-O" field, because that only applies to conditions that cause tumors. DiseasesDB does not provide these codes, but there are some resources listed for finding them at ICD-O.

The final two fields are for OMIM and MedlinePlus. It's perfectly fine to leave these blank, but if you want to fill them out, you can sometimes find the pages by clicking on "specific web sites" in DiseaseDatabase. Alternatively use the following links to directly search OMIM and MedlinePlus.

Don't enter the full URL as this template's parameters, just the number at the end.

It is a little trickier to fill out the infobox if you can't find it listed in DiseaseDatabase. However, you can look up the codes individually if you would like. A good source for ICD9 codes is here, and a good source for ICD10 codes is here. Many more sources for ICD codes are listed at International Statistical Classification of Diseases and Related Health Problems. You can look up OMIM codes here.

Images
You can use the "Image", "Alt" and "Caption" to provide an illustration. These fields are optional, but it is helpful to provide an image if you can find one. The Alt field specifies alt text, for readers who cannot see the image; see WP:ALT. Of course most images on the internet are copyrighted, but you may be able to find an image already in Wikipedia on a related page. There are over a thousand free images of anatomical structures available at List of images and subjects in Gray's Anatomy. You could use one of these directly, or if you were feeling ambitious you could load one into a paint program on your computer, and annotate it with a couple of arrows to illustrate the point. Or just open PowerPoint and spend a few minutes drawing a few circles. It doesn't have to be very fancy to be an improvement on having no image at all. But if you do create a new image, remember to upload it at Wikimedia, not at Wikipedia, so that it easier to share images across languages.

There is also an optional "Width" parameter you can add for the image. If your picture is far too big, then add a new line and specify a custom width like this:


 * Image         = mypicture.png
 * Alt           = A man's neck and shoulders, covered with giant green spots.
 * Caption       = The picture above illustrates a severe case of this condition.
 * Width         = 325

When no Width parameter is specified, it defaults to a width of 190.

Multiple-value fields
Sometimes you will find a condition with more than one entry for OMIM, MedlinePlus, or DiseaseDatabase. There are optional "_mult" fields that allow additional parameters to be passed in, with "helper templates" DiseasesDB2, OMIM2, and MedlinePlus2 that can be used to form the links.

Note that the "_mult" field should be used in addition to the normal field. The following illustrates the field names and the helper templates.


 * DiseasesDB     = number1
 * DiseasesDB_mult =  ...
 * OMIM           = number1
 * OMIM_mult       =  ...
 * MedlinePlus    = number1
 * MedlinePlus_mult = ...

Multiple MeSH values and multiple GeneReviews are handled differently. If there are multiple MeSH fields, just label each consecutive one MeSH2, MeSH3, etc. Likewise, use GeneReviewsNBK2, GeneReviewsName2, GeneReviewsNBK3, GeneReviewsName3, etc., for additional GeneReviews links.

An example of how this is used at is provided below (the values are mostly contrived).



Don't worry about getting all the fields -- just do your best, and if you have any questions or suggestions, feel free to ask at Template talk:Infobox disease.

MeSH
The Medical Subject Headings (MeSH), formerly known as the Supplement to Index medicus, is a controlled vocabulary managed by the National Library of Medicine. To find the MeSH code for a disease, go to the MeSH search page and enter the term into the search box. The needed MeSH number is the Unique ID in the MeSH Descriptor Page.

If more than one MeSH topic applies to a given condition (as, for example, in Hereditary leiomyomatosis and renal cell cancer) you can add additional values in a list, as described above.

GeneReviews
GeneReviews is an online collection of peer-reviewed articles that describe specific gene-related diseases. To use it, go to its home page on NCBI and in the search box, enter the disease name to see if there is a relevant gene review for this disease. For example, searching for "autism", the first hit is "Autism Spectrum Disorders", at the URL. Note the "NBK" number, which is the ID number of this review. It can be coded as follows:



If the condition has more than one relevant GeneReview, then you can enter these as shown in the example above, under "Multiple value fields".

Template data
{       "description": "A template for any medical condition defined in the ICD or any of several other indexes", "params": { "Name": { "label": "Name", "description": "Name of the condition, usually should match title of article", "type": "string", "required": true },               "Image": { "label": "Image", "description": "An illustrative image file, if any is available", "type": "string", "required": false },               "Alt": { "label": "Alt text", "description": "Text to replace image for readers who cannot view it", "type": "string", "required": false },               "Caption": { "label": "Image caption", "description": "Description of the image", "type": "string", "required": false },               "Width": { "label": "Width", "description": "Width of the image in pixels", "type": "number", "required": false },               "DiseasesDB": { "label": "DiseasesDB", "description": "Index number in the Diseases Database; only one number permitted here", "type": "number", "required": false },               "DiseasesDB_mult": { "label": "Additional DiseasesDB", "description": "Additional entries; enter as many as needed", "type": "string", "required": false },               "ICD10": { "label": "ICD10 code", "description": "Index number in ICD10. Multiple codes are permitted.", "type": "string", "required": false },               "ICD9": { "label": "ICD9 code", "description": "Index number in ICD10. Multiple codes are permitted.", "type": "string", "required": false },               "ICD0": { "label": "ICD-O code", "description": "Used only for conditions that cause tumors", "type": "string", "required": false },               "OMIM": { "label": "OMIM code", "description": "Code in Online Mendelian Inheritance in Man database; only one permitted here", "type": "number", "required": false },               "OMIM_mult": { "label": "Additonal OMIM codes", "description": "Additional codes if any, use as many as needed", "type": "string", "required": false },               "MedlinePlus": { "label": "MedlinePlus index", "description": "Index in MedlinePlus database; only one number permitted here", "type": "number", "required": false },               "MedlinePlus_multi": { "label": "Additonal MedlinePlus indices", "description": "Additional entries, use as many numbers as needed", "type": "string", "required": false },               "MeSH": { "label": "MeSH heading", "description": "Index for condition in the Medical Subject Headings database", "type": "string", "required": false },               "MeSH2": { "label": "MeSH heading 2", "description": "Second MeSH index", "type": "string", "required": false },               "MeSH3": { "label": "MeSH heading 3", "description": "Third MeSH index", "type": "string", "required": false },               "MeSH4": { "label": "MeSH heading 4", "description": "Fourth MeSH index", "type": "string", "required": false },               "MeSH5": { "label": "MeSH heading 5", "description": "Fifth MeSH index", "type": "string", "required": false },               "MeSH6": { "label": "MeSH heading 6", "description": "Sixth MeSH index", "type": "string", "required": false },               "MeSH7": { "label": "MeSH heading 7", "description": "Seventh MeSH index", "type": "string", "required": false },               "MeSH8": { "label": "MeSH heading 8", "description": "Eighth MeSH index", "type": "string", "required": false },               "MeSH9": { "label": "MeSH heading 9", "description": "Ninth MeSH index", "type": "string", "required": false },               "GeneReviewsNBK": { "label": "GeneReviews index", "description": "Index for most relevant article in the GeneReviews database", "type": "string", "required": false },               "GeneReviewsName": { "label": "GeneReviews name", "description": "Name of most relevant article in the GeneReviews database", "type": "string", "required": true },               "GeneReviewsNBK2": { "label": "GeneReviews index 2", "description": "Second GeneReviews index", "type": "string", "required": false },               "GeneReviewsName2": { "label": "GeneReviews name 2", "description": "Second GeneReviews name", "type": "string", "required": true },               "GeneReviewsNBK3": { "label": "GeneReviews index 3", "description": "Third GeneReviews index", "type": "string", "required": false },               "GeneReviewsName3": { "label": "GeneReviews name 3", "description": "Third GeneReviews name", "type": "string", "required": true },               "GeneReviewsNBK4": { "label": "GeneReviews index 4", "description": "Fourth GeneReviews index", "type": "string", "required": false },               "GeneReviewsName4": { "label": "GeneReviews name 4", "description": "Fourth GeneReviews name", "type": "string", "required": true },               "GeneReviewsNBK5": { "label": "GeneReviews index 5", "description": "Fifth GeneReviews index", "type": "string", "required": false },               "GeneReviewsName5": { "label": "GeneReviews name 5", "description": "Fifth GeneReviews name", "type": "string", "required": true },               "GeneReviewsNBK6": { "label": "GeneReviews index 6", "description": "Sixth GeneReviews index", "type": "string", "required": false },               "GeneReviewsName6": { "label": "GeneReviews name 6", "description": "Sixth GeneReviews name", "type": "string", "required": true },               "GeneReviewsNBK7": { "label": "GeneReviews index 7", "description": "Seventh GeneReviews index", "type": "string", "required": false },               "GeneReviewsName7": { "label": "GeneReviews name 7", "description": "Seventh GeneReviews name", "type": "string", "required": true }       } }