Decision Workspace
nhs-number-cli vs fhir vs nhs-number
Side-by-side comparison of Rust crates
Command line tool that validates United Kingdom (UK) National Health Service (NHS) Numbers, one per line, from standard input.
Fast Healthcare Interoperability Resources (FHIR®) data model for Rust: the complete FHIR R2-R6 resources, datatypes, and code systems as serde-serializable types, plus cross-release conversion and a spec-driven code generator. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work.
United Kingdom (UK) National Health Service (NHS) Number — parse, format, and validate the ten-digit identifier used by UK NHS England, UK NHS Scotland, UK NHS Wales, and UK NHS Isle of Man.
Core Metrics
| nhs-number-cli | fhir | nhs-number | |
|---|---|---|---|
| Health Score | 45 | 57 | 55 |
| Total Downloads | 1.1K | 9.3K | 16.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 19 |
| Releases | 5 | 23 | 13 |
| Last Updated | 134d ago | 5d ago | 89d ago |
| Age | 1y 5m | 4y 5m | 1y 5m |
Health Breakdown
Technical Details
| nhs-number-cli | fhir | nhs-number | |
|---|---|---|---|
| Version | 0.4.0 | 4.2.3 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only | MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause |
| Dependencies | 8 | 18 | 4 |
| Crate Size | 34KB | 425KB | 40KB |
| Features | 0 | 10 | 0 |
| Yanked % | 0.0% | 17.4% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.96 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •fhir leads with a health score of 57/100, but none of the options score above 80.
- •nhs-number has the most downloads (16.3K), suggesting wider adoption.
- •nhs-number-cli is pre-1.0 — API may change.