·

Teknologian käyttöönotto

Perusterveydenhuolto

Terveydenhuollon IT / CIO

Medical record systems for primary care in Spain

Overview of Spain's regional primary care medical record systems, from DIRAYA and Abucasis to SIDIAP, and the interoperability challenges they face

Spain's primary care medical record systems sit at the centre of how the Sistema Nacional de Salud (SNS), the country's publicly funded health system, delivers care. Unlike countries that have standardised on a single national platform, Spain operates with a patchwork of regional systems, each developed, procured, and managed independently by one of the country's 17 autonomous communities. More than 95% of primary care physicians in Spain now use a medical record system, making the country one of the most digitised in Europe for primary care, but the fragmentation beneath that headline figure is significant.

How medical record systems work in Spanish primary care

Within the SNS, primary care is delivered through centros de salud (health centres) staffed by general practitioners, nurses, and allied health professionals. Medical record systems in this setting handle the full clinical workflow: patient registration, appointment scheduling, clinical documentation, electronic prescribing, diagnostic coding, and referrals to secondary care.

Spain's electronic prescribing infrastructure, known as Receta XXI or its regional equivalents, is integrated into all regional medical record platforms. This allows prescriptions to be generated digitally and dispensed at any pharmacy within the same autonomous community. Clinical coding typically uses ICPC-2 (International Classification of Primary Care) for diagnoses in primary care, alongside ICD-9CM or ICD-10 in some systems, supporting structured data collection that underpins both clinical care and research.

The practical consequence of this architecture is visible in published research. A large observational study reviewing medical records from 70 health centres across Spain demonstrated the depth of structured clinical data available within these systems, capturing prescribing patterns, glycaemic control, and comorbidities at scale. A population-based cohort study using medical record data from three primary health care centres in Barcelona illustrated how continuity of care metrics can be extracted directly from routine records.

Why Spain has no single national medical record system

The absence of a unified national medical record system is a direct consequence of Spain's constitutional structure. Health competencies were transferred from central government to the autonomous communities in stages, with the process largely complete by 2001. From that point, each regional health service (servicio de salud) took responsibility for its own clinical IT infrastructure and began developing or procuring its own systems independently.

The Ministry of Health sets national standards for interoperability and data exchange, but it does not mandate a single platform. This has produced a landscape in which each autonomous community has invested in its own medical record development plans, resulting in varying levels of functionality and maturity across the country. A 2013 academic analysis published in the Journal of Medical Systems described the critical lack of interoperability between Spanish regional medical record systems as one of the defining structural challenges of the national health IT landscape, a characterisation that, while progress has been made, continued to reflect significant structural challenges through the early 2020s.

The Spanish government has acknowledged the problem at the highest level. As of late 2025, a new law was being prepared to ensure all citizens have an interoperable digital health record accessible across Spain and the EU, a signal that legislative intervention is now considered necessary to address what voluntary standardisation has not resolved.

The most widely used medical record systems in Spanish primary care

The following platforms represent the dominant primary care medical record systems across Spain's autonomous communities. Coverage figures and regional assignments reflect the situation as documented in peer-reviewed literature and official sources.

DIRAYA — Andalusia

DIRAYA is Andalusia's integrated health information system and one of the largest medical record systems in Europe, covering more than 8 million people across 50 hospitals and approximately 1,500 primary care centres. It integrates primary and secondary care records within a single regional platform, making it one of the most functionally comprehensive systems in Spain. (Note: These figures should be verified against current Junta de Andalucía or SAS sources, as they may have changed since the referenced documentation was produced.)

Abucasis — Valencian Community

Abucasis is the primary care medical record system used across the Valencian Community. It handles clinical documentation, electronic prescribing, and patient scheduling, and integrates with the region's hospital information systems. It is among the longest-established regional platforms in Spain.

Osabide / Osabide Global — Basque Country

The Basque Country's health service, Osakidetza, operates Osabide for primary care (Osabide-AP) and Osabide Global for hospital settings. In February 2025, Ayesa connected Osabide with Spain's national health record infrastructure, enabling cross-regional patient data access including primary care appointments, test results, and clinical communications. This represented a significant step in national interoperability.

IANUS — Galicia

