Skip to content

Commit 657dd85

Browse files
As per PR # 83 comments, Changes are implemented.
1 parent 1f96bb6 commit 657dd85

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/utility-guides/NHSNumberTools.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ common functionality that may apply to many services in relation to NHS Number m
2121

2222
You can initialise the NHS Number Tools class by using the following code in your test file:
2323

24-
from utils.nhs_number_tools import NHSNumberTools
25-
24+
```python
25+
from utils.nhs_number_tools import NHSNumberTools
26+
```
2627
## `_nhs_number_checks()`: Checks if the NHS number is valid
2728

2829
The `_nhs_number_checks()` method does basic checks on NHS number value provided and raises an exception if the number is not valid:
2930

31+
```python
3032
NHSNumberTools._nhs_number_checks(incorrect_nhs_no)
33+
```
3134

3235
### Required Arguments
3336

@@ -54,7 +57,9 @@ from utils.nhs_number_tools import NHSNumberTools
5457
The `spaced_nhs_number()` method is designed to take the provided NHS number and return it in a formatted
5558
string of the format `nnn nnn nnnn`. It's a static method so can be used in the following way:
5659

60+
```python
5761
spaced_nhs_number = NHSNumberTools.spaced_nhs_number("1234567890")
62+
```
5863

5964
### Required Arguments
6065

0 commit comments

Comments
 (0)