Skip to content

Add an NHS number formatting filter #654

@frankieroberto

Description

@frankieroberto

We should add a Nunjucks filter which formats NHS numbers according to the NHS style guide:

Write the NHS number as 3 groups of numbers, with a single space between them, like this: [485 777 3456](tel:485 777 3456). (This is an example or test number.)

The format is 3 3 4: 2 groups of 3 digits followed by 4 digits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NunjucksPull requests that involve nunjucks functionalityfiltersIssues relating to Nunjucks filterstype: enhancement 💡New feature or request

    Type

    No type

    Projects

    Status

    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions