---
id: "br_cns"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["medical", "pii", "persons"]
country: ["BR"]
langs: ["pt"]
quality: 73
url: "https://registry.apicrafter.io/datatype/br_cns"
---

# Brazilian national health card number (CNS) (`br_cns`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Number of the Cartão Nacional de Saúde, the 15-digit identifier of a patient of the Brazilian Unified Health System (SUS), issued by the Ministry of Health and DATASUS. According to the ANS, numbers start with 1 or 2 (derived from the PIS base), 7 (generated by DATASUS) or 8 or 9 (generated locally). The DATASUS FHIR profile only requires 15 digits, which the regexp follows.

- Personal data (PII): yes
- Categories: Medical/pharma identifiers (medical), Personally identifiable information (pii), Person related (persons)
- Countries: Brazil (BR)
- Languages: Portuguese (pt)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{15}$
```

## Examples

- `764602784845945` — Synthetic value in the documented format
- `76460278484594` (invalid example) — Fourteen digits

## Translations

- pt: Cartão Nacional de Saúde (CNS)

## Sources

- doc: <http://www.ans.gov.br/images/FAQ_CNS.pdf>

## Quality

Score 73/100. Missing: second example, mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/br_cns.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BR/medical/br_cns.yaml>
