# shortages_by_national_code

Looks up one product by its national code in one country: Czech KOD_SUKL, Spanish Codigo Nacional, Italian AIC (nine digits for a pack; six digits also returns every pack of that medicine), the ANSM listing id for France, or the EMA shortage page slug with country EU. Call it when you hold the code for a specific pack. For a substance across countries, call shortages_by_atc. For Czechia it also returns the product's dated notices. found false means the register lists nothing for that code, not that the product is available. Germany, Hungary and Slovenia return source_not_served, Finland and Ireland source_excluded.

## Input

- `country` (required): ISO country code, or EU for the EMA catalogue.
- `code` (required): The code as printed on the pack or in the register. Leading zeros may be left out.
- `as_of`: Read the data version on or before this date instead of the latest. A pinned read reports source health as it was then.

## Example

```
curl -X POST https://neap.bulkhead.solutions/v1/tools/shortages_by_national_code -H 'content-type: application/json' -d '{"country":"CZ","code":"0269399"}'
```

```json
{
  "country": "CZ",
  "code": "0269399",
  "codeType": "KOD_SUKL",
  "found": true,
  "records": [
    {
      "id": "CZ:0269399",
      "source": "sukl",
      "country": "CZ",
      "nationalCode": "0269399",
      "product": "QUETIAPINE VIATRIS",
      "pack": "200MG TBL FLM 100",
      "substance": null,
      "atc": "N05AH04",
      "atcBasis": "source",
      "status": "shortage",
      "sourceStatus": "preruseni",
      "start": "2026-11-01",
      "expectedEnd": "2027-01-31",
      "expectedEndText": null,
      "lastUpdated": "2026-09-09",
      "reason": "Zvýšené prodeje",
      "sourceListDate": "2026-11-09",
      "sourceListDateBasis": "list_date",
      "provenance": {
        "sourceUrl": "https://opendata.sukl.gov.cz/soubory/MR/mr.zip",
        "recordUrl": null,
        "fetchedAt": "2026-11-09T21:48:42.370Z",
        "contentHash": "6855201fbec5a3e3930efe8cce0ddf0744896d7c5fd11a00f77c8b86d702f3ca",
        "recordHash": "968930aba6a4269e"
      }
    }
  ],
  "product": "QUETIAPINE VIATRIS",
  "pack": "200MG TBL FLM 100",
  "atc": "N05AH04",
  "noticeCount": 6,
  "notices": [
    {
      "type": "preruseni",
      "validFrom": "2026-11-01",
      "reported": "2026-09-09",
      "expectedResumption": "2027-01-31",
      "lastValid": true,
      "reason": "Zvýšené prodeje"
    },
    {
      "type": "obnoveni",
      "validFrom": "2026-07-28",
      "reported": "2026-07-23",
      "expectedResumption": null,
      "lastValid": false,
      "reason": null
    },
    "... 4 more"
  ],
  "dataVersion": "2026-11-09",
  "sources": "1 entries, see the full response",
  "attribution": "1 entries, see the full response",
  "warnings": [],
  "complete": true,
  "scope": "...",
  "notAdvice": "Supply facts from public registers. Not clinical advice, not substitution advice."
}
```

---

Automated and unreviewed. Neap reads official sources automatically and no person checks each answer. Data can be incomplete, late or wrong. Always verify against the official source linked with every answer before you act. Not legal, tax or customs advice. Not medical advice. Ask a pharmacist or doctor. A supply status is not a clinical recommendation.

Data version 9 November 2026.
