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

# Anatomical Therapeutic Chemical (ATC) Classification System (`atccode`)

The Anatomical Therapeutic Chemical (ATC) Classification System is a drug classification system that classifies the active ingredients of drugs according to the organ or system on which they act and their therapeutic, pharmacological and chemical properties. Its purpose is an aid to monitor drug use and for research to improve quality medication use. It does not imply drug recommendation or efficacy.

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

## Detection

Regular expression (Python `re`):

```
[A-V]([0-9][0-9]([A-Z]([A-Z]([0-9][0-9])?)?)?)[0-9]
```

## Examples

- `D08AX08` — ethanol
- `A02BC04` — (RS)-rabeprazole

## Mappings

- bioregistry: `atc`
- wikidata: `P267`

## Metacrafter rules

9 rules: 5 match the field name, 4 match values.

- `deatcfield` (field, `de/de_med.yaml`)
- `deatcvalue` (data, `de/de_med.yaml`)
- `enatcfield` (field, `en/en_med.yaml`)
- `enatcvalue` (data, `en/en_med.yaml`)
- `esatcfield` (field, `es/es_med.yaml`)
- `esatcvalue` (data, `es/es_med.yaml`)
- `fratcfield` (field, `fr/fr_med.yaml`)
- `fratcvalue` (data, `fr/fr_med.yaml`)
- `rumedicineatcbyknown` (field, `ru/ru_med.yaml`)

## Supported by tools

- `metacrafter`
- `metacrafterpro`

## Translations

- ru: Анатомо-терапевтическо-химическая классификация (АТХ): Анатомо-терапевтическо-химическая классификация — международная система классификации лекарственных средств.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Anatomical_Therapeutic_Chemical_Classification_System>
- wikidata: <https://www.wikidata.org/wiki/Property:P267>

## Quality

Score 85/100. Missing: anchored regexp, negative example.

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