ICD-10 Code Format Validation | JavaScriptSource

ICD-10 Code Format Validation

JavaScriptSource Staff Aug 2, 2006
This script validates the entered value to see if it conforms to the ICD-10 format. (It does not check whether the code exists in the ICD-10 WHO library.)

Examples for valid ICD-10 codes: T86.88, T86.2 or N12
(If the field is empty, the script returns true.)

Enter ICD-10 Code    

The JavaScript Source: Forms : ICD-10 Code Format Validation

Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


This give validation is excellent but have one problem and needs to be modified. The character U is not valid as first character in ICD 10 codes. For example the format U##.XXXX is not a valid code format but given script show it is a valid code.

Ramesh Oct 21, 2013


mohamed Apr 18, 2013