IANUS is Galicia's self-developed, centralised medical record system. According to European Commission documentation from 2014, it was fully deployed across 14 hospitals and more than 400 primary care centres, integrating radiology, pharmacy, laboratory results, and outpatient scheduling across all nodes. Its centralised architecture was considered a model for regional health IT integration at the time of its rollout.

AP-Madrid / Horus — Community of Madrid

The Community of Madrid has used AP-Madrid as its primary care medical record system, with Horus representing a more recent iteration of the platform. The Madrid system serves one of Spain's largest urban populations and integrates with the region's hospital information infrastructure.

OMI-AP — Aragón and other regions

OMI-AP has been one of the most geographically widespread primary care medical record systems in Spain, deployed across multiple autonomous communities over more than two decades. Aragón used OMI-AP for over 20 years before beginning a progressive replacement with a unified Historia Clínica Única that integrates primary and hospital care. The rollout of this new system began in Calatayud in September 2024.

Atenea — Navarre

Navarre's primary care medical record system, Atenea, records clinical data including diagnoses coded with ICPC-2 and ICD-9CM, and has been used in cross-national database research comparing Spanish and French primary care populations.

Drago-AP — Canary Islands

The Canary Islands operate Drago-AP as their primary care medical record system, a platform developed specifically for the archipelago's health service.

eSIAP (Dedalus) — Multiple regions

eSIAP, developed by Dedalus Spain, is a web-based, highly interoperable primary care medical record system used across several autonomous communities. It features electronic prescribing connected to regional pharmacies, flexible clinical templates, video consultation integration, and multi-facility scheduling, all from a single patient database. Its modular architecture makes it one of the more adaptable commercial platforms available in the Spanish market.

SIDIAP — Catalonia (research infrastructure)

Catalonia's primary care medical record data, generated within the regional clinical system, is aggregated into SIDIAP (Information System for Research in Primary Care), a major research database that has produced some of the most widely cited primary care research in Europe. Studies using SIDIAP have produced some of the most widely cited primary care research in Europe, covering populations of hundreds of thousands of patients. A scoping review of medical record-based multimorbidity research identified Spain, largely on the strength of SIDIAP, as one of the primary sources of large-scale medical record research globally.

EDESIS — Asturias

Asturias operates EDESIS as its primary care medical record system, one of several smaller regional platforms that have developed in parallel with the larger systems described above.

What features these systems share

Despite their architectural and vendor differences, primary care medical record systems across Spain share a broadly consistent set of core functions:

  • Clinical documentation: Structured encounter notes, problem lists, and medical history

  • Electronic prescribing: Integration with regional Receta Electrónica systems, supporting pharmacy dispensing without paper prescriptions

  • Clinical coding: ICPC-2 for primary care diagnoses, with ICD-9CM or ICD-10 used in some contexts

  • Patient summaries: Consolidated views of active conditions, medications, and allergies

  • Appointment scheduling: Management of GP and nurse appointments across health centres

  • Referral management: Generation and tracking of referrals to secondary care services

  • Preventive care and chronic disease management: Recall systems for screening programmes and long-term condition monitoring

The eFRAGICAP frailty index validation study in Catalonia illustrated the depth of structured data available within these systems. The index drew on clinical diagnoses, prescriptions, physical examination results, and questionnaire responses, all routinely recorded within primary care medical record fields. This level of structured data capture is broadly consistent across the major regional platforms.

Interoperability between regional systems: the role of HCD-SNS

Spain's national response to regional fragmentation is the Historia Clínica Digital del SNS (HCD-SNS), a shared clinical record infrastructure that allows clinicians in one autonomous community to access key patient data from another. The project launched in 2006, several years after the transfer of health competencies to the regions was completed, and has been progressively expanded since.

The HCD-SNS does not replace regional medical record systems. Instead, it operates as a federated layer that exposes defined data sets, including patient summaries, electronic prescriptions, and clinical reports, to authorised clinicians across regional boundaries. The February 2025 integration of Osakidetza's Osabide with the national SNS infrastructure by Ayesa is a concrete example of this ongoing work, supporting access to primary care appointments, diagnostic results, and clinical communications for patients crossing regional borders.

Limitations remain significant. Real-time data exchange between systems is not universally available. The depth of data accessible through the HCD-SNS varies by region, and some autonomous communities remain only partially integrated. The 2013 Journal of Medical Systems analysis identified interoperability as the defining structural weakness of Spanish health IT. Progress has been made in the intervening decade, but the challenge has not been fully resolved.

