1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! # NHS Number command line interface (cli)
//!
//! A National Health Service (NHS) Number is a unique ten-digit identifier
//! allocated to registered patients of NHS England and the NHS Isle of Man.
//!
//! This tool is a command line interface that parses each standard input line
//! into an NHS Number, then validates that the check digit is correct.
//!
//! References:
//!
//! * [National Health Service (NHS)](https://en.wikipedia.org/wiki/National_Health_Service)
//!
//! * [NHS Number](https://en.wikipedia.org/wiki/NHS_number)
//!
extern crate log;
extern crate assertables;
extern crate env_logger;