This project is a reference FHIR server for the Da Vinci Payer Data exchange Plan Network Implementation Guide. It is based on the HAPI FHIR JPA Server (Version 4.1.0).
Note: HAPI 5.1.0 has performance issues related to the location queries required for this server.
The easiest way to run this server is to use docker. First, clone this repository. Then, from the repository root run:
docker build -t plan-net .
This will build the docker image for the reference server. Once the image has been built, the server can be run with the following command:
docker run -p 8080:8080 plan-net
Alternatively the image can be built and run using
./build-docker-image.sh
docker-compose up
The server will then be browseable at http://localhost:8080, and the server's FHIR endpoint will be available at http://localhost:8080/fhir
This server implements $export
function for bulk data exchange. To generate these files see PDEX Plan Net Sample Data Repo. Move the export.json
file into src/resources
. Move the .ndjson
files into src/main/webapp/resources
. Everything in this folder will be accessible at the /resources
endpoint.
The server is read only by default. To update the data use the plan-net-write
branch. Instructions are provided in the readme of that branch.