Challenges facing medical record systems in Spanish primary care

Clinicians and health administrators across Spain have consistently reported a set of recurring pain points with existing medical record infrastructure.

Documentation burden

The time required to complete clinical records within legacy medical record interfaces contributes significantly to documentation burden on GPs and nurses. Structured data entry requirements, combined with systems not optimised for rapid documentation, extend the time clinicians spend on administrative tasks relative to direct patient care.

Legacy system constraints

Several of the platforms currently in use were originally developed in the 1990s or early 2000s. While they have been updated incrementally, their underlying architectures can limit the adoption of modern features such as real-time interoperability, mobile access, and AI-assisted tools.

Limited real-time interoperability

Despite the HCD-SNS, data exchange between regional systems in real time remains inconsistent. A patient presenting at a health centre in a different autonomous community from where they are registered may not have their full clinical history immediately accessible to the treating clinician.

Slow modernisation cycles

Public procurement processes and the scale of regional health IT contracts mean that replacement or significant upgrade cycles are lengthy. Aragón's transition away from OMI-AP, a system used for over 20 years, illustrates both the longevity of legacy platforms and the complexity of replacing them at regional scale.

Variation in data quality and completeness

A scoping review of medical record-based multimorbidity research noted that reporting on data completeness and sociodemographic characteristics within medical record datasets was notably limited, a finding with implications for both clinical care and research reproducibility.

These challenges are not unique to Spain. Legacy system constraints, documentation burden, and interoperability gaps are reported across most European healthcare systems, including those with more centralised medical record governance.

The push toward modernisation and AI integration

Interest in modernising primary care medical record infrastructure is growing across Spanish regional health services. The drivers include rising documentation burden, an ageing population with complex multimorbidity, and the availability of AI-assisted tools that were not technically feasible when current systems were designed.

The direction of travel is visible in several areas. Regional health services including Aragón are actively replacing legacy platforms with unified systems that integrate primary and secondary care records. The national legislative agenda, including the proposed law on health data regulation announced in September 2025, signals a political commitment to interoperability that goes beyond technical standardisation.

Ambient Voice Technology (AVT) and AI-assisted clinical documentation are attracting increasing attention as tools that can reduce the documentation burden on GPs without requiring wholesale medical record replacement. These tools typically operate as a layer above existing medical record systems, capturing and structuring clinical information during consultations and reducing the time clinicians spend on manual data entry. Commercial platforms offering this capability are beginning to enter the Spanish market, though adoption within publicly funded primary care remains at an early stage.

AI-driven clinical decision support, including tools for chronic disease management, risk stratification, and prescribing support, is also an active area of development. Spain's primary care medical record infrastructure, with its large longitudinal datasets, provides a strong foundation for training and validating such tools. The SIDIAP database in Catalonia has already demonstrated the research potential of this data at scale.

The broader European regulatory context is also relevant. The EU AI Act and the European Health Data Space (EHDS) regulation both have direct implications for how AI tools can be deployed within clinical medical record environments. Spanish health technology vendors and procurers will need to navigate these frameworks as adoption accelerates.

Key takeaways for clinicians and health technology vendors

For anyone working with or within Spain's primary care medical record landscape, several practical realities stand out.

  • There is no single national medical record system. Spain's 17 autonomous communities each manage their own platforms, and the dominant system in one region may be entirely absent in another.

  • Regional procurement relationships are decisive. Health technology companies entering the Spanish market must engage with individual servicios de salud, not a central national body. Procurement cycles are long and relationships with regional health IT teams matter.

  • Interoperability is improving but incomplete. The HCD-SNS provides a degree of cross-regional data access, and recent integrations such as the Osakidetza–SNS connection represent genuine progress. Real-time, comprehensive data exchange across all regions remains a work in progress.

  • Legacy systems are being replaced gradually. Modernisation is underway in several regions, but transitions take years. Any technology designed to integrate with Spanish primary care medical record systems must account for the continued presence of legacy platforms alongside newer systems.

  • Spain's medical record data infrastructure is a research asset. The depth and scale of structured clinical data in systems like SIDIAP make Spain one of the most productive environments in Europe for primary care research, a fact increasingly recognised in the international literature.

  • AI integration is on the agenda. Regional health services are exploring AI-assisted documentation and clinical decision support, but deployment within publicly funded primary care is at an early stage and will be shaped by both national legislation and EU regulatory frameworks.

