BIFAP (Pharmacoepidemiologic Research in Public Health Systems) is a database of medical records belonging to the National Health System (SNS) aimed at investigating the patterns of use, safety and effectiveness of drugs. BIFAP is funded and administered by the Spanish Agency of Medicines and Medical Devices (AEMPS) and draws on the data recorded by family doctors and primary care paediatricians in Electronic Clinical Records (HCE-AP) provided by the Autonomous Communities (CCAA) that voluntarily participate through collaboration agreements.

AEMPS’ mission is to ensure compliance with the guarantees of quality, safety and efficacy of the medicinal products that are authorised, and that the relationship between the benefits and risks of the medicinal products is favourable in all cases. After authorisation of the medicinal product, pharmacovigilance’s task is to identify, quantify and assess the new risks and their impact on the medicinal products’ benefit-risk ratio.

The suspected adverse reactions reporting system allows for the identification of new risks (signals) as a result of the use of medicinal products. But it is also necessary to design and carry out specific studies, using the pharmacoepidemiological method, that will allow us to:
  • Confirm the existence of the risk.
  • Characterize and quantify risk.
  • Identify factors that modify this risk.
  • Assess the effectiveness of regulatory measures taken to minimise such risks.

In this scenario, electronic healthcare databases are of special importance and, along with other European regulatory agencies, AEMPS initiated a number of actions, including the BIFAP initiative, a database that makes it possible to carry out studies necessary for regulatory decision-making on medicinal products motivated by safety issues.

BIFAP is based on data recorded by family physicians and primary care paediatricians in the Electronic Clinical Record (HCE-AP). In order to ensure that BIFAP includes longitudinal information on the care activity related to the patients treated, the database is periodically updated, at least once a year, with data provided from each of the participating Autonomous Communities.

All of this allows BIFAP to be a very appropriate source of information for epidemiological studies, aimed at investigating the patterns of use, safety and effectiveness of drugs.


The BIFAP Program is managed by AEMPS, in the Pharmacoepidemiology and Pharmacovigilance Division of its Medicines for Human Use Department, which is the data controller.

Programme Management is the responsibility of the Pharmacoepidemiology and Pharmacovigilance Division, and its coordination within the Division is the responsibility of the Pharmacoepidemiology Unit.

Within the Pharmacoepidemiology and Pharmacovigilance Division, the implementation of the programme is the responsibility of the BIFAP Team, which is organised operationally in: 
  • Coordination and administrative support (COOR)
  • Information Systems Unit (U.SINF)
  • Research Unit (U.INV)
  • Collaborator Support Unit (U.AC)

Each member of thre BIFAP team signs a specific confidentiality document regarding access to BIFAP data.

BIFAP draws on the data recorded in the Electronic Clinical Record provided by participating Autonomous Communities. This participation is based on collaboration agreements detailing the commitments of each Autonomous Community and the AEMPS, as well as other operational aspects.

The commitments under the CCAA-AEMPS Agreements include establishing and maintaining an Advisory Committee composed of two representatives of the AEMPS and at least one representative from each of the autonomous communities participating in BIFAP. Other institutions contributing to the purposes of BIFAP and signing future collaboration agreements are also expected to participate in the Advisory Committee. Said Committee has an advisory role and ensures that BIFAP is consolidated and developed within the framework of the agreements.

The updated information on the composition of the Advisory Committee as well as the list of Collaboration Agreements is posted on the BIFAP website here.

In addition, BIFAP has a Scientific Committee which aims to advise AEMPS on the relevance, feasibility, interest, scientific suitability and technical quality of projects carried out with the BIFAP database. The updated composition of the Scientific Committee as well as all approved projects are published on the BIFAP website here.

The organisation of access, management and provision of the services provided by BIFAP is carried out by defining the different types of users. The BIFAP user profiles are as follows:

  • AEMPS Administrator: Previously authorised AEMPS personnel from the BIFAP team of the Pharmacoepidemiology and Pharmacovigilance Division.
  • All other functions of the AEMPS: AEMPS staff with functions other than the management of the BIFAP programme.
  • Autonomous Communities: Members of the Advisory Committee and staff authorised by each member of the BIFAP Advisory Committee in the collaborating Autonomous Communities, belonging to the Public Administrations of the respective Autonomous Communities.
  • Collaborating physicians: Practicing primary care health professionals from the National Health System of the Autonomous Communities participating in BIFAP and voluntarily registering as such.
  • Registered Researchers: Healthcare professionals or health research professionals registered with BIFAP and who, after meeting certain training requirements, are qualified to request the conduct of a research study at BIFAP.

Access to the different services is made through the “BIFAP Services Web” ( in an area of the BIFAP Web exclusive to registered users. Depending on each profile and certain conditions, the user has access to the services or resources.

The resources that ultimately provide access to and access to BIFAP data are described in the BIFAP Data Access Governance document.

Access to these services is controlled based on the profile of each user, which is established in the system registration process, so that the profile determines the possible functions that each user performs.


Agencia Española de Medicamentos y Productos Sanitarios.
División de Farmacovigilancia.
Programa BIFAP
Calle Campezo 1, Edificio 8
Madrid, 28022


Teléfono: +34 918 225 173

Mobirise web builder - Click here