Spain's CIMA supply problem list, field by field
What AEMPS publishes in CIMA's supply problem list, what it leaves out (ATC, a list date, a legend for problem types) and how Neap fills the gaps.

Spain publishes its medicine supply problems through CIMA, the online medicines information centre of AEMPS, the Spanish Agency of Medicines and Medical Devices. The list is compact, current and machine-readable, which makes it one of the easier registers to read. It is also missing three things a buyer comparing countries needs: an ATC code, a date for the list, and a legend for its problem types.
All figures below come from Neap's data version of 9 November 2026.
What does the CIMA supply problem list contain?
The list is served by CIMA's REST service at cima.aemps.es/cima/rest/psuministro. On 9 November 2026 it held 921 rows, one per Codigo Nacional, the six-digit national code printed on Spanish packs. Every row was marked active.
Each row carries five fields Neap relies on:
| Field | What it holds | What Neap does with it |
|---|---|---|
cn | the Codigo Nacional | nationalCode |
nombre | product name with strength, form and pack size in one line | product |
tipoProblemaSuministro | a number for the type of problem | kept in sourceStatus |
fini, ffin | start and expected end, as timestamps | start and expectedEnd, as dates in Madrid time |
activo | true or false | shortage when true, resolved when false |
A sixth field, observ, holds observations, which are mostly substitution wording. Neap drops it when the list is read, because naming an alternative is advice, not a supply fact.
Of the 921 rows, 643 named an expected end date and 278 did not. The earliest start date on the list was 6 May 2016, so some problems have stayed open for years.
Why is there no ATC code on the list?
CIMA's supply list identifies products by national code only. To compare Spain with other countries, Neap asks CIMA's own product service (medicamento?cn=) for the ATC code AEMPS gives each national code, and stores the pairs it learns. Every one of the 921 records had a code this way on 9 November: 907 at the fifth level, 14 at a broader level where CIMA gives no deeper one. Each record says how its code was found (atcBasis: cima_medicamento), so an agent can tell a code printed on the register from one looked up per product.
That is also why the ATC code on a Spanish record can be broader than on a Czech or Italian one. The quetiapine pack 687967, for example, carries N05AH from CIMA, where Italy and Czechia print N05AH04.
What do the numbered problem types mean?
CIMA publishes the problem type as a number from 1 to 12 (8 did not appear). We found no legend for those numbers that AEMPS publishes and that we could cite, so Neap passes the number through unchanged, together with the active flag, rather than guess a translation. On 9 November the distribution was:
| tipoProblemaSuministro | Rows |
|---|---|
| 5 | 629 |
| 6 | 70 |
| 3 | 56 |
| 10 | 48 |
| 9 | 45 |
| 7 | 36 |
| 11 | 13 |
| 12 | 11 |
| 1 | 6 |
| 4 | 5 |
| 2 | 2 |
Every active row maps to Neap's shortage. If AEMPS publishes a legend, Neap can add it without changing a single stored value.
Why is the date on a Spanish answer a retrieval date?
AEMPS's legal notice authorises reproduction of its content on two conditions: cite the origin, and state the date of last update. CIMA's supply list carries no last-update date of its own. Neap therefore states the date it retrieved the list, says so in the credit line, and marks it in every record as sourceListDateBasis: retrieved rather than list_date. For the 9 November version that date is 9 November 2026.
A real Spanish answer
shortages_by_national_code {"country":"ES","code":"687967"}
{
"nationalCode": "687967",
"product": "QUETIAPINA CINFA 200 mg COMPRIMIDOS DE LIBERACION PROLONGADA EFG , 60 comprimidos",
"substance": "quetiapina",
"atc": "N05AH",
"atcBasis": "cima_medicamento",
"status": "shortage",
"sourceStatus": "tipoProblemaSuministro 5, activo true",
"start": "2026-10-30",
"expectedEnd": "2026-11-30",
"sourceListDate": "2026-11-09",
"sourceListDateBasis": "retrieved"
}
The record has no reason field, because CIMA publishes none. You can run it yourself on the free tool.
Does the list keep resolved problems?
No. Rows leave the list when a problem ends, so the list shows the present only. Neap keeps a dated copy every day from 7 November 2026, which is the only way to answer later what Spain listed on a given day. The change feed reports rows that were listed or delisted between versions, and a delisted row is reported as delisted, not as resolved, because the list does not say why it left.
Can CIMA data be reused in a paid service?
AEMPS's legal notice authorises total or partial reproduction with the origin cited and the date of last update stated. It does not use the word "commercial" and does not name CIMA, so Neap's reading rests on that notice and on Spain's public sector reuse law, which allows commercial reuse by default. It is the weakest of the five served sources, and we have drafted a request for written confirmation. If AEMPS refuses, Spain is held back the same day. The reasoning is on the sources page, and the Spain page lists what is active today.
Neap's answers are produced automatically and are not reviewed by a person, so check CIMA's own record before you act on one.
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.
More from the blog
All articles
How EU medicine shortage registers work, and how they differ
Who publishes medicine shortage data in the EU, which code each register uses, how statuses differ, and what Neap keeps when it joins them.

AIFA's medicine shortage list: fields, dates and credit
What Italy's AIFA shortage CSV contains, how its list date and reasons work, why permanent withdrawals are not shortages, and how to credit it under CC BY 4.0.

ANSM: rupture de stock versus tension d'approvisionnement
The two French shortage statuses ANSM uses, what its availability table holds and lacks, and how Neap codes French records without guessing.