This JavaScript 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.)
Over 2000+ free Javascript at JavaScriptBank.com Website
Examples for valid ICD-10 codes: T86.88, T86.2 or N12(If the field is empty, the script returns true.)