Mercurial > hg > orthanc-java
comparison Samples/FHIR/NOTES.txt @ 11:8d876a4f541b
added sample FHIR server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 21 Oct 2023 09:53:25 +0200 |
parents | |
children | d7a55838d821 |
comparison
equal
deleted
inserted
replaced
10:6b9433432ee0 | 11:8d876a4f541b |
---|---|
1 | |
2 This sample Java plugin runs a FHIR server based on the HAPI library. | |
3 Note that contrarily to the other samples that can run using Java 1.8, | |
4 this Java plugin requires Java 11. | |
5 | |
6 (1) Make sure to build the C++ plugin: | |
7 | |
8 # cd ../../Plugin/ | |
9 # mkdir Build | |
10 # cd Build | |
11 # cmake .. -DCMAKE_BUILD_TYPE=Release | |
12 # make -j4 | |
13 | |
14 | |
15 (2) Compile the Java plugin using Maven: | |
16 | |
17 # cd ../../Samples/FHIR | |
18 # mvn package | |
19 | |
20 | |
21 (3) Start Orthanc: | |
22 | |
23 On Ubuntu 22.04: | |
24 | |
25 # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json | |
26 |