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

# Human Phenotype Ontology (HPO) term ID (`hpo_id`)

> **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.

Identifier of a term in the Human Phenotype Ontology, a vocabulary of the phenotypic abnormalities seen in human disease. It is HP: and seven digits; OBO PURLs write HP_ instead.

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

## Detection

Regular expression (Python `re`):

```
^HP[:_]\d{7}$
```

## Examples

- `HP:0001250` — Seizure
- `HP:0011140` — Gastrointestinal duplication; Bioregistry example
- `HP_0001250` — Seizure, underscore form of the OBO PURL
- `HP:001250` (invalid example) — Six digits instead of seven

## Mappings

- bioregistry: `hp`
- wikidata: `P3841`

## Sources

- doc: <https://hpo.jax.org/>
- other: <https://bioregistry.io/registry/hp>
- wikidata: <https://www.wikidata.org/wiki/Property:P3841>

## Quality

Score 85/100. Missing: translation, detector coverage.

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