This subproject hosts a HAPI FHIR server that is based on the hapi-fhir-jpaserver-example.
- delete
target
folder from test-ehr - delete
build
folder from test-ehr - from Terminal (1) while in test-ehr folder:
gradle appRun
- from Terminal (2) while in test-ehr folder:
gradle loadData
gradle appRun
This will start the server running on http://localhost:8080/test-ehr.
The FHIR server will persist FHIR resources between restarts. You can delete the folder target
to clear all resources.
To load the data from the json files in fhirResourcesToLoad, run the following script:
gradle loadData
(this must be run while the FHIR server is running and use_oauth
is false in src/main/resources/fhirServer.properties
)
Relative URL | Endpoint Description |
---|---|
/ |
Web page with basic RI information |
/test-ehr/ |
Base server endpoint |
/test-ehr/r4 |
EHR FHIR Server endpoint |
/test-ehr/reqgen |
Request Generator |