Architecture Overview | Medplum

Glossary

Before we get started, let's define some terms.

In this guide, we will call each input system that contributes patient data a source system. The output of your deduplication pipeline will be called the target system.

Most pipelines make a copy of each patient record from the source system into the target system. We will call these copies source records. The final, combined patient record will be called the master record.

Pipeline

While deduplication pipelines can take many forms, there are three primary operations in every pipeline:

  1. Ingestion: Copying data from source systems into the target system to create source records.
  2. Matching: For each patient record, find all other records that are potential matches. Medplum's built-in Patient $match operation provides a FHIR-standard way to query candidates by demographics.
  3. Merging: Merge all the information into a single record to serve as the source of truth.

Key Decisions

There are many different ways to implement this pipeline, but there are a few key decisions that you will need to make when choosing an architecture:

We'll discuss each of these in depth. The most important factors to consider when making these decisions are:

In the next section, we will discuss the Ingestion stage of the deduplication pipeline.