nhs-number-cli 0.2.0

National Health Service (NHS) number for NHS England, NHS Wales, NHS Isle of Man.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 10-parse-errors

The tool reports two distinct kinds of failure:

* **Validation failure** — the line parsed as ten digits but the tenth
  digit is not the correct Modulus 11 check digit.
* **Parse failure** — the line could not be read as an NHS Number at
  all.

This example focuses on the second category and shows several inputs
that fail to parse, each for a different reason.

## Run

```sh
./run.sh
```