Data Schema
Records are country-scoped so future sources can coexist without id collisions.
{
"id": "ES_AEMPS_R_21_2026",
"country": "ES",
"authority": "AEMPS",
"local_id": "R_21/2026",
"date": "2026-06-03",
"medicine": "OCULOTECT 50 mg/ml COLIRIO EN SOLUCION",
"product_codes": [
{"system": "CN", "value": "755215"}
],
"lots": ["ABC123"],
"source_url": "https://www.aemps.gob.es/...",
"pdf_url": "https://www.aemps.gob.es/...",
"confidence": 0.84,
"warnings": []
}
Field groups
Identitycountry, authority, id, local_id
Productmedicine, manufacturer, product_codes, lots
Evidencesource_url, pdf_url, confidence, warnings
Product codes
Spain uses Código Nacional:
{"system": "CN", "value": "755215"}
Future adapters should use their national product code systems without changing the field shape. Examples include FDA NDC, UK PL, and Canadian DIN.
Confidence and warnings
confidence is a parser confidence score, not a clinical or regulatory risk
score. warnings record missing or fallback-extracted fields so reviewers can
inspect imperfect records.