NHS numbers are 10 digit numbers where the 10th digit is a checksum. This function takes the 9 core digits of the NHS number and calculates the checksums of.
A 9 digit NHS numbers to validate
Boolean that controls display of warning messages
This function has been created using information from: https://en.wikipedia.org/wiki/NHS_number and various NHS sources
Either the calculated checksum or the complete 10 digit NHS number including the checksum.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.