File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,16 @@ common functionality that may apply to many services in relation to NHS Number m
2121
2222You 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
2829The ` _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
5457The ` spaced_nhs_number() ` method is designed to take the provided NHS number and return it in a formatted
5558string 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
You can’t perform that action at this time.
0 commit comments