Skip to content

About

Python package to provide utilities for NHS Numbers, including validity checks, normalisation, and generation.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

14 stars

Watchers

4 watching

Forks

Repository files navigation

nhs-number

Python package to provide utilities for NHS Numbers, including validity checks, normalisation, and generation.

Project stewardship

nhs-number is managed by the Open Health Technology Foundation (CIC) (OHTF).

Major announcements affecting users or contributors, such as releases with breaking changes or a change of project stewardship, are also published on openhealthtechnology.org. Website updates are made in ohtf/openhealthtechnology.org-website.

Package Information

License Licence type badge Version Version badge
Supported versions Coverage
Wheel Implementation
Status Downloads

Documentation

All documentation is available at https://ohtf.github.io/nhs-number-py/.

Implementing this in another language?

Please do - and you are welcome to build on our work. We publish a language-agnostic test vector file capturing how this library behaves (checksums, standardisation, validity, CHI date-of-birth rules, regions and range boundaries), so a port in any language can check itself against the same definition of correct.

It is MIT licensed, like the rest of the project: use it freely, no permission needed. Attribution is appreciated but not required. See Implementing an NHS Numbers package in other languages for what the vectors cover, what is deliberately left out and why, and how to use them.

Other libraries

Similar libraries for other languages:

If you maintain one we have missed, please open an issue and we will add it.

Changelog

https://ohtf.github.io/nhs-number-py/changelog/

About

Python package to provide utilities for NHS Numbers, including validity checks, normalisation, and generation.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

14 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages