{
  "id": "de_pzn",
  "kind": "datatype",
  "status": "draft",
  "name": "German pharmacy product number (Pharmazentralnummer, PZN)",
  "doc": "Pharmazentralnummer (PZN), the number that the Informationsstelle für Arzneispezialitäten (IFA) assigns to each pack of a medicine, medical device or other pharmacy product sold in Germany; a different pack size gets a different number. Since 2013 it has eight digits: seven digits and a check digit, the sum of the first seven weighted 1 to 7 modulo 11 (a result of 10 is never issued). The seven-digit numbers issued before were kept with a leading 0. Packs show it as PZN-12345678 next to a Code 39 barcode.",
  "is_pii": false,
  "categories": [
    "medical"
  ],
  "country": [
    "DE"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:PZN[- ]?)?\\d{7,8}$",
  "checksum": "de_pzn",
  "examples": [
    {
      "value": "27580899",
      "description": "Example of the IFA coding rules",
      "valid": true
    },
    {
      "value": "PZN-27580899",
      "description": "The same number as printed on a pack",
      "valid": true
    },
    {
      "value": "12571417",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "27580898",
      "description": "Check digit does not match",
      "valid": false
    },
    {
      "value": "275808991",
      "description": "Nine digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://de.wikipedia.org/wiki/Pharmazentralnummer"
    },
    {
      "type": "doc",
      "url": "https://ig.fhir.de/igs/terminologie-basis-de/CodeSystem-pzn.html"
    },
    {
      "type": "other",
      "url": "https://www.ifaffm.de/"
    }
  ],
  "translations": {
    "de": {
      "name": "Pharmazentralnummer (PZN)"
    },
    "ru": {
      "name": "Фармацевтический центральный номер Германии (PZN)",
      "doc": "Номер упаковки лекарства или другого аптечного товара в Германии, который присваивает IFA, - семь цифр и контрольная цифра (сумма первых семи цифр с весами 1-7 по модулю 11)."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/DE/medical/de_pzn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/DE/medical/de_pzn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/DE/medical/de_pzn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/de_pzn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/de_pzn.json"
  }
}