---
id: "pmid"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["science", "publishing", "medical"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/pmid"
---

# PubMed ID (PMID) (`pmid`)

> **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 a citation record in PubMed, the biomedical literature database of the US National Library of Medicine. It has up to eight digits.

- Personal data (PII): no
- Categories: Scientific (science), Publishing and print (publishing), Medical/pharma identifiers (medical)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[1-4]\d{7}|[1-9]\d{0,6})$
```

## Examples

- `17246615`
- `823`
- `4388`

## Mappings

- bioregistry: `pubmed`
- wikidata: `P698`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/PubMed>
- doc: <https://pubmed.ncbi.nlm.nih.gov/>
- wikidata: <https://www.wikidata.org/wiki/Property:P698>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/pmid.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/pmid.yaml>
