# Importing Sample Data into Medplum

When starting development, it can be really useful to have some sample data to work with, and to test your application. This tutorial will walk you through importing sample FHIR data into your Medplum project to aid in building a realistic application.

## The Medplum App

The Medplum app is an administrative console, where developers can view their Medplum data, audit resource changes, and configure project settings. Most Medplum users do not use the Medplum app for patient or physician workflows, but rather build customized experiences or build on Medplum's example applications.

Read more about the Medplum App [here](/content/docs/app/index.html).

## Download JSON Files

Below are resources belonging to two patients. This is FHIR data constructed in accordance with the [USCDI Data Element](/content/docs/fhir-datastore/understanding-uscdi-dataclasses/index.html) standards. That means that the FHIR Resources provided are tagged with the right [CodableConcepts](/content/docs/fhir-basics#standardizing-data-codeable-concepts/index.html) and ontologies to match the interoperability requirements for an EHR in the US.

Download one or both of the following files:

| Data       | Download                                                                                             |
|------------|-----------------------------------------------------------------------------------------------------|
| Patient 1  | [Patient 1 Download](https://drive.google.com/file/d/1bEyKSy55k9ZrrDLBj1NkHyL4ou75_eRX/view?usp=sharing) |
| Patient 2  | [Patient 2 Download](https://drive.google.com/file/d/1Zj3EWeWj7-wP52CAZjSqzwCxZMlx6QZM/view?usp=share_link) |

## Batch Upload Tool

Log into Medplum and navigate to the [batch create](https://app.medplum.com/batch) tool. Upload the files you downloaded in the previous section.

### Note
**Do not upload files twice.** If you aren't sure whether the upload worked, go to the [Patient](https://app.medplum.com/Patient) page. If you see a patient there - it worked.

The batch upload tool is a lightweight wrapper around the [batch/transaction api](https://www.hl7.org/fhir/http.html#transaction) and here is the documentation on how to [upload a batch using the SDK](/content/docs/sdk/core.medplumclient.executebatch).

## Generating More Sample Data with Synthea

The two patients above are handy for a quick start, but when you need a larger, more varied population, [Synthea](https://github.com/synthetichealth/synthea) is a great source of synthetic FHIR data. Synthea generates realistic, statistically-modeled patient histories that you can load into Medplum the same way you loaded the files above.

You can either download pre-generated [Synthea sample bundles](https://github.com/synthetichealth/synthea-sample-data/tree/master/downloads), or run Synthea yourself to generate a custom-sized population. For a step-by-step walkthrough of generating bundles and importing them with the [batch create](https://app.medplum.com/batch) tool, see the [Getting Started with Synthetic FHIR Data](/content/blog/2021/12/13/synthea/index.html) guide.

- [Download JSON Files](/content/docs/tutorials/importing-sample-data#download-json-files/index.html)
- [Batch Upload Tool](/content/docs/tutorials/importing-sample-data#batch-upload-tool/index.html)
- [Generating More Sample Data with Synthea](/content/docs/tutorials/importing-sample-data#generating-more-sample-data-with-synthea/index.html)
