-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'anchit-edits-reviewed-marcus' into develop
- Loading branch information
Showing
17 changed files
with
294 additions
and
135 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
!!! danger "IMPORTANT: **You should never need to generate an NHS Number for a live system**" | ||
Live NHS, CHI, H&C and IHI numbers are _always_ generated by some kind of central authority or registry, such as the NHS Spine in England, and they are assigned to patients, often at or near birth or at the point of becoming a user of that health system. | ||
|
||
Unless you represent a central health authority, you should not need to generate an NHS Number for a live system. If you are a patient, you should never need to generate an NHS Number for yourself. | ||
|
||
This package is intended for use in testing and development environments where you need to generate NHS Numbers for testing, research purposes, or synthetic data generation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
!!! note "Scottish CHI Number validation" | ||
At present, this library does not reliably validate Scottish CHI Numbers. This is because the first 6 digits of a Scottish CHI Number must be a valid DDMMYY Date of Birth, and this library does not currently check for this. At the moment, only the correct number range is checked for. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
:root { | ||
--nhs-core-blue: #005EB8; | ||
--nhs-core-white: #FFFFFF; | ||
--md-accent-fg-color: var(--nhs-core-blue); | ||
--md-primary-fg-color--dark: var(--nhs-core-blue); | ||
--md-typeset-a-color: var(--nhs-core-blue); | ||
} | ||
|
||
.md-header__ellipsis .md-ellipsis { | ||
font-size: 1.5rem; | ||
} | ||
|
||
/* nav */ | ||
|
||
/* mobile nav sidebar */ | ||
@media screen and (max-width: 76.1875em) { | ||
.md-nav--primary .md-nav__title[for=__drawer] { | ||
background-color: white; | ||
color: black; | ||
} | ||
} | ||
|
||
[dir=ltr] .md-header__title { | ||
margin-left: 0.1rem; | ||
} | ||
|
||
.md-header__button.md-logo >svg { | ||
height: 2rem; | ||
fill: var(--nhs-core-white) | ||
} | ||
|
||
.md-banner { | ||
display: flex; | ||
} | ||
|
||
.md-banner__inner.md-grid.md-typeset{ | ||
max-height: 1rem; | ||
} | ||
|
||
.md-header, .md-tabs { | ||
background-color: var(--nhs-core-blue); | ||
} | ||
|
||
.md-nav__item .md-nav__link--active { | ||
color: var(--nhs-core-blue); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
authors: Dr Marcus Baw, Dr Anchit Chandran | ||
--- | ||
|
||
The main documentation site is at <https://nhs-number.uk-fci.tech>. Pushes of code to the `main` branch will automatically trigger a publication to Netlify. | ||
|
||
Non-`main` branches of the documentation are automatically published to Netlify for review purposes: | ||
|
||
* `develop` -> <https://develop.nhs-number.uk-fci.tech> | ||
* `staging` -> <https://staging.nhs-number.uk-fci.tech> | ||
|
||
## Material for MkDocs | ||
|
||
We use [MkDocs](https://www.mkdocs.org/) along with the [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) theme. | ||
|
||
You can suggest changes directly through PRs. | ||
|
||
When developing the documentation site, we recommend the use of a linter such as [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) for VSCode to standardise formatting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.