Skip to main content

Import Sample Data

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

Download JSON Files

Below are resources belonging to two patients. This is FHIR data constructed in accordance with the USCDI Data Element standards. That means that the FHIR Resources provided are tagged with the right CodableConcepts and ontologies to match the interoperability requirements for an EHR in the US.

Download one or both of the following files:

DataViewDownload
Patient 1Patient 1 View LinkPatient 1 Download
Patient 2Patient 2 View LinkPatient 2 Download

Batch Upload Tool

Log into Medplum and navigate to the batch create 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 page. If you see a patient there - it worked.

Batch create tool

The batch upload tool is a lightweight wrapper around the batch/transaction api and here is the documentation on how to upload a batch using the SDK.