module
Version:
v0.0.0-...-e1c4db3
Opens a new window with list of versions in this module.
Published: Jun 26, 2024
License: GPL-3.0
Opens a new window with license information.
README
¶
Create test data for HAPI FHIR Service - Local Dev Environment
Pre-requisites:
- Docker (Docker Desktop for Mac or Windows)
- Docker Compose
- Git
- Java 17+
- Maven 3.0+
- Go 1.20+
-
Preparing Test Data
- Go to the 'data' folder
- Download Synthea from GitHub:
https://github.com/synthetichealth/synthea/releases/download/master-branch-latest/synthea-with-dependencies.jar
- run:
./runSynthea.sh [Number of Patients] Default is 101 patients.
- You should look at all the options in Synthea. There are many options to generate test data.
-
Load the data into local hapi fhir servers.
- Go to the 'data' folder and run:
go run loadTestData.go
This can be very slow if you asked for a large number of patients.
After loading the data, you can delete all folders in the 'data' folder.
-
Hapi coding!
Directories
¶
Click to show internal directories.
Click to hide internal directories.