Frequently asked questions

▶ Does Spain have a single national medical record system for primary care?

No. Spain's 17 autonomous communities each manage their own primary care medical record systems independently. Health competencies transferred from central government to the regions in stages, completing largely by 2001, and each regional health service has since developed or procured its own platform. The Ministry of Health sets interoperability standards but doesn't mandate a single national system.

▶ What are the most widely used primary care medical record systems in Spain?

The dominant platforms vary by region. Andalusia uses DIRAYA, covering more than 8 million people. The Valencian Community uses Abucasis. The Basque Country operates Osabide for primary care and Osabide Global for hospitals. Galicia uses IANUS, Madrid uses AP-Madrid and its successor Horus, and Aragón used OMI-AP for over 20 years before beginning a transition to a unified system. Navarre operates Atenea, the Canary Islands use Drago-AP, and eSIAP from Dedalus is deployed across several regions.

▶ How does electronic prescribing work in Spanish primary care?

Spain's electronic prescribing infrastructure, known as Receta XXI or its regional equivalents, is integrated into all regional medical record platforms. It allows prescriptions to be generated digitally and dispensed at any pharmacy within the same autonomous community, removing the need for paper prescriptions.

▶ What is the HCD-SNS and how does it address regional fragmentation?

The Historia Clínica Digital del SNS (HCD-SNS) is Spain's national shared clinical record infrastructure, launched in 2006. It doesn't replace regional medical record systems. Instead, it operates as a federated layer that gives authorised clinicians in one autonomous community access to defined data sets, including patient summaries and electronic prescriptions, from another region. Real-time data exchange isn't universally available, and the depth of data accessible varies by region.

▶ What clinical coding standards do Spanish primary care systems use?

Primary care medical record systems in Spain typically use ICPC-2 (International Classification of Primary Care) for diagnoses. Some systems also use ICD-9CM or ICD-10, particularly in contexts that overlap with secondary care. This structured coding supports both clinical care and large-scale research.

▶ What are the main challenges with medical record systems in Spanish primary care?

Clinicians and health administrators consistently report several recurring issues. Documentation burden is significant, with structured data entry requirements extending the time GPs and nurses spend on administrative tasks. Several platforms were originally developed in the 1990s or early 2000s, and their underlying architectures can limit modern features such as real-time interoperability and mobile access. Cross-regional data exchange remains inconsistent despite the HCD-SNS, and public procurement processes mean that replacement cycles are lengthy.

▶ What is SIDIAP and why does it matter for primary care research?

SIDIAP (Information System for Research in Primary Care) is Catalonia's research database, built from clinical data generated within the region's primary care medical record system. It has produced some of the most widely cited primary care research in Europe, covering populations of hundreds of thousands of patients. A scoping review of medical record-based multimorbidity research identified Spain, largely on the strength of SIDIAP, as one of the primary sources of large-scale medical record research globally.

▶ How is Spain approaching the modernisation of its primary care medical record infrastructure?

Several regional health services are actively replacing legacy platforms with unified systems that integrate primary and secondary care records. Aragón began transitioning away from OMI-AP in September 2024. At a national level, a new law was being prepared as of late 2025 to ensure all citizens have an interoperable digital health record accessible across Spain and the EU. Ambient Voice Technology and AI-assisted clinical documentation are also attracting interest as tools that can reduce documentation burden without requiring wholesale medical record replacement.

▶ What should health technology vendors know before entering the Spanish primary care market?

There's no central national body to engage with. Vendors must work with individual regional health services, known as servicios de salud, and procurement cycles are long. Any technology designed to integrate with Spanish primary care medical record systems needs to account for the continued presence of legacy platforms alongside newer systems. The EU AI Act and the European Health Data Space regulation also have direct implications for how AI tools can be deployed within clinical medical record environments in Spain.

Aloita Tandemin käyttö jo tänään

Liity tuhansien sote-ammattilaisten joukkoon ja nauti huolettomasta kirjaamisesta.

Aloita Tandemin käyttö jo tänään

Liity tuhansien sote-ammattilaisten joukkoon ja nauti huolettomasta kirjaamisesta.

Aloita Tandemin käyttö jo tänään

Liity tuhansien sote-ammattilaisten joukkoon ja nauti huolettomasta kirjaamisesta.