Synthetic FHIR data is increasingly popular for people who are building healthcare apps. It's useful for testing, prototyping, partnerships, sales and more. In the implementations we see here at Medplum, more than half use synthetic data in some form or another!
Synthetic FHIR data is just what it sounds like. It's realistic patient data but it's completely synthetic, and can be shared and used for testing. It's useful to think of synthetic data as a "population" or set of records that correspond to a group of fictional patients.
At Medplum, some of our customers use a project called Synthea to generate this data. Here is some sample data, that shows what the tool generates as raw FHIR Objects. Below are instructions on how to generate some sample data and load it into your Medplum account.
-
Setup Java 1.8+
- Try to run java from a Terminal:
java -version
- Verify that you have Java 1.8+ installed, if not download and install.
- Try to run java from a Terminal:
-
Download Synthea
- Go to Synthea Releases Page
- Download the latest
synthea-with-dependencies.jar
- Move the jar file to it's own directory
-
Run Synthea
- Open a Terminal and navigate to your recently downloaded synthea jar.
- Run:
java -jar synthea-with-dependencies.jar
- This will create a folder called
output
- In the folder
output/fhir
, there will be 3 new files - one representing a hospital, one representing a practitioner, and the third representing a patient.
-
Import the data
- Go to Medplum Batch Create Page
- Copy the contents of the files one at a time, in the correct order
hospitalInformation
firstpractitionerInformation
secondpatient
last
- Once you have imported the data, you can go to the Patients page to browse the data you created.
Let us know if you need assistance with your data sets - we would be happy to help.