# cross_country_summary

Compares one ATC code across every served register: active records per country, split into shortNow and announced (start date after the snapshot), status breakdown, earliest start, latest update, how many are past their expected end, and how many have none. Call it to see whether a shortage is local or spreading. For the records themselves, call shortages_by_atc; for movement over time, call history_for. Counts are records as each register defines them (packs in Spain and Czechia, products elsewhere), so they compare presence, not volume. Countries with no active record are listed separately from countries Neap does not cover.

## Input

- `atc` (required): ATC code at any level, for example N, J01, J01C or J01CA04. Matches by prefix, so N covers every nervous system record. To get a code from a medicine name, call find_medicine first.
- `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/cross_country_summary -H 'content-type: application/json' -d '{"atc":"N05AH04"}'
```

```json
{
  "atc": "N05AH04",
  "countriesWithActiveRecords": [
    "EU",
    "CZ",
    "... 3 more"
  ],
  "countriesShortNow": [
    "EU",
    "CZ",
    "... 3 more"
  ],
  "activeRecords": 107,
  "shortNowRecords": 103,
  "announcedRecords": 4,
  "activeDefinition": "...",
  "countries": [
    {
      "country": "EU",
      "source": "ema",
      "active": 1,
      "shortNow": 1,
      "announced": 0,
      "byStatus": {
        "shortage": 1
      },
      "pastExpectedEnd": 0,
      "noExpectedEnd": 1,
      "earliestStart": "2025-03-11",
      "latestUpdate": "2026-05-04",
      "viaNameMatch": 1,
      "ambiguousCode": 0,
      "substanceNames": []
    },
    {
      "country": "CZ",
      "source": "sukl",
      "active": 17,
      "shortNow": 15,
      "announced": 2,
      "byStatus": {
        "discontinued": 39,
        "shortage": 15,
        "announced": 2,
        "resolved": 4
      },
      "pastExpectedEnd": 0,
      "noExpectedEnd": 0,
      "earliestStart": "2024-10-07",
      "latestUpdate": "2026-10-30",
      "viaNameMatch": 0,
      "ambiguousCode": 0,
      "substanceNames": []
    },
    "... 3 more"
  ],
  "noActiveRecord": [],
  "sourceUnavailable": [],
  "notJoinable": {
    "byCountry": {
      "EU": 4,
      "FR": 55
    },
    "note": "Active records with no ATC code at all, not even a candidate, which this summary cannot count. Records with several candidate codes are counted under ambiguousCode."
  },
  "absence": "No record does not mean available. It means this register lists nothing for that query.",
  "coverage": {
    "heldBack": [
      {
        "country": "DE",
        "why": "BfArM's imprint forbids copying or distributing its texts and tables without prior consent (found 7 November 2026). Not fetched at all until BfArM consents in writing; the one snapshot already taken i..."
      },
      {
        "country": "HU",
        "why": "Reuse terms unread. Not fetched until OGYEI answers in writing (paused 10 November 2026; earlier private copies are kept unused)."
      },
      {
        "country": "SI",
        "why": "Reuse terms unconfirmed. Not fetched until JAZMP answers in writing (paused 10 November 2026; earlier raw copies are kept unused)."
      }
    ],
    "excluded": [
      {
        "country": "FI",
        "why": "Fimea's terms forbid selling the information or using it commercially, so Neap does not fetch it."
      },
      {
        "country": "IE",
        "why": "The shortage path is disallowed in robots.txt, so Neap does not fetch it."
      }
    ],
    "otherCountries": "Other EU and EEA registers are not integrated, so they are unknown here, not clear."
  },
  "dataVersion": "2026-11-09",
  "sources": "5 entries, see the full response",
  "attribution": "5 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.
